Here’s a portion of the thread dump on the hung process:

 

"main" prio=1 tid=0x0805cc58 nid=0x31c2 runnable [0xbfffc000..0xbfffd4f8]

        at java.net.SocketInputStream.socketRead0(Native Method)

        at java.net.SocketInputStream.read(SocketInputStream.java:129)

        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)

        at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)

        at java.io.BufferedInputStream.read(BufferedInputStream.java:313)

        - locked <0xade5f508> (a java.io.BufferedInputStream)

        at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:659)

        at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:604)

        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:961)

        - locked <0xade59720> (a sun.net.www.protocol.http.HttpURLConnection)

        at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)

        at org.jboss.test.util.server.ServerController.isServerStarted(ServerController.java:213)

        at org.jboss.test.util.server.ServerController.waitForServer(ServerController.java:185)

        at org.jboss.test.util.server.ServerController.startServer(ServerController.java:110)

        at org.jboss.test.util.server.ServerManager.startServer(ServerManager.java:132)

        at org.jboss.ant.taskdefs.server.StartServerTask.execute(StartServerTask.java:50)

        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

        at org.apache.tools.ant.Task.perform(Task.java:364)

        at org.apache.tools.ant.Target.execute(Target.java:341)

        at org.apache.tools.ant.Target.performTasks(Target.java:369)

        at org.apache.tools.ant.Project.executeTarget(Project.java:1214)

        at org.apache.tools.ant.Project.executeTargets(Project.java:1062)

        at org.apache.tools.ant.Main.runBuild(Main.java:673)

        at org.apache.tools.ant.Main.startAnt(Main.java:188)

        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)

        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)

 


From: jboss-development-bounces@lists.jboss.org [mailto:jboss-development-bounces@lists.jboss.org] On Behalf Of Rajesh Rajasekaran
Sent: Thursday, July 12, 2007 7:42 PM
To: 'JBoss.org development list'
Subject: [jboss-dev] jboss-trunk testsuite hang

 

The jboss-trunk testsuite hangs on the tomcat-webctx-tests and eventually the testsuite times out after 6 hrs.

 

The point of hang is shown in the test log.

http://cruisecontrol.jboss.com/cc/artifacts/jboss-head-testsuite-sun-1.5/20070712124156/tests.log

 

I have attached the server log which shows the errors in starting up tomcat in this server config.

 

This reveals another problem with the jboss-test package.

The <server:start> task verifies the server had started by opening a connection to tomcat.

In this case since tomcat had failed to start the testsuite hangs when trying to establish an HTTPConnection.

 

 

Thanks

Rajesh