weblogic.jms.common.InvalidDestinationException: Foreign destination, ConSolEmailJMSQueue

Spring JIRA | William Ferguson | 10 years ago
  1. 0

    We have JMS Queues defined in our Weblogic Server. If I configure a Spring Bean to point to a Queue using the JndiFactoryObjectBean everything works OK until I specify a proxyInterface at which point the Weblogic ConnectionFactory can no longer return a QueueReceiver because the Queue created by the JndiFactoryObjectBean is a dynamic proxy and is not an instanecof the weblogic.common.jms.DestinationImpl class. 2007-06-05 14:55:39,748 ERROR org.springframework.jms.listener.DefaultMessageListenerContainer102 - Setup of JMS message listener invoker failed - trying to recover weblogic.jms.common.InvalidDestinationException: Foreign destination, ConSolEmailJMSQueue at weblogic.jms.common.Destination.checkDestinationType(Destination.java:106) at weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:1626) at weblogic.jms.client.JMSSession.createReceiver(JMSSession.java:1530) at org.springframework.jms.listener.DefaultMessageListenerContainer102.createConsumer(DefaultMessageListenerContainer102.java:101) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.createListenerConsumer(AbstractPollingMessageListenerContainer.java:216) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:297) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:234) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:871) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:811) at java.lang.Thread.run(Thread.java:534) Here is my queue config: <bean id="mailQueue" class="org.springframework.jndi.JndiObjectFactoryBean"> <property name="jndiName" value="@appName@EmailQueue"/> <property name="proxyInterface" value="javax.jms.Queue"/> <property name="lookupOnStartup" value="false"/> <property name="cache" value="false"/> </bean> I need to specify the proxyInterface to switch of caching (transactions) and switch off lookupOnStartup (clusters).

    Spring JIRA | 10 years ago | William Ferguson
    weblogic.jms.common.InvalidDestinationException: Foreign destination, ConSolEmailJMSQueue
  2. 0

    We have JMS Queues defined in our Weblogic Server. If I configure a Spring Bean to point to a Queue using the JndiFactoryObjectBean everything works OK until I specify a proxyInterface at which point the Weblogic ConnectionFactory can no longer return a QueueReceiver because the Queue created by the JndiFactoryObjectBean is a dynamic proxy and is not an instanecof the weblogic.common.jms.DestinationImpl class. 2007-06-05 14:55:39,748 ERROR org.springframework.jms.listener.DefaultMessageListenerContainer102 - Setup of JMS message listener invoker failed - trying to recover weblogic.jms.common.InvalidDestinationException: Foreign destination, ConSolEmailJMSQueue at weblogic.jms.common.Destination.checkDestinationType(Destination.java:106) at weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:1626) at weblogic.jms.client.JMSSession.createReceiver(JMSSession.java:1530) at org.springframework.jms.listener.DefaultMessageListenerContainer102.createConsumer(DefaultMessageListenerContainer102.java:101) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.createListenerConsumer(AbstractPollingMessageListenerContainer.java:216) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:297) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:234) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:871) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:811) at java.lang.Thread.run(Thread.java:534) Here is my queue config: <bean id="mailQueue" class="org.springframework.jndi.JndiObjectFactoryBean"> <property name="jndiName" value="@appName@EmailQueue"/> <property name="proxyInterface" value="javax.jms.Queue"/> <property name="lookupOnStartup" value="false"/> <property name="cache" value="false"/> </bean> I need to specify the proxyInterface to switch of caching (transactions) and switch off lookupOnStartup (clusters).

    Spring JIRA | 10 years ago | William Ferguson
    weblogic.jms.common.InvalidDestinationException: Foreign destination, ConSolEmailJMSQueue
  3. 0

    MDB triggered from a foreign JMS queue

    Google Groups | 1 decade ago | r g
    weblogic.jms.common.InvalidDestinationException: Foreign destination, queue://UKHEXD01/OFX.EVENT.SUBSCRIBER.QUEUE
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    MDB triggered from a foreign JMS queue

    Oracle Community | 1 decade ago | 3004
    weblogic.jms.common.InvalidDestinationException: Foreign destination, queue://UKHEXD01/OFX.EVENT.SUBSCRIBER.QUEUE
  6. 0

    Problem with WebLogic-&gt;Oracle AQ Foreign JMS server.

    Oracle Community | 3 years ago | 25f7b754-ce4d-42eb-95ac-b0c7241755a4
    weblogic.jms.common.InvalidDestinationException: [JMSClientExceptions:055142]Foreign destination, SMF.USERQUEUE

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. weblogic.jms.common.InvalidDestinationException

      Foreign destination, ConSolEmailJMSQueue

      at weblogic.jms.common.Destination.checkDestinationType()
    2. weblogic.jms.common
      Destination.checkDestinationType
      1. weblogic.jms.common.Destination.checkDestinationType(Destination.java:106)
      1 frame
    3. weblogic.jms.client
      JMSSession.createReceiver
      1. weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:1626)
      2. weblogic.jms.client.JMSSession.createReceiver(JMSSession.java:1530)
      2 frames
    4. Spring Framework
      DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run
      1. org.springframework.jms.listener.DefaultMessageListenerContainer102.createConsumer(DefaultMessageListenerContainer102.java:101)
      2. org.springframework.jms.listener.AbstractPollingMessageListenerContainer.createListenerConsumer(AbstractPollingMessageListenerContainer.java:216)
      3. org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:297)
      4. org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:234)
      5. org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:871)
      6. org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:811)
      6 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:534)
      1 frame