Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 44860 invoked from network); 16 Nov 2005 20:33:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Nov 2005 20:33:24 -0000 Received: (qmail 77463 invoked by uid 500); 16 Nov 2005 20:33:17 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 77170 invoked by uid 500); 16 Nov 2005 20:33:15 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 77158 invoked by uid 500); 16 Nov 2005 20:33:15 -0000 Delivered-To: apmail-jakarta-tomcat-dev@jakarta.apache.org Received: (qmail 77152 invoked by uid 99); 16 Nov 2005 20:33:15 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2005 12:33:15 -0800 Received: by ajax.apache.org (Postfix, from userid 99) id 6C443126; Wed, 16 Nov 2005 21:32:54 +0100 (CET) From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 37277] - long delay in Tomcat startup X-Bugzilla-Reason: AssignedTo Message-Id: <20051116203254.6C443126@ajax.apache.org> Date: Wed, 16 Nov 2005 21:32:54 +0100 (CET) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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.(Unknown Source) at java.net.Socket.(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