3 Replies Latest reply: Sep 17, 2012 8:56 AM by 961339 RSS

    Unable to create a JMS Message bridge between Weblogic 12c and Weblogic 8.1

    961339
      Hi,

      I am unable to successfully create a Message Bridge between Weblogic 12.1.1.0 and Weblogic 8.1. The error message being received is:

      eis/jms/WLSConnectionFactoryJNDINoTX > ResourceAllocationException generated by resource adapter on call to ManagedConnectionFactory.createManagedConnection(): "javax.resource.ResourceException: ConnectionFactory: failed to get initial context (InitialContextFactory =weblogic.jndi.WLInitialContextFactory, url = t3://localhost:8001, user name = System) ">

      The error on the monitoring tab is WARN: failed to connect to target.

      Both domains are deployed on one box for testing purposes. The bridge itself is deployed on Weblogic 12c. The areas of config that may be of interest are:

      <server>
      <name>AdminServer</name>
      <listen-address></listen-address>
      </server>
      <messaging-bridge>
      <name>Bridge</name>
      <target>AdminServer</target>
      <source-destination>JMSBridgeSource12c</source-destination>
      <target-destination>JMSBridgeTarget81</target-destination>
      <selector>Test</selector>
      <quality-of-service>Exactly-once</quality-of-service>
      <qos-degradation-allowed>false</qos-degradation-allowed>
      <durability-enabled>true</durability-enabled>
      <idle-time-maximum>60</idle-time-maximum>
      <async-enabled>true</async-enabled>
      <started>true</started>
      <preserve-msg-property>false</preserve-msg-property>
      </messaging-bridge>

      <app-deployment>
      <name>jms-xa-adp</name>
      <target>AdminServer</target>
      <module-type>rar</module-type>
      <source-path>D:\ORACLE~3\WLSERV~1.1\server\lib\jms-xa-adp.rar</source-path>
      <security-dd-model>DDOnly</security-dd-model>
      </app-deployment>

      <jms-bridge-destination>
      <name>JMSBridgeSource12c</name>
      <adapter-jndi-name>eis.jms.WLSConnectionFactoryJNDIXA</adapter-jndi-name>
      <user-name>System</user-name>
      <user-password-encrypted>{AES}nfFzhs+0J/O2Cenf0g4zDsDyvIKENMF7cZ5sAVUehX0=</user-password-encrypted>
      <classpath></classpath>
      <connection-factory-jndi-name>JMSConnectionFactory12c</connection-factory-jndi-name>
      <connection-url>t3://localhost:7001</connection-url>
      <destination-jndi-name>JMSQueue12c</destination-jndi-name>
      </jms-bridge-destination>
      <jms-bridge-destination>
      <name>JMSBridgeTarget81</name>
      <adapter-jndi-name>eis.jms.WLSConnectionFactoryJNDIXA</adapter-jndi-name>
      <user-name>System</user-name>
      <user-password-encrypted>{AES}eBkO46cHvtrzEraOMIOdXow6WvEAtA4NCUDTQ4mC+9w=</user-password-encrypted>
      <classpath></classpath>
      <connection-factory-jndi-name>JMSConnectionFactory81</connection-factory-jndi-name>
      <connection-url>t3://localhost:8001</connection-url>
      <destination-jndi-name>JMSQueue81</destination-jndi-name>
      </jms-bridge-destination>

      I have enforced global trust between the two domains. I have disabled the guest user on the 8.1 domain but can’t see where to do this on 12c.

      Any suggestions would be much appreciated.

      Regards

      John

      Edited by: 958336 on 13-Sep-2012 03:11