websphere MQ resource adapter giving invalid connection definition
armahdi Oct 15, 2015 2:33 AMHello All,
I am trying to connect my wildfly with websphere MQ 7.5
I created the resource adpater and added it to the standalone-full.xml
<resource-adapter id="wmq.jmsra.rar">
<archive>
wmq.jmsra.rar
</archive>
<connection-definitions>
<connection-definition class-name="javax.jms.ConnectionFactory" jndi-name="java:/contm/jmsConnectionFactory" pool-name="jmsConnectionFactory">
</connection-definition>
</connection-definitions>
<admin-objects>
<admin-object class-name="com.ibm.mq.connector.outbound.MQQueueProxy" jndi-name="java:jboss/contm/FromConTM" use-java-context="true" pool-name="FromConTM">
<config-property name="baseQueueManagerName">
devel.queue.manager
</config-property>
<config-property name="baseQueueName">
COMP02MQ.01TC
</config-property>
</admin-object>
<admin-object class-name="com.ibm.mq.connector.outbound.MQQueueProxy" jndi-name="java:jboss/contm/ToConTM" use-java-context="true" pool-name="ToConTM">
<config-property name="baseQueueManagerName">
devel.queue.manager
</config-property>
<config-property name="baseQueueName">
CCTM_COMP02MQ.LA01FC
</config-property>
</admin-object>
</admin-objects>
</resource-adapter>
I tried adding config properties, removing them changing the jndi-name which was obviously not the problem but it keeps on giving me this error:
76dab356a/content-5c7db729978cd59e/contents/
16:03:58,387 WARN [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-1) IJ020017: Invalid archive: file:/C:/JAVA/WF9/wildfly-9.0.0.Final/standalone/tmp/vfs/temp/temp755b6e876dab356a/
content-5c7db729978cd59e/contents/
16:03:58,389 INFO [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-4) IJ020001: Required license terms for file:/C:/JAVA/WF9/wildfly-9.0.0.Final/standalone/tmp/vfs/temp/temp755b
6e876dab356a/content-5c7db729978cd59e/contents/
16:03:58,395 WARN [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-4) IJ020009: Invalid connection definition with class-name: javax.jms.ConnectionFactory
16:03:58,399 WARN [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-4) IJ020009: Invalid connection definition with class-name: javax.jms.ConnectionFactory
16:03:58,400 WARN [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-4) IJ020009: Invalid connection definition with class-name: javax.jms.ConnectionFactory
16:03:58,448 INFO [org.jboss.as.connector.deployment] (MSC service thread 1-4) WFLYJCA0006: Registered admin object at java:jboss/contm/ToConTM
16:03:58,451 INFO [org.jboss.as.connector.deployment] (MSC service thread 1-4) WFLYJCA0006: Registered admin object at java:jboss/contm/FromConTM
16:03:58,452 WARN [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-4) IJ020017: Invalid archive: file:/C:/JAVA/WF9/wildfly-9.0.0.Final/standalone/tmp/vfs/temp/temp755b6e876dab35
6a/content-5c7db729978cd59e/contents/
16:03:58,454 INFO [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-4) IJ020002: Deployed: file:/C:/JAVA/WF9/wildfly-9.0.0.Final/standalone/tmp/vfs/temp/temp755b6e876dab356a/cont
ent-5c7db729978cd59e/contents/
16:03:58,455 INFO [org.jboss.as.connector.deployment] (MSC service thread 1-4) WFLYJCA0002: Bound JCA AdminObject [java:jboss/contm/ToConTM]
16:03:58,455 INFO [org.jboss.as.connector.deployment] (MSC service thread 1-5) WFLYJCA0002: Bound JCA AdminObject [java:jboss/contm/FromConTM]
it is a very simple resourceadapter and the admin objects are loading properly as we csan see.. can any one guide me what is wrong in the connectiondefinition.
Thanks
Syed