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 37277] - long delay in Tomcat startup
Date Wed, 16 Nov 2005 20:32:54 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=37277>.
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=37277





------- Additional Comments From lars@huttar.net  2005-11-16 21:32 -------
(In reply to comment #7)
> Thread dump on the windows system can be achieved by typing Control+Break.

I started Tomcat using Tomcat5.exe in a command window, so that it would be
available for Ctrl+Break.
When I press Ctrl+Break, nothing happens.
When I press Ctrl+C, I get the following stack trace:

Nov 16, 2005 2:15:33 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
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:394)
        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:320)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:411)
- VM shutting down with the disk store for cocoon-ehcache-1 still active. The di
sk store is persistent. Calling dispose...

FWIW, the output of tomcat5.exe up to where it hung ended with:

- Ignored element 'init-param' as child of 'servlet'.
- Ignored element 'display-name' as child of 'servlet'.
- Ignored element 'init-param' as child of 'servlet'.
- ServletContext 'd:\Apache Software Foundation\Tomcat 5.5\webapps\..\..\cocoon-
2.1.7\' initialized.
- The database 'db' root directory has been set to D:\Apache Software Foundation
\cocoon-2.1.7\WEB-INF\db. Keep in mind that if a war upgrade will take place the
 database will be lost.
- Database points to D:\Apache Software Foundation\cocoon-2.1.7\WEB-INF\db
- Database 'db' successfully opened
- Xindice server successfully started
trying to register database
trying to register database
- RAMJobStore initialized.
- Quartz scheduler 'Cocoon
- Quartz scheduler version: 1.4.5
- Scheduler Cocoon_$_Wed_Nov_16_14:14:32_CST_2005 started.

The log file catalina.2005-11-16.log contained:

Nov 16, 2005 2:14:21 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-80
Nov 16, 2005 2:14:21 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1047 ms
Nov 16, 2005 2:14:21 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 16, 2005 2:14:21 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
Nov 16, 2005 2:14:21 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
(this is where Tomcat hung)

Anyone have ideas as to why it's waiting for so long?
It sounds like it's waiting on a SocketConnect, but to where, and why?

Thanks for any help...

-- 
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