|
From: Leif M. <le...@ta...> - 2003-10-24 03:55:55
|
Robert,
There are a number of ways to invoke a thread dump.
1) Using the WrapperActionServer class (see javadocs) It lets you
connect via telnet to
execute commands. Drawback is that it requires a little bit of coding.
2) Use the WrapperManager.requestThreadDump(). Since you are using a JSP
container, you can probably just create a little JSP page which
contains the following:
<% org.tanukisoftware.wrapper.WrapperManager.requestThreadDump(); %>
3) Use JMX. There are even instructions for getting it working with
JBoss. This is
probably the easiest.
http://wrapper.tanukisoftware.org/doc/english/jmx.html
Cheers,
Leif
Augustyn, Robert non Unisys wrote:
>Hi,
>I have a process ( jboss ) running as a service under wrapper.
>This process sometimes is starting to use 50% cpu on a large box.
>There is nothing going on inside jboss as far as I can tell.
>I am trying to dump the java process and see if I can find anything in the
>dump.
>Question:
>How do I dump java service?
>Is there a better way of debugging problem like mine?
>robert
>
>
|