Make sure you do not have any servlets or beans creating non-daemon threads. A java process will run while there exists at least 1 non-daemon thread.
Perform a thread dump on your java process and see if this is the case. See previous threads (or google) on how to perform a thread dump. Jim Coble wrote: > ----- Forwarded by Jim Coble/Libraries/Provost/Academic/Univ/Duke on > 08/30/2002 10:18 AM ----- > > > Jim Coble > > To: [EMAIL PROTECTED] > > 08/30/2002 08:17 cc: > > AM Subject: Tomcat shutdown does not >kill java process > > > > > > > > I'm running Tomcat 4.0.3 stand-alone on a Solaris 8 server. When I execute > bin/shutdown.sh, the java process that has been running Tomcat does not > terminate. I can restart Tomcat fine (via bin/startup.sh) but, if I then > do a ps -ef, I see both the old and new java processes there. I have to > kill the old java process to get rid of it. I do all shutdown.sh and > startup.sh commands as root. > > Before I discovered that this was happening, I ended up with multiple > (Tomcat) java processes spanning several days. I don't think the > now-unused java processes are consuming CPU time (at least not much) but I > worry that they are consuming memory. (ps -leaf still shows them as having > memory allocated, if I'm understanding what I'm seeing properly.) > > Any ideas why the java process doesn't terminate when I shutdown Tomcat? > > Thanks in advance. > > --Jim > > ================================== > Jim Coble > Senior Technology Specialist > Center for Instructional Technology > Email: [EMAIL PROTECTED] > Voice: 919-660-5974 Fax: 919-660-5923 > Box 90198, Duke University > Durham, NC 27708-0198 > ================================== > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>