java - Wildfly resource adapter for Websphere MQ connection definition -


i trying connect websphere mq wildfly 9, have added resource adapter in standalone-full.xml

i getting error:

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 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 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 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 class-name: javax.jms.connectionfactory 16:03:58,448 info [org.jboss.as.connector.deployment] (msc service thread 1-4) wflyjca0006: registered admin object @ java:jboss/contm/tocontm 16:03:58,451 info [org.jboss.as.connector.deployment] (msc service thread 1-4) wflyjca0006: registered admin object @ 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]

my resource adpater looks this:

<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">   newqueue2   </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">   newqueue1   </config-property>   </admin-object>   </admin-objects>   </resource-adapter> 

i have added config properties , removed them added differen properties might seem useful use-java-context="true" pool-name="jmsconnectionfactory" use-ccm="true" removed them or made them false, changed jndi name keeps on giving me same . have other connection definitions in standalone-full.xml bound correctly without issues.

can 1 see missing in case. if use xatransaction , class-name="com.ibm.mq.connector.outbound.managedconnectionfactoryimpl"

it fine.. not 1 above.

thanks in advance

the original configs given old , perhaps worked @ time. wf9 setup needs below

<connection-definition class-name="com.ibm.mq.connector.outbound.managedconnectionfactoryimpl" jndi-name="java:/ctm/connectionfactory" use-java-context="true" pool-name="connectionfactory"> 

tested , works fine how using javax.jms.connectionfactory


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -