AnsweredAssumed Answered

using Java Introscope agent for a hung/slow jvm

Question asked by samwily1972 on Aug 7, 2010
Latest reply on Aug 10, 2010 by aleandrade
I have a servlet which goes to database reads a few tables and fetches the data and then processes it one by one and sends an email. This is more like a batch job which runs every night on a JBOSS server. I noticed that the job takes sometimes an hour and sometimes a few days and gets hung. Looking at JSTACK traces didn't help much .
I was wondering what should I enable in Java Introscope agent so I can trace this issue. I can reproduce this problem easily . Should I use "Error Detector" or enable Servlet/JSP/JDBC ? By default I have disabled a quite a few of the default metrics.

thanks
Sam

Outcomes