Geronimo
  1. Geronimo
  2. GERONIMO-4218

NullPointerException in ConnectorModuleBuilder

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.1.3, 2.2
    • Component/s: deployment
    • Security Level: public (Regular issues)
    • Labels:
      None

      Description

      I tried to deploy IMS TM Resource Adapter V10.2.0 runtime (which is downloadable from http://www-306.ibm.com/software/data/ims/ims/components/tm-resource-adapter.html#downloads)
      in Geronimo 2.1.1.

      There is NullPointerException at ConnectorModuleBuilder.java:522 (stacktrace see below)

      The Connector module runs fine with Glassfish 2.1 and JBoss 5.

      The geronimo-ra.xml was included in ims1020.rar\META-INF

      If there is a problem in geronimo-ra.xml, there should at least be a decent error message instead of NPE.

      geronimo-ra.xml:

      <connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2">
      <resourceadapter>
      <outbound-resourceadapter>
      <connection-definition>
      <connectionfactory-interface>com.ibm.connector2.ims.ico.IMSManagedConnectionFactory</connectionfactory-interface>
      </connection-definition>
      </outbound-resourceadapter>
      </resourceadapter>
      </connector>

      Caused by: java.lang.NullPointerException
      at org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.addConnectorGBeans(ConnectorModuleBuilder.java:522)
      at org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.initContext(ConnectorModuleBuilder.java:499)
      at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:595)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)

        Activity

          People

          • Assignee:
            Jarek Gawor
            Reporter:
            Jürgen Weber
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development