0 Replies Latest reply on Mar 9, 2012 2:49 AM by chithu21

    I am getting the exception "java.lang.UnsupportedOperationException: Destination not specified" in the MDB

    chithu21

      I am getting the exception "java.lang.UnsupportedOperationException: Destination not specified" in the MDB. The MDB is set to send a reply as and when a message arrives. I am sending 5 messages from he client program.

      And in the server log I am able to see 5 messages with proper destination. But the client program is receiving only 2 messages as reply & the above exception is shown in the server log.

       

      Can anyone help please?

       

      TextMDB.sendReply, this=1547439314, dest=JBossQueue[QueueB]

      13:18:01,176 INFO  [STDOUT] TextMDB.sendReply, this=311219737, dest=JBossQueue[QueueB]

      13:18:01,176 INFO  [STDOUT] TextMDB.onMessage, this=1785585228

      13:18:01,176 INFO  [STDOUT] TextMDB.onMessage, this=807596970

      13:18:01,177 INFO  [STDOUT] TextMDB.sendReply, this=1785585228, dest=JBossQueue[QueueB]

      13:18:01,177 INFO  [STDOUT] TextMDB.onMessage, this=1185625750

      13:18:01,177 INFO  [STDOUT] TextMDB.sendReply, this=807596970, dest=JBossQueue[QueueB]

      13:18:01,177 INFO  [STDOUT] TextMDB.sendReply, this=1185625750, dest=JBossQueue[QueueB]

      13:18:01,273 INFO  [STDOUT] TextMDB.onMessage, this=1785585228

      13:18:01,273 INFO  [STDOUT] TextMDB.sendReply, this=1785585228, dest=null

      13:18:01,274 ERROR [STDERR] java.lang.UnsupportedOperationException: Destination not specified

      13:18:01,274 ERROR [STDERR]     at org.jboss.jms.client.container.ProducerAspect.handleSend(ProducerAspect.java:157)

      13:18:01,274 ERROR [STDERR]     at org.jboss.aop.advice.org.jboss.jms.client.container.ProducerAspect_z_handleSend_222993194.invoke(ProducerAspect_z_handleSend_222993194.java)

      13:18:01,274 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      13:18:01,274 ERROR [STDERR]     at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)

      13:18:01,275 ERROR [STDERR]     at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)

      13:18:01,275 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      13:18:01,275 ERROR [STDERR]     at org.jboss.jms.client.delegate.ClientProducerDelegate.send(ClientProducerDelegate.java)

      13:18:01,275 ERROR [STDERR]     at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:164)

      13:18:01,275 ERROR [STDERR]     at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:207)

      13:18:01,275 ERROR [STDERR]     at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:145)

      13:18:01,275 ERROR [STDERR]     at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:136)

      13:18:01,275 ERROR [STDERR]     at com.mdb.sample.XibToCatMdb.sendReply(XibToCatMdb.java:98)

      13:18:01,275 ERROR [STDERR]     at com.mdb.sample.XibToCatMdb.onMessage(XibToCatMdb.java:77)

      13:18:01,275 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      13:18:01,276 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

      13:18:01,276 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      13:18:01,276 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:601)

      13:18:01,276 ERROR [STDERR]     at org.jboss.invocation.Invocation.performCall(Invocation.java:386)

      13:18:01,276 ERROR [STDERR]     at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:513)

      13:18:01,276 ERROR [STDERR]     at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156)

      13:18:01,276 ERROR [STDERR]     at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:115)

      13:18:01,277 ERROR [STDERR]     at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)

      13:18:01,277 ERROR [STDERR]     at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)

      13:18:01,277 ERROR [STDERR]     at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)

      13:18:01,277 ERROR [STDERR]     at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)

      13:18:01,277 ERROR [STDERR]     at org.jboss.ejb.plugins.RunAsSecurityInterceptor.process(RunAsSecurityInterceptor.java:133)

      13:18:01,277 ERROR [STDERR]     at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:103)

      13:18:01,277 ERROR [STDERR]     at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)

      13:18:01,277 ERROR [STDERR]     at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)

      13:18:01,277 ERROR [STDERR]     at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:415)

      13:18:01,278 ERROR [STDERR]     at org.jboss.ejb.Container.invoke(Container.java:1029)

      13:18:01,278 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      13:18:01,278 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

      13:18:01,278 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      13:18:01,285 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:601)

      13:18:01,285 ERROR [STDERR]     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

      13:18:01,285 ERROR [STDERR]     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

      13:18:01,285 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

      13:18:01,285 ERROR [STDERR]     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

      13:18:01,285 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

      13:18:01,285 ERROR [STDERR]     at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)

      13:18:01,286 ERROR [STDERR]     at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)

      13:18:01,286 ERROR [STDERR]     at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)

      13:18:01,286 ERROR [STDERR]     at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)

      13:18:01,286 ERROR [STDERR]     at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)

      13:18:01,286 ERROR [STDERR]     at org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor.delivery(MessageEndpointInterceptor.java:249)

      13:18:01,286 ERROR [STDERR]     at org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor.invoke(MessageEndpointInterceptor.java:128)

      13:18:01,286 ERROR [STDERR]     at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74)

      13:18:01,287 ERROR [STDERR]     at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)

      13:18:01,287 ERROR [STDERR]     at $Proxy249.onMessage(Unknown Source)

      13:18:01,287 ERROR [STDERR]     at org.jboss.resource.adapter.jms.inflow.JmsServerSession.onMessage(JmsServerSession.java:178)

      13:18:01,287 ERROR [STDERR]     at org.jboss.jms.client.container.ClientConsumer.callOnMessageStatic(ClientConsumer.java:160)

      13:18:01,287 ERROR [STDERR]     at org.jboss.jms.client.container.SessionAspect.handleRun(SessionAspect.java:831)

      13:18:01,287 ERROR [STDERR]     at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect_z_handleRun_222993194.invoke(SessionAspect_z_handleRun_222993194.java)

      13:18:01,287 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      13:18:01,287 ERROR [STDERR]     at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)

      13:18:01,287 ERROR [STDERR]     at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)

      13:18:01,288 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      13:18:01,288 ERROR [STDERR]     at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java)

      13:18:01,292 ERROR [STDERR]     at org.jboss.jms.client.JBossSession.run(JBossSession.java:199)

      13:18:01,292 ERROR [STDERR]     at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:234)

      13:18:01,292 ERROR [STDERR]     at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:205)

      13:18:01,292 ERROR [STDERR]     at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)

      13:18:01,293 ERROR [STDERR]     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

      13:18:01,293 ERROR [STDERR]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

      13:18:01,293 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:722)

      13:18:01,296 INFO  [STDOUT] TextMDB.onMessage, this=1785585228

      13:18:01,297 INFO  [STDOUT] TextMDB.sendReply, this=1785585228, dest=null