You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "GODOT Philippe (JIRA)" <ji...@apache.org> on 2006/05/30 14:25:51 UTC

[jira] Reopened: (SM-438) DefaultServiceMixClient.stop() doesn't stop JBI Container

     [ https://issues.apache.org/activemq/browse/SM-438?page=all ]
     
GODOT Philippe reopened SM-438:
-------------------------------


Sorry for my bad explanation of the problem. But try to instantiate a RemoteServiceMixClient, do a start and after a stop, and shutdown, and let me know if this sample stop correctly. From my part, Active MQ thread are not stopped and I must kill my application.

It's the same if you do a JBIConatainer.stop and shutdown when I use the DefaultServiceMixClient object (due to the problem of Default JBI container name).

Thanks to reopen this issue from your result of this basic test.
Phil

> 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