[ https://issues.apache.org/activemq/browse/SM-438?page=all ] Guillaume Nodet resolved SM-438: --------------------------------
Fix Version: 3.0-M2 Resolution: Won't Fix Assign To: Guillaume Nodet The DefaultServiceMixClient is meant to be used with an existing JBI container, so it should not stop the container. This is the purpose of the RemoteServiceMixClient which starts an embedded clustered JBI container and stops it when the client is closed. > DefaultServiceMixClient.stop() doesn't stop JBI Container > --------------------------------------------------------- > > Key: SM-438 > URL: https://issues.apache.org/activemq/browse/SM-438 > Project: ServiceMix > Type: Bug > Components: servicemix-core > Environment: jdk 1.5 winXP eclipse 3.1 > Reporter: GODOT Philippe > Assignee: Guillaume Nodet > Fix For: 3.0-M2 > > > Method DefaultServiceMixClient.stop() doesn't stop JBI container. some > ActiveMQ thread are blocked status. If you stop the JBI Agent, in the log you > have: > 09:57:45,201 DEBUG [AbstractConnection] Transport failed: > java.net.SocketException: Connection reset [0.0.1:3633] > (org.apache.activemq.broker.AbstractConnection.Transport:166) > java.net.SocketException: Connection reset > at java.net.SocketInputStream.read(SocketInputStream.java:168) > at > org.apache.activemq.transport.tcp.TcpBufferedInputStream.fill(TcpBufferedInputStream.java:48) > at > org.apache.activemq.transport.tcp.TcpBufferedInputStream.read(TcpBufferedInputStream.java:55) > at java.io.DataInputStream.readInt(DataInputStream.java:353) > at > org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:270) > at > org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:138) > at java.lang.Thread.run(Thread.java:595) > 09:57:45,201 INFO [DemandForwardingBridgeSupport] Network connection between > vm://peer-chdsk-pgodot-3631-1148457416186-1-0#2 and > tcp://localhost/127.0.0.1:3620 shutdown: Connection reset [0.0.1:3620] > (org.apache.activemq.network.DemandForwardingBridge:264) > java.net.SocketException: Connection reset > at java.net.SocketInputStream.read(SocketInputStream.java:168) > at > org.apache.activemq.transport.tcp.TcpBufferedInputStream.fill(TcpBufferedInputStream.java:48) > at > org.apache.activemq.transport.tcp.TcpBufferedInputStream.read(TcpBufferedInputStream.java:55) > at java.io.DataInputStream.readInt(DataInputStream.java:353) > at > org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:270) > at > org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:138) > at java.lang.Thread.run(Thread.java:595) > This exception wakeup the threads and everything stop. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira