[jboss-as7-dev] Build hangs in controller module
Brian Stansberry
brian.stansberry at redhat.com
Fri Feb 25 14:19:14 EST 2011
I'll look at this over the weekend. The 2nd thread dump makes me suspect
a concurrency or other bug in the management code; the "main" thread
invoked a managment op and is blocking waiting for a notification of
completion. No other thread is doing anything, so either the
notification got missed (concurrency) or some other bug caused it to not
get emitted.
It doesn't happen all the time, which smells more like a concurrency issue.
On 2/25/11 9:14 AM, Jaikiran Pai wrote:
> Updated my local workspace with the latest from AS7 upstream a few
> minutes back. The build hangs on my system in the "controller" module
> with the following error:
>
> [INFO] --- maven-surefire-plugin:2.5:test (default-test) @
> jboss-as-controller ---
> [INFO] Surefire report directory:
> /home/me/jboss/wc/jbossas/as7/jboss-as/controller/target/surefire-reports
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running
> org.jboss.as.controller.test.ExistingConnectionRemoteProxyControllerTestCase
> connected
> ------------
> connected
> connected
> connected
> connected
> connected
> 25 Feb, 2011 8:35:51 PM org.jboss.as.protocol.ConnectionImpl
> safeHandleMessage
> ERROR: Failed to read a message
> java.io.EOFException: Read past end of file
> at org.jboss.marshalling.SimpleDataInput.eofOnRead(SimpleDataInput.java:126)
> at org.jboss.marshalling.SimpleDataInput.readByte(SimpleDataInput.java:214)
> at
> org.jboss.as.protocol.SimpleByteDataInput.readByte(SimpleByteDataInput.java:80)
> at
> org.jboss.as.protocol.mgmt.ManagementRequestHeader.read(ManagementRequestHeader.java:67)
> at
> org.jboss.as.protocol.mgmt.ManagementProtocolHeader.<init>(ManagementProtocolHeader.java:55)
> at
> org.jboss.as.protocol.mgmt.ManagementRequestHeader.<init>(ManagementRequestHeader.java:47)
> at
> org.jboss.as.protocol.mgmt.ManagementHeaderMessageHandler.handle(ManagementHeaderMessageHandler.java:53)
> at
> org.jboss.as.protocol.mgmt.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:59)
> at
> org.jboss.as.protocol.ConnectionImpl.safeHandleMessage(ConnectionImpl.java:254)
> at org.jboss.as.protocol.ConnectionImpl$1$1.run(ConnectionImpl.java:213)
> 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:619)
>
>
> I'm using:
>
> java version "1.6.0_21"
> Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
> Java HotSpot(TM) Server VM (build 17.0-b16, mixed mode)
>
> I've attached a thread dump which I took when the build was hung. Anyone
> else seeing the same issue?
>
> -Jaikiran
>
>
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
--
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat
More information about the jboss-as7-dev
mailing list