[jboss-user] [JBoss Tools] - Re: JBoss AS7 freezes at startup when launching in debug mode from Eclipse.

Jim Brownfield do-not-reply at jboss.com
Tue Feb 28 16:12:38 EST 2012


Jim Brownfield [https://community.jboss.org/people/jbrow] created the discussion

"Re: JBoss AS7 freezes at startup when launching in debug mode from Eclipse."

To view the discussion, visit: https://community.jboss.org/message/720352#720352

--------------------------------------------------------------
I have the same problem, but the "server started" line actually gets printed, but the server never gets to the started state.  There is, apparently, a deadlock between two threads:

> 2012-02-28 13:03:32
> Full thread dump Java HotSpot(TM) 64-Bit Server VM (20.4-b02-402 mixed mode):
> 
>  [snip...]
> 
> 
> 
> Found one Java-level deadlock:
> =============================
> "Remoting "jim-brownfields-macbook-pro:MANAGEMENT" task-1":
>   waiting to lock monitor 7fd5238be3f0 (object 7d56970f8, a org.jboss.remoting3.remote.InboundMessage),
>   which is held by "Remoting "jim-brownfields-macbook-pro:MANAGEMENT" read-1"
> "Remoting "jim-brownfields-macbook-pro:MANAGEMENT" read-1":
>   waiting to lock monitor 7fd52a103e90 (object 7d5697118, a org.xnio.streams.BufferPipeInputStream),
>   which is held by "Remoting "jim-brownfields-macbook-pro:MANAGEMENT" task-1"
> 
> 
> Java stack information for the threads listed above:
> ===================================================
> "Remoting "jim-brownfields-macbook-pro:MANAGEMENT" task-1":
>           at org.jboss.remoting3.remote.InboundMessage.openInboundWindow(InboundMessage.java:128)
>           - waiting to lock <7d56970f8> (a org.jboss.remoting3.remote.InboundMessage)
>           at org.jboss.remoting3.remote.InboundMessage$2.acknowledge(InboundMessage.java:63)
>           at org.xnio.streams.BufferPipeInputStream.read(BufferPipeInputStream.java:195)
>           - locked <7d5697118> (a org.xnio.streams.BufferPipeInputStream)
>           at org.jboss.remoting3.remote.InboundMessage$3.read(InboundMessage.java:86)
>           at java.io.FilterInputStream.read(FilterInputStream.java:116)
>           at java.io.FilterInputStream.read(FilterInputStream.java:90)
>           at org.jboss.marshalling.SimpleDataInput.readByte(SimpleDataInput.java:213)
>           at org.jboss.as.protocol.mgmt.ProtocolUtils.expectHeader(ProtocolUtils.java:84)
>           at org.jboss.as.protocol.mgmt.ManagementProtocolHeader.parse(ManagementProtocolHeader.java:110)
>           at org.jboss.as.protocol.mgmt.ManagementChannelReceiver.handleMessage(ManagementChannelReceiver.java:67)
>           at org.jboss.remoting3.remote.RemoteConnectionChannel$5.run(RemoteConnectionChannel.java:435)
>           at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>           at java.lang.Thread.run(Thread.java:680)
> "Remoting "jim-brownfields-macbook-pro:MANAGEMENT" read-1":
>           at org.xnio.streams.BufferPipeInputStream.pushEof(BufferPipeInputStream.java:112)
>           - waiting to lock <7d5697118> (a org.xnio.streams.BufferPipeInputStream)
>           at org.jboss.remoting3.remote.InboundMessage.cancel(InboundMessage.java:186)
>           - locked <7d56970f8> (a org.jboss.remoting3.remote.InboundMessage)
>           at org.jboss.remoting3.remote.RemoteConnectionChannel.handleMessageData(RemoteConnectionChannel.java:424)
>           at org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:234)
>           at org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:45)
>           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.nio.NioHandle.run(NioHandle.java:90)
>           at org.xnio.nio.WorkerThread.run(WorkerThread.java:184)
> 
> 
> Found 1 deadlock.
> 

The full thread dump is attached.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/720352#720352]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120228/24dc4daf/attachment-0001.html 


More information about the jboss-user mailing list