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/24 09:53:51 UTC

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

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


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


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

Posted by "GODOT Philippe (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-438?page=all ]

Guillaume Nodet updated SM-438:
-------------------------------

    Fix Version: 3.0
                     (was: 3.0-M2)

> 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

>
>
> 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


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

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-438?page=all ]

Guillaume Nodet updated SM-438:
-------------------------------

    Fix Version/s:     (was: 3.0.1)

> DefaultServiceMixClient.stop() doesn't stop JBI Container
> ---------------------------------------------------------
>
>                 Key: SM-438
>                 URL: https://issues.apache.org/activemq/browse/SM-438
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-core
>         Environment: jdk 1.5 winXP eclipse 3.1
>            Reporter: GODOT Philippe
>         Assigned To: Guillaume Nodet
>
> 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