Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.1.1
-
Security Level: public (Regular issues)
-
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)