Re: Regarding activemq sockets not getting closed

2015-06-10 Thread tariq zafar
Hi Can you please tell me how do I debug activemq code to test my plugin? Regards Tariq -- View this message in context: http://activemq.2283324.n4.nabble.com/Regarding-activemq-sockets-not-getting-closed-tp4697390p4697608.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Regarding activemq sockets not getting closed

2015-06-10 Thread Timothy Bish
Think the original message indicates that WebSockets are being used, if so I'd recommend trying the latest SNAPSHOT of 5.12 as I fixed a number of issues around lingering connections from WebSocket clients On 06/10/2015 08:39 AM, Tim Bain wrote: > You can debug the broker just like you'd debug any

Re: Regarding activemq sockets not getting closed

2015-06-10 Thread Tim Bain
You can debug the broker just like you'd debug any remote Java application: http://www.codeproject.com/Articles/795423/Remote-Debug-Java-Applications-From-Eclipse Make sure you download the source code for the exact version of ActiveMQ that you're using so you can attach source and step through pr

Re: Regarding activemq sockets not getting closed

2015-06-09 Thread Tim Bain
Can you put a breakpoint on the call to socket.close() in TcpTransport.doStop() ( http://grepcode.com/file/repo1.maven.org/maven2/org.apache.activemq/activemq-client/5.11.1/org/apache/activemq/transport/tcp/TcpTransport.java#TcpTransport.doStop%28org.apache.activemq.util.ServiceStopper%29) and see