Connect to Weblogic JMS remote queue from Wildfly 8.1 using Wildfly JMS Bridge
kan411027 Mar 16, 2015 11:29 PMHi,
I am trying to connect to Weblogic JMS remote queue using using Wildfly JMS Bridge. I have taken a reference from this link
http://blog.c2b2.co.uk/2014/01/connecting-jboss-wildfly-7-to-activemq.html
Below are my configurations
<module xmlns="urn:jboss:module:2.0" name="weblogic.client">
<resources>
<resource-root path="wljmsclient.jar">
<filter>
<exclude-set>
<path name="javax.ejb"/>
<path name="javax.ejb.spi"/>
<path name="javax.transaction"/>
<path name="javax.jms"/>
<path name="javax.xml"/>
<path name="javax.xml.stream"/>
</exclude-set>
</filter>
</resource-root>
<resource-root path="wlthint3client.jar"/>
</resources>
<dependencies>
<module name="javax.api"/>
<module name="sun.jdk" export="false" services="import">
<exports>
<include-set>
<path name="sun/security/acl"/>
<path name="META-INF/services"/>
</include-set>
</exports>
</module>
<module name="com.sun.xml.bind" />
<module name="org.omg.api"/>
<module name="javax.ejb.api" export="false" />
<module name="javax.transaction.api" export="false" />
<module name="javax.jms.api" export="false" />
<module name="javax.xml.stream.api" export="false" />
<module name="org.picketbox" optional="true"/>
<module name="javax.servlet.api" optional="true"/>
<module name="org.jboss.logging" optional="true"/>
<module name="org.jboss.as.web" optional="true"/>
<module name="org.jboss.as.ejb3" optional="true"/>
<module name="org.hornetq" />
</dependencies>
</module>
Bridge configurations
</hornetq-server>
<!--JMS Bridge configurations -->
<jms-bridge name="NTR-NECS-bridge" module="weblogic.client" >
<source>
<connection-factory name="ConnectionFactory"/>
<destination name="queue/JMSBridgeSourceQ"/>
</source>
<target>
<connection-factory name="jms/RemoteConnectionFactory"/>
<destination name="queue/JMSBridgeTargetQ"/>
<context>
<property key="java.naming.factory.initial" value="weblogic.jndi.WLInitialContextFactory"/>
<property key="java.naming.provider.url" value="t3://<weblogicserverip>.197:7001"/>
</context>
</target>
<quality-of-service>AT_MOST_ONCE</quality-of-service>
<failure-retry-interval>1000</failure-retry-interval>
<max-retries>-1</max-retries>
<max-batch-size>10</max-batch-size>
<max-batch-time>100</max-batch-time>
</jms-bridge>
And my resource adapter configurations are
see attached file.
I have also downloaded and created module for weblogic client .
When I start the wildfly I am getting below error.
2015-03-17 02:41:47,539 ERROR [:ServerService Thread Pool -- 44] org.jboss.as.controller.management-operation JBAS014613: Operation ("add") failed - address: ([
("subsystem" => "resource-adapters"),
("resource-adapter" => "WLResourceAdapter")
]) - failure description: "JBAS010473: Failed to load module for RA [weblogic.client]"
What can be wrong here ?
Message was edited by: Ajit Kanada Added the file
-
wildfly-bridge configs.txt.zip 620 bytes