We have noticed this problem on HP-UX machines.
The main connector thread was not exiting because it would not close its
socket.
This occurs for both Tomcat-standalone and mod_webapp.
We include the option
-XdoCloseWithReadPending
enable non-blocking close operations
in the java command. I do not know if there is a similar option for
solaris. java -X should tell you
Jeff
-----Original Message-----
From: Michael Nicholson [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 30, 2002 8:23 AM
To: Tomcat Users List
Subject: Re: Tomcat shutdown does not kill java process
How quickly are you restarting Tomcat? I've noticed the same behaviour if I
rush and restart tomcat too quickly. Just waiting for solved the issue for
me.
Mike
----- Original Message -----
From: "Jim Coble" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 30, 2002 10:18 AM
Subject: Tomcat shutdown does not kill java process
>
> ----- 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]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>