[jboss-user] [Messaging, JMS & JBossMQ] - Re: JMS exception: javax.jms.IllegalStateException: Method n

genman do-not-reply at jboss.com
Fri Jul 13 02:59:40 EDT 2007


First, the connection factory you use does not support setting the listener. Use the non-pooled one. (Learn which ones are which...)

Also, create a JBoss service, and launch the listener from it instead of within a Servlet.

http://wiki.jboss.org/wiki/Wiki.jsp?page=ExampleHelloWorldService


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063806#4063806

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063806



More information about the jboss-user mailing list