-
1. Re: JBOSS is crashing..
augustinm Jul 12, 2006 8:49 AM (in response to augustinm)Oops. I forgot to add the following comment to the above message.
As JBoss is occupying a lot of CPU and memory, it would be easy to debug if I know what it is doing at that point.
I saw in JMX-console that i can list the threaddump. But. i could not make any meaning out of it.
How do i find out the current thread that is running at that point?. And how do i read the threaddump from jmx-console.
Any help is really appreciated.
Thanks,
Michael. -
2. Re: JBOSS is crashing..
augustinm Jul 28, 2006 11:18 AM (in response to augustinm)Any help on the above topic is really appreciated.
-
3. Re: JBOSS is crashing..
gcoleman Jul 28, 2006 11:32 AM (in response to augustinm)Firstly, I'd upgrade JBoss and check that your JDK is up to date.
Stack traces:
http://wiki.jboss.org/wiki/Wiki.jsp?page=StackTrace
http://wiki.jboss.org/wiki/Wiki.jsp?page=GenerateAThreadDumpWithTheJMXConsole -
4. Re: JBOSS is crashing..
augustinm Aug 7, 2006 3:25 PM (in response to augustinm)Thank you for your reply. I am able to get the threadDump. I just do not know how to use it. How do i use it?. How do I find out what the current thread is? Or how do i find out what thread is using the CPU at that time?.
Any help is really appreciated.
Michael Smart -
5. Re: JBOSS is crashing..
rknechtel Aug 25, 2006 5:01 PM (in response to augustinm)I am having a similar issue with JBoss running out of memory. I do repeated deployments/re-deployments of an two ear files (in developent) and after about 6 -10 times I get this error:
2006-08-18 15:14:31,730 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/opt/jbossall/jboss-4.0.4.GA/server/app01/tmp/deploy/tmp59584our.ear-contents/our-ejb.jar
java.lang.OutOfMemoryError: PermGen space
2006-08-18 15:14:35,202 ERROR [STDERR] Exception in thread "ScannerThread"
2006-08-18 15:14:35,203 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
And JBoss gets really hung and I have to do a kill -9 on it. I'm running JBoss 4.04GA with the latest EJB3.0 and Seam jars and I'm running under SuSE 10.
I have added the following JVM args to teh default ones:
JAVA_OPTS="$JAVA_OPTS -XX:NewSize=128m -XX:MaxNewSize=384m -Xmx512m -Xms512m -XX:+DisableExplicitGC"
Any help would be apprieciated.
Thanks,