<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Re: JBoss AS7 freezes at startup when launching in debug mode from Eclipse.
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/jbrow">Jim Brownfield</a> in <i>JBoss Tools</i> - <a href="https://community.jboss.org/message/720352#720352">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>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:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><blockquote class="jive-quote"><p>2012-02-28 13:03:32</p><p>Full thread dump Java HotSpot(TM) 64-Bit Server VM (20.4-b02-402 mixed mode):</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p> [snip...]</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Found one Java-level deadlock:</p><p>=============================</p><p>"Remoting "jim-brownfields-macbook-pro:MANAGEMENT" task-1":</p><p>  waiting to lock monitor 7fd5238be3f0 (object 7d56970f8, a org.jboss.remoting3.remote.InboundMessage),</p><p>  which is held by "Remoting "jim-brownfields-macbook-pro:MANAGEMENT" read-1"</p><p>"Remoting "jim-brownfields-macbook-pro:MANAGEMENT" read-1":</p><p>  waiting to lock monitor 7fd52a103e90 (object 7d5697118, a org.xnio.streams.BufferPipeInputStream),</p><p>  which is held by "Remoting "jim-brownfields-macbook-pro:MANAGEMENT" task-1"</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Java stack information for the threads listed above:</p><p>===================================================</p><p>"Remoting "jim-brownfields-macbook-pro:MANAGEMENT" task-1":</p><p>          at org.jboss.remoting3.remote.InboundMessage.openInboundWindow(InboundMessage.java:128)</p><p>          - waiting to lock <7d56970f8> (a org.jboss.remoting3.remote.InboundMessage)</p><p>          at org.jboss.remoting3.remote.InboundMessage$2.acknowledge(InboundMessage.java:63)</p><p>          at org.xnio.streams.BufferPipeInputStream.read(BufferPipeInputStream.java:195)</p><p>          - locked <7d5697118> (a org.xnio.streams.BufferPipeInputStream)</p><p>          at org.jboss.remoting3.remote.InboundMessage$3.read(InboundMessage.java:86)</p><p>          at java.io.FilterInputStream.read(FilterInputStream.java:116)</p><p>          at java.io.FilterInputStream.read(FilterInputStream.java:90)</p><p>          at org.jboss.marshalling.SimpleDataInput.readByte(SimpleDataInput.java:213)</p><p>          at org.jboss.as.protocol.mgmt.ProtocolUtils.expectHeader(ProtocolUtils.java:84)</p><p>          at org.jboss.as.protocol.mgmt.ManagementProtocolHeader.parse(ManagementProtocolHeader.java:110)</p><p>          at org.jboss.as.protocol.mgmt.ManagementChannelReceiver.handleMessage(ManagementChannelReceiver.java:67)</p><p>          at org.jboss.remoting3.remote.RemoteConnectionChannel$5.run(RemoteConnectionChannel.java:435)</p><p>          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)</p><p>          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)</p><p>          at java.lang.Thread.run(Thread.java:680)</p><p>"Remoting "jim-brownfields-macbook-pro:MANAGEMENT" read-1":</p><p>          at org.xnio.streams.BufferPipeInputStream.pushEof(BufferPipeInputStream.java:112)</p><p>          - waiting to lock <7d5697118> (a org.xnio.streams.BufferPipeInputStream)</p><p>          at org.jboss.remoting3.remote.InboundMessage.cancel(InboundMessage.java:186)</p><p>          - locked <7d56970f8> (a org.jboss.remoting3.remote.InboundMessage)</p><p>          at org.jboss.remoting3.remote.RemoteConnectionChannel.handleMessageData(RemoteConnectionChannel.java:424)</p><p>          at org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:234)</p><p>          at org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:45)</p><p>          at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72)</p><p>          at org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:189)</p><p>          at org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(TranslatingSuspendableChannel.java:103)</p><p>          at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72)</p><p>          at org.xnio.nio.NioHandle.run(NioHandle.java:90)</p><p>          at org.xnio.nio.WorkerThread.run(WorkerThread.java:184)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Found 1 deadlock.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p></blockquote><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>The full thread dump is attached.</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/720352#720352">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Tools at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>