org.springframework.jms.InvalidDestinationException: Invalid temporary destination; nested exception is javax.jms.InvalidDestinationException: Invalid temporary destination

Apache's JIRA Issue Tracker | Christian Schneider | 8 years ago
  1. 0

    When using the JMS Transport with Tibco EMS and using a temporary reply destination the following exception is thrown on the CXF client. The problem was reported by Ed Scriven. See also: http://www.nabble.com/JAX-WS-CXF-with-Tibco-JMS-to21584686.html org.springframework.jms.InvalidDestinationException: Invalid temporary destination; nested exception is javax.jms.InvalidDestinationException: Invalid temporary destination at org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:261) at org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:168) at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:474) at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:539) at org.apache.cxf.transport.jms.JMSDestination.sendExchange(JMSDestination.java:227) at org.apache.cxf.transport.jms.JMSOutputStream.doClose(JMSOutputStream.java:56) at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:167) at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66) at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220) at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:96) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:260) at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78) at org.apache.cxf.transport.jms.JMSDestination.onMessage(JMSDestination.java:176) at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:531) at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:466) at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:435) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:322) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:260) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:944) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:868) at java.lang.Thread.run(Thread.java:619) Caused by: javax.jms.InvalidDestinationException: Invalid temporary destination at com.tibco.tibjms.Tibjmsx.buildException(Tibjmsx.java:508) at com.tibco.tibjms.TibjmsxSessionImp._createProducer(TibjmsxSessionImp.java:908) at com.tibco.tibjms.TibjmsxSessionImp.createProducer(TibjmsxSessionImp.java:4280) at org.springframework.jms.core.JmsTemplate.doCreateProducer(JmsTemplate.java:969) at org.springframework.jms.core.JmsTemplate.createProducer(JmsTemplate.java:950) at org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:568) at org.springframework.jms.core.JmsTemplate$3.doInJms(JmsTemplate.java:541) at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:471) ... 19 more

    Apache's JIRA Issue Tracker | 8 years ago | Christian Schneider
    org.springframework.jms.InvalidDestinationException: Invalid temporary destination; nested exception is javax.jms.InvalidDestinationException: Invalid temporary destination
  2. 0

    Unable to use Server UTIL to browse JMS destinations

    Oracle Community | 9 years ago | 237437
    javax.jms.InvalidDestinationException: expected GJRA destination, got invalid or foreign destination
  3. 0

    Urgent : javax.jms.InvalidDestinationException

    Oracle Community | 8 years ago | 843830
    javax.jms.InvalidDestinationException: expected GJRA destination, got invalid or foreign destination
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to use Server UTIL to browse JMS destinations

    Oracle Community | 9 years ago | 237437
    javax.jms.InvalidDestinationException: expected GJRA destination, got invalid or foreign destination
  6. 0

    JMS Connector: NullPointerException after Lookup

    Oracle Community | 1 decade ago | 528804
    javax.jms.InvalidDestinationException: expected GJRA destination, got invalid or foreign destination

    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. javax.jms.InvalidDestinationException

      Invalid temporary destination

      at com.tibco.tibjms.Tibjmsx.buildException()
    2. com.tibco.tibjms
      TibjmsxSessionImp.createProducer
      1. com.tibco.tibjms.Tibjmsx.buildException(Tibjmsx.java:508)
      2. com.tibco.tibjms.TibjmsxSessionImp._createProducer(TibjmsxSessionImp.java:908)
      3. com.tibco.tibjms.TibjmsxSessionImp.createProducer(TibjmsxSessionImp.java:4280)
      3 frames
    3. Spring Framework
      JmsTemplate.send
      1. org.springframework.jms.core.JmsTemplate.doCreateProducer(JmsTemplate.java:969)
      2. org.springframework.jms.core.JmsTemplate.createProducer(JmsTemplate.java:950)
      3. org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:568)
      4. org.springframework.jms.core.JmsTemplate$3.doInJms(JmsTemplate.java:541)
      5. org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:471)
      6. org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:539)
      6 frames
    4. Apache CXF Runtime JMS Transport
      JMSOutputStream.doClose
      1. org.apache.cxf.transport.jms.JMSDestination.sendExchange(JMSDestination.java:227)
      2. org.apache.cxf.transport.jms.JMSOutputStream.doClose(JMSOutputStream.java:56)
      2 frames
    5. Apache CXF Core
      ChainInitiationObserver.onMessage
      1. org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:167)
      2. org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
      3. org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
      4. org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
      5. org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:96)
      6. org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:260)
      7. org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
      7 frames
    6. Apache CXF Runtime JMS Transport
      JMSDestination.onMessage
      1. org.apache.cxf.transport.jms.JMSDestination.onMessage(JMSDestination.java:176)
      1 frame
    7. Spring Framework
      DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run
      1. org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:531)
      2. org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:466)
      3. org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:435)
      4. org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:322)
      5. org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:260)
      6. org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:944)
      7. org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:868)
      7 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame