You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mohit Anchlia <mo...@gmail.com> on 2008/10/20 20:38:19 UTC
tomcat doesn't stop when shutdown
When I run shutdown.sh tomcat doesn't stop. I then manually kill -9. I
am not sure what the problem is.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: tomcat doesn't stop when shutdown
Posted by Mark Thomas <ma...@apache.org>.
Mohit Anchlia wrote:
> When I run shutdown.sh tomcat doesn't stop. I then manually kill -9. I
> am not sure what the problem is.
A thread dump is usually a good place to start with this sort of issue.
Mark
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: tomcat doesn't stop when shutdown
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Mohit Anchlia [mailto:mohitanchlia@gmail.com]
> Subject: Re: tomcat doesn't stop when shutdown
>
> This is what I see in logs, I am starting and stopping as root:
>
> INFO: Stopping service Catalina
> Oct 20, 2008 2:22:47 PM
> org.apache.coyote.http11.Http11Protocol destroy
> INFO: Stopping Coyote HTTP/1.1 on http-8080
Do any of your webapps create auxiliary threads that aren't being managed properly? JVM termination will stall until such theads exit. (Making them daemon threads is sometimes appropriate.)
Try taking a thread dump when Tomcat hangs and see what's going on.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: tomcat doesn't stop when shutdown
Posted by Mohit Anchlia <mo...@gmail.com>.
This is what I see in logs, I am starting and stopping as root:
INFO: Stopping service Catalina
Oct 20, 2008 2:22:47 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
On Mon, Oct 20, 2008 at 11:39 AM, Mike Duncan <Mi...@noaa.gov> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Are you running startup.sh as ro0t and then trying to stop it as another
> user? Sometimes it can be a permission thing or it could be a
> database/socket connection in an application which is hanging. A lot
> could be going on there, so more information is needed to help further.
>
> Mike Duncan
> ISSO, Application Security Specialist
> mike.duncan@noaa.gov
>
>
> Mohit Anchlia wrote:
>> When I run shutdown.sh tomcat doesn't stop. I then manually kill -9. I
>> am not sure what the problem is.
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFI/NBNnvIkv6fg9hYRAvI2AJ9BM68B5I4+vxkwBpKedHNhYFfhBwCbBWQD
> wm47BDa1mOO7U7d2bGzij+w=
> =NQCa
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: tomcat doesn't stop when shutdown
Posted by Mike Duncan <Mi...@noaa.gov>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Are you running startup.sh as ro0t and then trying to stop it as another
user? Sometimes it can be a permission thing or it could be a
database/socket connection in an application which is hanging. A lot
could be going on there, so more information is needed to help further.
Mike Duncan
ISSO, Application Security Specialist
mike.duncan@noaa.gov
Mohit Anchlia wrote:
> When I run shutdown.sh tomcat doesn't stop. I then manually kill -9. I
> am not sure what the problem is.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFI/NBNnvIkv6fg9hYRAvI2AJ9BM68B5I4+vxkwBpKedHNhYFfhBwCbBWQD
wm47BDa1mOO7U7d2bGzij+w=
=NQCa
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org