jboss-head minimal server fails to shutdown
by Ryan Campbell
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
18 years, 6 months
RE: jboss-head-testsuite-1.5 Build Failed
by Rajesh Rajasekaran
The "tomcat-ssl" configuration fails to start with deployment errors.
The error messages are enclosed in the following server log file.
http://cruisecontrol.jboss.com/cc/artifacts/jboss-head-testsuite-1.5/200
60712005028/build/output/jboss-5.0.0.Beta/server/tomcat-ssl/log/server.l
og
This can be verified by running the following target on the testsuite
module.
ant tomcat-ssl-tests
http://cruisecontrol.jboss.com/cc/artifacts/jboss-head-testsuite-1.5/200
60712005028/tests.log
Thanks
Rajesh
________________________________
From: qa(a)jboss.com [mailto:qa@jboss.com]
Sent: Wednesday, July 12, 2006 2:12 AM
To: Chi.Lin(a)unisys.com; Robert.walker(a)unisys.com; Adrian Brock;
ales.justin(a)genera-lynx.com; alex.fu(a)novell.com; Alejandro Guizar;
Alexey Loubyansky; Anil Saldhana; Bill Decoste; Bela Ban; Bill Burke;
Brian Stansberry; Ben Wang; carlo(a)nerdnet.nl; cegriff(a)ufl.edu;
claudio.vesco(a)previnet.it; Clebert Suconic; Dimitris Andreadis; Emmanuel
Bernard; genman(a)noderunner.net; hbruan(a)jboss.com; hmesha(a)novell.com;
hwr(a)pilhuhn.de; jboss-development(a)lists.jboss.org; jgauthier(a)novell.com;
Jason T. Greene; Kabir Khan; Luc Texier; Michael Yuan; Ovidiu Feodorov;
peter.johnson2(a)unisys.com; QA; Rajesh Rajasekaran; Ryan Campbell;
reverbel(a)ime.usp.br; Rali Genova; Ruel Loehr; Scott M Stark;
smarlow(a)novell.com; Stan Silvert; stalep(a)conduct.no; Thomas Diesler; Tim
Fox; Tom Elrod; Weston Price
Subject: jboss-head-testsuite-1.5 Build Failed
Importance: High
View results here ->
http://cruisecontrol.jboss.com/cc/buildresults/jboss-head-testsuite-1.5?
log=log20060712005028
BUILD FAILED
Ant Error Message:
/services/cruisecontrol/work/scripts/build-jboss-common.xml:234: The
following error occurred while executing this line:
/services/cruisecontrol/work/scripts/build-jboss-common.xml:158: Exit
code: 1 See tests.log in Build Artifacts for details.
Date of build: 07/12/2006 00:50:28
Time to build: 135 minutes 15 seconds
Last changed: 07/12/2006 00:17:54
Last log entry: Added 45sec sleep period after server process is killed
in case of shutdown failure
18 years, 6 months