geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@geronimo.apache.org
Subject [jira] Created: (GERONIMO-262) NullPointerException deploying resource adapter
Date Wed, 07 Jul 2004 23:15:26 GMT
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/GERONIMO-262

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: GERONIMO-262
    Summary: NullPointerException deploying resource adapter
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Apache Geronimo
   Versions:
             1.0-M2

   Assignee: 
   Reporter: toby cabot

    Created: Wed, 7 Jul 2004 4:14 PM
    Updated: Wed, 7 Jul 2004 4:14 PM
Environment: java 1.4.2
fedora core 2
geronimo cvs as of 2004-07-07

Description:
trying to deploy a trivial "hello world" resource adapter results in NPE in ConnectorModuleBuilder.java.
 Looks like it assumes that some optional elements in ra.xml will always be present.

Will attach a patch to check that these fields aren't null, with this patch it (at least)
deploys.  Here's my ra.xml:

<?xml version="1.0" ?>
 
<connector xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
    version="1.5">
 
    <description>Fake Resource Adapter</description>
    <display-name>Fake Resource Adapter</display-name>
 
    <vendor-name>Fake Vendor</vendor-name>
    <eis-type>example</eis-type>
    <resourceadapter-version>0.0</resourceadapter-version>
    <resourceadapter>
        <resourceadapter-class>example.x.ResAdImpl</resourceadapter-class>
    </resourceadapter>
</connector>



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message