[JBoss-dev] jboss-head minimal server fails to shutdown

Ryan Campbell ryan.campbell at jboss.com
Wed Jul 12 15:25:44 EDT 2006


We are seeing failures in the jboss-head testsuite where the minimal
server fails to shutdown.  This is not happening on the build server,
but we are seeing the problem in both Windows and Linux outside of the
QA lab.

There are two potential manifestations of the problem.  One is a debug
message from the NamingService about a broken pipe.  The other is an
infinite loop in the unifiedclassloader upon shutdown.  

We are not sure if there is a relation between these two stack traces,
or if the first stack trace is even an error.

Is anyone else seeing this?

2006-07-12 18:06:33,840 DEBUG [org.jboss.naming.NamingService] Error
writing response to /127.0.0.1
java.net.SocketException: Broken pipe
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
	at
java.net.SocketOutputStream.write(SocketOutputStream.java:136)
...
	at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:294)
	at
org.jnp.server.Main$BootstrapRequestHandler.run(Main.java:476)
	at org.jboss.util.threadpool.RunnableTaskWrapper.run(Unknown
Source)
	at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecuto
r.java:743)
	at java.lang.Thread.run(Thread.java:595)


Stack overflow (certainly seems to be the cause):

2006-07-12 18:06:42,915 DEBUG [org.jboss.deployment.MainDeployer]
Undeployed
file:/home/nrla/jboss-head/build/output/jboss-5.0.0.Beta/server/minimal/
deploy/shutdown.sar
2006-07-12 18:06:42,941 ERROR [STDERR] Exception in thread
"ExitOnShutdown" 
2006-07-12 18:06:42,941 ERROR [STDERR] java.lang.StackOverflowError
2006-07-12 18:06:42,954 ERROR [STDERR] 	at
org.apache.log4j.Category.isEnabledFor(Category.java:759)
2006-07-12 18:06:42,954 ERROR [STDERR] 	at
org.jboss.logging.Log4jLoggerPlugin.isTraceEnabled(Unknown Source)
2006-07-12 18:06:42,954 ERROR [STDERR] 	at
org.jboss.logging.Logger.isTraceEnabled(Unknown Source)
2006-07-12 18:06:42,954 ERROR [STDERR] 	at
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoad
er.java:386)
2006-07-12 18:06:42,954 ERROR [STDERR] 	at
org.jboss.mx.loading.UnifiedClassLoader.loadClassImpl(UnifiedClassLoader
.java:228)
2006-07-12 18:06:42,954 ERROR [STDERR] 	at
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoad
er.java:406)
2006-07-12 18:06:42,955 ERROR [STDERR] 	at
org.jboss.mx.loading.UnifiedClassLoader.loadClassImpl(UnifiedClassLoader
.java:228)
2006-07-12 18:06:42,955 ERROR [STDERR] 	at
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoad
er.java:406)
2006-07-12 18:06:42,956 ERROR [STDERR] 	at
org.jboss.mx.loading.UnifiedClassLoader.loadClassImpl(UnifiedClassLoader
.java:228)
2006-07-12 18:06:42,956 ERROR [STDERR] 	at
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoad
er.java:406)
2006-07-12 18:06:42,956 ERROR [STDERR] 	at
org.jboss.mx.loading.UnifiedClassLoader.loadClassImpl(UnifiedClassLoader
.java:228)
2006-07-12 18:06:42,956 ERROR [STDERR] 	at
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoad
er.java:406)
2006-07-12 18:06:42,956 ERROR [STDERR] 	at
org.jboss.mx.loading.UnifiedClassLoader.loadClassImpl(UnifiedClassLoader
.java:228)
-----Original Message-----
From: Richard Achmatowicz 
Sent: Wednesday, July 12, 2006 12:34 PM
To: Rajesh Rajasekaran; Ryan Campbell; 'Jaroslaw Kijanowski'; Prabhat
Jha
Cc: QA Internal; Anil Saldhana
Subject: RE: testsuites

Hi All

I just downloaded the new version of jboss-head and tried to run the
testsuite, and got the same problem. The changes which Anil made are
visible in the output:

> ./build.sh tests

[snip]

BUILD FAILED
/home/nrla/jboss-head/testsuite/build.xml:780: The following error
occurred while executing this line:
/home/nrla/jboss-head/testsuite/build.xml:816: Error starting server
"all": Server failed to start; see logs.

Total time: 3 minutes 34 seconds
Found server "minimal" still running; stopping it.
Shutting down server: minimal
Shutting down server: /opt/jdk1.5.0_06/bin/java -cp
/home/nrla/jboss-head/build/output/jboss-5.0.0.Beta/bin/shutdown.jar:/ho
me/nrla/jboss-head/build/output/jboss-5.0.0.Beta/client/jbossall-client.
jar:/home/nrla/jboss-head/build/output/jboss-5.0.0.Beta/client/jboss-com
mon.jar org.jboss.Shutdown --server jnp://localhost:1099 --shutdown
shutdownTimeout will be=45
Failed to shutdown server "minimal" before timeout. Destroying the
process.

This agains is on my Dell Laptop, with Fedora Core 4. Logs are attached.

Richard


-------------- next part --------------
A non-text attachment was scrubbed...
Name: server.log
Type: text/x-log
Size: 161719 bytes
Desc: server.log
Url : http://lists.jboss.org/pipermail/jboss-development/attachments/20060712/ced47f1b/attachment.bin 


More information about the jboss-development mailing list