ActiveMQ Connection.close() timeout

2014-05-21 Thread dorus
Hello everybody, I have an active mq installed in my application, embedded. I have a connection for sending messages to a queue and a connection for receiveing messages from that queue. When I shut down the application, I stop and close each connection then I stop the broker. Everything works fin

Re: ActiveMQ 5.9.0 connection.start() hangs in Tomcat 7.0.41

2014-02-27 Thread dorus
If I set the breakpoint after "start()" method everything is fine. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-5-9-0-connection-start-hangs-in-Tomcat-7-0-41-tp4678365p4678383.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ 5.9.0 connection.start() hangs in Tomcat 7.0.41

2014-02-26 Thread dorus
attached is the jstack from debugging the unit test that I have: out.txt The same block problem occurs when connection.start is invoked. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-5-9-0-connecti

Re: ActiveMQ 5.9.0 connection.start() hangs in Tomcat 7.0.41

2014-02-26 Thread dorus
Hi, Here is the jstack output, in the attached file. The code is not different from the snapshot from the first message. Thank you again for your efforts! jstack.txt.txt -- View this message in context: http://activemq.2283

ActiveMQ 5.9.0 connection.start() hangs in Tomcat 7.0.41

2014-02-26 Thread dorus
Hi guys, I intend to create an activemq connection programatically inside a webapp deployed in tomcat. My code: In line *sendConnection.start()* the thread hangs and I have no response. With the debugger I can see that in *ArrayBlockingQueue.take()* is the real problem. I have a unit test usin