More often now we are facing a high CPU usage for our jboss4.0.5 application.
On analyzing the ThreadDump and ThreadCpuUtilization I see that maximum CPU is consumed by JMS SessionPool Worker Threads and they are all in Timed_WAITING state.
If we consider the number of threads the majority is working on storing Hibernate's second level cahed objects.
Please let me know how do I move forward, we use JBoss MQ for messaging. I have attached ThreadDump and ThreadCPUUtilization merged in one file.
Please help me in making sense out of it.