1 Reply Latest reply on Jul 16, 2008 9:02 AM by clebert.suconic

    WLS to jBoss Messaging Bridge Configuration

    mrgurgeh

      I'm in the process of setting up a WLS Messaging bridge between JBM and WLS JMS. Unfortunately, it seems that I cannot get this working, with WLS, at best, receiving the following exception

      -------------- Linked Exception 2 ------------
      javax.jms.InvalidDestinationException: Destination cannot be foreign
      at org.jboss.jms.message.JBossMessage.setJMSDestination(JBossMessage.java:454)
      at org.jboss.jms.message.MessageProxy.setJMSDestination(MessageProxy.java:198)
      at weblogic.jms.client.JMSProducer.sendInternal(JMSProducer.java:427)
      at weblogic.jms.client.JMSProducer.send(JMSProducer.java:186)
      at weblogic.jms.adapter.JMSBaseConnection.sendInternal(JMSBaseConnection.java:699)
      at weblogic.jms.adapter.JMSBaseConnection.access$200(JMSBaseConnection.java:80)
      at weblogic.jms.adapter.JMSBaseConnection$6.run(JMSBaseConnection.java:645)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
      at weblogic.jms.adapter.JMSBaseConnection.send(JMSBaseConnection.java:642)
      at weblogic.jms.adapter.JMSConnectionHandle.send(JMSConnectionHandle.java:140)
      at sun.reflect.GeneratedMethodAccessor206.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at weblogic.connector.common.internal.ConnectionWrapper.invoke(ConnectionWrapper.java:149)
      at $Proxy8.send(Unknown Source)
      at weblogic.jms.bridge.internal.MessagingBridge.processMessages(MessagingBridge.java:1409)
      at weblogic.jms.bridge.internal.MessagingBridge.beginForwarding(MessagingBridge.java:927)
      at weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:1005)
      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

      It seems to me that this is a jBoss excpetion, but I don't fully understand what it is doing - something about testing JMS Destination names?

      I was wondering if anyone has attempted this before and had some insight into this? The WLS version that I'm using is WLS 8.1 sp6 and the JBM version is 1.4.0.

      Thanks