[jboss-user] [Installation, Configuration & Deployment] - JBoss OutOfMemory on shutdown, killall java takes very long

dindg2k do-not-reply at jboss.com
Fri Oct 13 03:51:08 EDT 2006


I'm running jboss 4.0.4GA on an AMD Athlon 64 with Suse Linux 9.3 and
jdk1.5.0_08. When shutting down I got this error:

...:~/jboss-4.0.4.GA/bin> ./shutdown.sh -S
10:34:29,356 WARN  [RunnableTaskWrapper] Unhandled throwable for runnable: org.jnp.server.Main$BootstrapRequestHandler at e1c3a7
java.lang.OutOfMemoryError: PermGen space
Exception in thread "main" javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 [Root exception is javax.naming.CommunicationException: Failed to retrieve stub from server localhost:1099 [Root exception is java.io.EOFException]]
        at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1414)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
        at javax.naming.InitialContext.lookup(InitialContext.java:351)
        at org.jboss.Shutdown.main(Shutdown.java:214)
Caused by: javax.naming.CommunicationException: Failed to retrieve stub from server localhost:1099 [Root exception is java.io.EOFException]
        at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:263)
        at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1385)
        ... 4 more
Caused by: java.io.EOFException
        at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2498)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1273)
        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
        at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:251)
        ... 5 more

After issuing a killall it takes very long until the process is finally killed

> killall java
...
...
[Full GC [Tenured./run.sh: line 181: 15072 Getötet                "$JAVA" $JAVA_OPTS -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" -classpath "$JBOSS_CLASSPATH" org.jboss.Main "$@"

Did this happen to anybody else?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978096#3978096

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978096




More information about the jboss-user mailing list