2 Replies Latest reply: May 23, 2012 3:28 AM by René van Wijk RSS

    Weblogic Message Bridge between 2 environments

    906508
      Hello All,

      i was trying to setup the message bridge in my environment.
      i have 2 enviromnments 1. lab-mt
      2. lab-mt2

      i have configured JMS server, JMS Module, Queue, ConnectionFactory in lab-mt and i done the same in lab-mt2.

      for messageBridge i have configured source and target as described below:

      Source –
      1.     Name:                JMSBridgeDestination-SourceDestination_Domain-1
      2.     Adapter JNDI:           eis.jms.WLSConnectionFactoryJNDIXA
      3.     Connection URL:      t3://lab-apex4.corp.hipl.co.in:8001
      4.     Initial Context Factory:      weblogic.jndi.WLInitialContextFactory
      5.     Connection Factory JNDI Name: ConnectionFactory-Domain-1
      6.     Destination JNDI Name: Queue-Doamain-1
      7.     destinationType: Queue
      8.     UserName: weblogic
      9.     Password: ****************

      Target –
      1.     Name:                JMSBridgeDestination-TargetDestination-Domain-2
      2.     Adapter JNDI:           eis.jms.WLSConnectionFactoryJNDIXA
      3.     Connection URL:      t3://192.168.0.52:8001
      4.     Initial Context Factory:      ConnectionFactory-Domain-2
      5.     Connection Factory JNDI Name: ConnectionFactory-Domain-1
      6.     Destination JNDI Name: Queue-Domain-1
      7.     destinationType:     Queue
      8.     UserName: weblogic
      9.     Password: ****************

      and i have configured the bridge with source and target.

      but when check the monitoring by enqueue into the Source queue
      bridge monitor status is responding "Stopped by the administrator." and state is "inactive"

      data was not sent to target queue

      can any one help me in this issue.

      thanks --

      anil
        • 1. Re: Weblogic Message Bridge between 2 environments
          EramusBlack
          Try setting it up like this (assuming this is WLS -> WLS)

          Source –
          1. Name: JMSBridgeDestination-SourceDestination_Domain-1
          2. Adapter JNDI: eis.jms.WLSConnectionFactoryJNDIXA
          3. Connection URL: t3://lab-apex4.corp.hipl.co.in:8001
          4. Initial Context Factory: weblogic.jndi.WLInitialContextFactory
          5. Connection Factory JNDI Name: ConnectionFactory-Domain-1
          6. Destination JNDI Name: Queue-Doamain-1
          7. destinationType: Queue
          8. UserName: weblogic
          9. Password: ****************

          Target –
          1. Name: JMSBridgeDestination-TargetDestination-Domain-2
          2. Adapter JNDI: eis.jms.WLSConnectionFactoryJNDIXA
          3. Connection URL: t3://192.168.0.52:8001
          4. Initial Context Factory: weblogic.jndi.WLInitialContextFactory
          5. Connection Factory JNDI Name: ConnectionFactory-Domain-2
          6. Destination JNDI Name: Queue-Domain-2
          7. destinationType: Queue
          8. UserName: weblogic
          9. Password: ****************

          Make sure both CF's are XA enabled.

          for ease, I would recommend that you always put the MB config on the same side as the source.

          tbh, if you are using WLS 9.2 or later, SAF is the preferred method.
          • 2. Re: Weblogic Message Bridge between 2 environments
            René van Wijk
            http://middlewaremagic.com/weblogic/?p=7969