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
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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

    Dbus JMS - Message Listener - javax.jms.JMSSecurityException: Not permitted - Spring Forum

    spring.io | 9 months ago
    javax.jms.InvalidDestinationException: Not allowed to create destination at com.tibco.tibjms.Tibjmsx.buildException(Tibjmsx.ja va:360) at com.tibco.tibjms.TibjmsSession._createConsumer(Tib jmsSession.java:406) at com.tibco.tibjms.TibjmsSession.createConsumer(Tibj msSession.java:3032) at org.springframework.jms.listener.AbstractPollingMe ssageListenerContainer.createConsumer(AbstractPoll ingMessageListenerContainer.java:501) at org.springframework.jms.listener.AbstractPollingMe ssageListenerContainer.createListenerConsumer(Abst ractPollingMessageListenerContainer.java:223) at org.springframework.jms.listener.DefaultMessageLis tenerContainer$AsyncMessageListenerInvoker.initRes ourcesIfNecessary(DefaultMessageListenerContainer. java:1081) at org.springframework.jms.listener.DefaultMessageLis tenerContainer$AsyncMessageListenerInvoker.invokeL istener(DefaultMessageListenerContainer.java:1057) at org.springframework.jms.listener.DefaultMessageLis tenerContainer$AsyncMessageListenerInvoker.execute OngoingLoop(DefaultMessageListenerContainer.java:1 050) at org.springframework.jms.listener.DefaultMessageLis tenerContainer$AsyncMessageListenerInvoker.run(Def aultMessageListenerContainer.java:947)

    1 unregistered visitors

    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