or you can use (if you are on Linux that is) the command
 "pstree -p" to easily view the parent process for Tomcat.

-- Aravind

-----Original Message-----
From: Pier Fumagalli [mailto:[EMAIL PROTECTED]]
Sent: Monday, 10 September 2001 11:49
To: [EMAIL PROTECTED]
Subject: Re: The pitfalls in restarting tomcat


"Jeff Turner" <[EMAIL PROTECTED]> wrote:

> With Tomcat 3.3, it is very easy to confuse Tomcat into thinking that it
> has shut down (the ajp12.id file does not exist), but it actually
> running. In this (common) situation, there is no way to kill tomcat
> other than killing the processes ('killall java'). Killing tomcat in
> this way is *very* dangerous, because it sometimes leaves threads in the
> state described by 'man ps' as:
> 
>     D   uninterruptible sleep (usually IO)

Of course you don't have to killall, but kill only the parent process Java,
the real process, as all the others are just threads... (Linux sucks on
that)

    Pier

Reply via email to