weblogic.jms.common.InvalidDestinationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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).
    via by William Ferguson,
  • 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).
    via by William Ferguson,
  • Problem with WebLogic-&gt;Oracle AQ Foreign JMS server.
    via by 25f7b754-ce4d-42eb-95ac-b0c7241755a4,
  • MDB - JMS foreign provider
    via by 3004,
  • db:: 3.84::InvalidDestinationException ja
    via by Unknown author,
    • 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)

    Users with the same issue

    Unknown visitor1 times, last one,