[
https://issues.apache.org/jira/browse/GERONIMO-4218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616926#action_12616926
]
Jarek Gawor commented on GERONIMO-4218:
---------------------------------------
Try with the following geronimo-ra.xml:
{noformat}
<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2"
xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2">
<resourceadapter>
<resourceadapter-instance>
<resourceadapter-name>IMS</resourceadapter-name>
<nam:workmanager>
<nam:gbean-link>DefaultWorkManager</nam:gbean-link>
</nam:workmanager>
</resourceadapter-instance>
<outbound-resourceadapter>
<connection-definition>
<connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface>
</connection-definition>
</outbound-resourceadapter>
</resourceadapter>
</connector>
{noformat}
> NullPointerException in ConnectorModuleBuilder
> ----------------------------------------------
>
> Key: GERONIMO-4218
> URL: https://issues.apache.org/jira/browse/GERONIMO-4218
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 2.1.1
> Reporter: Jürgen Weber
> Priority: Blocker
>
> 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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.