[jboss-jira] [JBoss JIRA] (AS7-3577) Blocked Thread when Remote Client Terminates

Darran Lofthouse (JIRA) jira-events at lists.jboss.org
Thu Feb 2 07:42:49 EST 2012


Darran Lofthouse created AS7-3577:
-------------------------------------

             Summary: Blocked Thread when Remote Client Terminates
                 Key: AS7-3577
                 URL: https://issues.jboss.org/browse/AS7-3577
             Project: Application Server 7
          Issue Type: Bug
          Components: Remoting
            Reporter: Darran Lofthouse
            Assignee: David Lloyd
            Priority: Critical
             Fix For: 7.1.0.Final


If a remote client is killed which was connected to AS7 using a SSL connection the thread handling the close gets stuck as: -

"Remoting "localhost:MANAGEMENT" read-1" prio=10 tid=0x00007ff3f8170800 nid=0x7b2e runnable [0x00007ff3d70ee000]
   java.lang.Thread.State: RUNNABLE
	at sun.nio.ch.FileDispatcher.read0(Native Method)
	at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:21)
	at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:198)
	at sun.nio.ch.IOUtil.read(IOUtil.java:171)
	at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:243)
	- locked <0x00000000e12542e8> (a java.lang.Object)
	at org.xnio.nio.AbstractNioStreamChannel.read(AbstractNioStreamChannel.java:249)
	at org.xnio.ssl.JsseConnectedSslStreamChannel.handleUnwrapResult(JsseConnectedSslStreamChannel.java:522)
	- locked <0x00000000e08a3e38> (a org.xnio.ByteBufferSlicePool$PooledByteBuffer)
	at org.xnio.ssl.JsseConnectedSslStreamChannel.handleHandshake(JsseConnectedSslStreamChannel.java:396)
	- locked <0x00000000e08a3e38> (a org.xnio.ByteBufferSlicePool$PooledByteBuffer)
	at org.xnio.ssl.JsseConnectedSslStreamChannel.doFlush(JsseConnectedSslStreamChannel.java:634)
	at org.xnio.ssl.JsseConnectedSslStreamChannel.flushAction(JsseConnectedSslStreamChannel.java:609)
	- locked <0x00000000e08a3ea0> (a org.xnio.ByteBufferSlicePool$PooledByteBuffer)
	at org.xnio.channels.TranslatingSuspendableChannel.flush(TranslatingSuspendableChannel.java:604)
	at org.xnio.channels.FramedMessageChannel.doFlush(FramedMessageChannel.java:299)
	at org.xnio.channels.FramedMessageChannel.closeAction(FramedMessageChannel.java:307)
	- locked <0x00000000e08a40b0> (a org.xnio.Buffers$4)
	at org.xnio.channels.TranslatingSuspendableChannel.close(TranslatingSuspendableChannel.java:811)
	at org.xnio.IoUtils.safeClose(IoUtils.java:137)
	at org.jboss.remoting3.remote.RemoteConnection.handleException(RemoteConnection.java:101)
	at org.jboss.remoting3.remote.RemoteConnection$RemoteWriteListener.shutdownWrites(RemoteConnection.java:242)
	- locked <0x00000000e1254070> (a org.jboss.remoting3.remote.RemoteConnection)
	at org.jboss.remoting3.remote.RemoteConnection.shutdownWrites(RemoteConnection.java:118)
	at org.jboss.remoting3.remote.RemoteConnectionHandler.handleConnectionClose(RemoteConnectionHandler.java:128)
	at org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:75)
	at org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:42)
	at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72)
	at org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:189)
	at org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(TranslatingSuspendableChannel.java:103)
	at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72)
	at org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:189)
	at org.xnio.ssl.JsseConnectedSslStreamChannel.handleReadable(JsseConnectedSslStreamChannel.java:180)
	at org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(TranslatingSuspendableChannel.java:103)
	at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72)
	at org.xnio.nio.NioHandle.run(NioHandle.java:90)
	at org.xnio.nio.WorkerThread.run(WorkerThread.java:184)


After this new clients can not connect and the server can not be shut down.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list