-
1. Re: Major problem - JBoss hungs
jaikiran Mar 2, 2007 11:59 AM (in response to mpikounis)In such cases, it always suggested to get a Thread Dump to see what's going on. It might show you if anything's locked on some resource. Here's how you can get a Thread Dump in JBoss:
http://wiki.jboss.org/wiki/Wiki.jsp?page=StackTrace
OR
http://wiki.jboss.org/wiki/Wiki.jsp?page=GenerateAThreadDumpWithTheJMXConsole -
2. Re: Major problem - JBoss hungs
mpikounis Mar 8, 2007 7:50 AM (in response to mpikounis)Thank you, your suggestion really helped. Now another related issue I have is that sometime I cannot access the JMX-Console. JBoss seems to hang and consume more and more memory (not CPU) until I kill the process (I cannot even stop the service).
In this case, in order to get a stack trace I tried to use sendsignal.exe but I get an access denied message saying "Not enough storage is available to process this command". Is there an alternative way to get a stack trace from a process that runs as a service?