tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22295] - Catalina is not able to stop on the first time: it just stops on the second
Date Tue, 28 Feb 2006 18:44:44 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=22295>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=22295


bzacher@cisco.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




------- Additional Comments From bzacher@cisco.com  2006-02-28 19:44 -------
I observed this bug running jakarta-tomcat-5.0.28. I have observed it on 
Windows 2003 Enterprise running with JDK 1.4.1_10. I have also observed it a 
server running Windows XP Professional, Version 2002, Service Pack 2 using the 
JRE that is installed with tomcat. 
These are the only two OS's that I tested.  The bug occurred on 4 out of 4 
servers which I tested. 

The bug is relatively easy to reproduce. Simply start and stop the Apache 
Tomcat service using the Windows Service Control GUI. i.e. Right click on My 
Computer. Select  Manage => Services and Applications => Services.  Set 
the "startup type" to manual. Then start and stop the tomcat service. I always 
wait until the progress indicator show that the service is stopped or started. 
In about 1 out of 10 attempts, the service takes several minutes to stop, as 
indicated by the progress bar. In the other attempts to start or stop, the 
service stops/starts within a few seconds. 

Below is an excerpt from the "stdout.txt" log under ...\Tomcat 5.0\logs

Feb 27, 2006 5:51:39 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /tomcat-docs from URL 
file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\tomcat-docs
Feb 27, 2006 5:51:39 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /webdav from URL 
file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\webdav
Catalina.stop: java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(Unknown Source)
	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at java.net.Socket.<init>(Unknown Source)
	at java.net.Socket.<init>(Unknown Source)
	at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:410)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:336)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:427)


When tomcat fails to stop promptly, Windows service control throws up a 
dialogue box
with the text
===========================================================
Services

Could not stop Apache Tomcat service on Local computer.

Error 1053: The service did not respond to the start or control request in a 
timely
fashion
========================================================

If you have any questions, you may contact me at bzacher@cisco.com



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message