Hello again, I am using: JBoss_4_0_4_GA JBoss Messaging 1.0.1.CR2 Windows XP Professional
Everything is on one JBoss server. I have an EJB that is virtually identical to the messaging stateless EJB in the examples that come with JBoss Messaging. The EJB has a sendRequest method that puts a TextMessage in a queue named requestQueue and a getResponse method that retrieves TextMessages from a queue named responseQueue. A MDB is listening on the requestQueue queue. It processes the request and puts the results into a TextMessage and sends it to the responseQueue queue. The EJB then retrieves the TextMessage from the responseQueue. The system works great as long as I keep using it. However, if the the system is idle for about 15 minutes or more, I get the following error when the EJB tries to retrieve the response from the responseQueue queue: 12:34:27,577 ERROR [ServerConnectionEndpoint] Exception occured javax.jms.IllegalStateException: Cannot find consumer -2147483628 This is inspite of the fact that I get a new ConnectionFactory, InitialContext, Queue, Connection, Session, and MessageConsumer everytime the EJB getResponse method is called. The rest of the process works as normal. Any help or direction would be greatly appreciated. Thanks, Dennis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952444#3952444 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952444 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user