-
1. Re: All subscribers affected by one disconnect!
adrian.brock Feb 22, 2003 4:47 AM (in response to swedish-johan)Have you tried this with jboss-3.0.6,?
There were some deadlocking fixes in 3.0.5
If that doesn't fix it,
can you post a thread dump.
ctrl-break on the console for windows
kill -3 "the jboss pid" on unix
Regards,
Adrian -
2. Re: All subscribers affected by one disconnect!
swedish-johan Mar 3, 2003 2:31 PM (in response to swedish-johan)OK!
When we disconnect the network cable it takes about 45 seconds before this Exception get thrown in the console.
19:28:09,610 ERROR[JMSDestinationManager] The connection to client ID:172 failed.
19:28:15,610 WARN [ClientConsumer:ID:146] Could not send messages to a receiver.
java.rmi.ConnectIOException: Exception creating connection to: 192.169.0.136; nested exception is:
java.net.NoRouteToHostException: No route to host
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:580)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
at org.jboss.mq.il.rmi.RMIClientIL_Stub.receive(Unknown Source)
at org.jboss.mq.server.ClientConsumer.doWork(ClientConsumer.java:295)
at org.jboss.mq.threadpool.ThreadPool$WorkerThread.run(ThreadPool.java:230)
Caused by: java.net.NoRouteToHostException: No route to host
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:426)
at java.net.Socket.connect(Socket.java:376)
at java.net.Socket.(Socket.java:291)
at java.net.Socket.(Socket.java:119)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562)
... 6 more
This Exception comes every 5-6 seconds.
Then when we connect the cable again, the not-disconnected-clients resumes but all the messages that was sent during the time is lost!!! -
3. Re: All subscribers affected by one disconnect!
swedish-johan Mar 4, 2003 2:03 AM (in response to swedish-johan)The above dump is ON THE SERVER if that makes it clearer!