Yes, I have seen the same problem running Tomcat 4.0.1 on Linux.  In my case I believe 
it is due to threading issues -
i.e. non-daemon threads are still running when Tomcat tries to exit.  However I have 
not proven yet that this is the
case.  In fact I have switched the offending threads to daemon and it now exhibits 
this behavior on Windows (which it
NEVER did before).  I need to build some test cases to see if I can isolate this 
behavior - but for the moment I just
don't have the time...soon hopefully.

Sincerely,
Anthony Eden

> -----Original Message-----
> From: Martin Erlandsson [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 27, 2002 9:39 AM
> To: 'Tomcat Users List'
> Subject: Process won't die
>
>
>
> Hi List!
>
> I am running Tomcat 4.0.2 on Solaris.
> When Tomcat is shut down with the shutdown.sh script, it always leaves a
> process behind, which I have to kill manually. However, when starting it
> from the command line (catalina.sh run) and stopping it with Ctrl-C, the
> process dies OK.
> Has anyone seen this behavior before? Can it be avoided?
> Thanks in advance,
>
> /Martin
>
>
> # $CATALINA_HOME/bin/startup.sh
> # ps -ef |grep java
>     root  3547     1  0 15:33:15 pts/2    1:43
> /usr/java/bin/../bin/sparc/native_threads/java
> -Djava.endorsed.dirs=/mnt/extra/
> # $CATALINA_HOME/bin/shutdown.sh
> # ps -ef | grep java
>     root  3547     1  0 15:33:15 pts/2    1:43
> /usr/java/bin/../bin/sparc/native_threads/java
> -Djava.endorsed.dirs=/mnt/extra/
> # $CATALINA_HOME/bin/startup.sh
> # ps -ef | grep java
>     root  3728     1 12 16:22:31 pts/2    0:13
> /usr/java/bin/../bin/sparc/native_threads/java
> -Djava.endorsed.dirs=/mnt/extra/
>     root  3547     1  0 15:33:15 pts/2    1:44
> /usr/java/bin/../bin/sparc/native_threads/java
> -Djava.endorsed.dirs=/mnt/extra/
> # kill 3547
> #
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to