[jboss-user] [JBoss Messaging Users] - Re: Exception running queue example
sacauskis
do-not-reply at jboss.com
Mon Nov 23 16:34:51 EST 2009
This problem apparently is caused by the use of the jar files from jboss-messaging 1.45. I went back to 1.42 and I no longer get the error and my program run farther. Though another exception occurs:
javax.jms.JMSException: The consumer has a MessageListener set, cannot call receive(..)
at org.jboss.jms.client.container.ClientConsumer.receive(ClientConsumer.java:490)
at org.jboss.jms.client.container.ConsumerAspect.handleReceive(ConsumerAspect.java:194)
at org.jboss.aop.advice.org.jboss.jms.client.container.ConsumerAspect52.invoke(ConsumerAspect52.java)
at org.jboss.jms.client.delegate.ClientConsumerDelegate$receive_N8299950230150603585.invokeNext(ClientConsumerDelegate$receive_N8299950230150603585.java)
at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
at org.jboss.jms.client.delegate.ClientConsumerDelegate$receive_N8299950230150603585.invokeNext(ClientConsumerDelegate$receive_N8299950230150603585.java)
at org.jboss.jms.client.delegate.ClientConsumerDelegate.receive(ClientConsumerDelegate.java)
at org.jboss.jms.client.JBossMessageConsumer.receive(JBossMessageConsumer.java:86)
at com.gdit.listener.JMSExample.testMessage(JMSExample.java:49)
at com.gdit.listener.JMSExample.main(JMSExample.java:20)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267162#4267162
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267162
More information about the jboss-user
mailing list