| Author |
Tomcat stopped running
|
Akhilesh Trivedi
Ranch Hand
Joined: Jun 22, 2005
Posts: 1493
|
|
Recently I uninstalled and re-installed JDK1.5. Now my tomcat doesnt start... Here are the logs, i have checked the environment variables all are at their place. moreover i am using tomcat not as a service but as an extracted zip file. Wonder why XML Validation is disabled... May 29, 2006 5:26:55 PM org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-9000 May 29, 2006 5:26:55 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 656 ms May 29, 2006 5:26:56 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina May 29, 2006 5:26:56 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.16 May 29, 2006 5:26:56 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled May 29, 2006 5:26:57 PM org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-9000 May 29, 2006 5:26:57 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 May 29, 2006 5:26:57 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/32 config=null May 29, 2006 5:26:57 PM org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource May 29, 2006 5:26:57 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 1485 ms [ May 29, 2006: Message edited by: Akhilesh Trivedi ]
|
Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12269
|
|
If this was my problem I would be starting Tomcat in a command prompt window with startup.bat to watch the error messages. If the Tomcat window popped up and then vanished, I would change startup.bat to read: (note run instead of start) to ensure the window stays open. This usually is enough to pinpoint the problem. Bill
|
Java Resources at www.wbrogden.com
|
 |
Akhilesh Trivedi
Ranch Hand
Joined: Jun 22, 2005
Posts: 1493
|
|
Thanks William. Actually all the log-info that you see above is from dos prompt, the window stays open but problem is with browser... nothing appears, i mean the page on http local host doesnt open. I have tried changing port number in server.xml too.. but
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12269
|
|
That would appear to indicate that Tomcat is in fact still running. (You could check with the Windows Task Manager.) So perhaps the question is why is Tomcat not responding? What actually appears at the browser end? "nothing happens" needs to be amplified. If the browser does not say something like "unable to connect" then it actually connected and sent a request - now the question becomes why don't I see a response. When this happens to me the first thing I do is use the browser "view source" to see if anything at all has been transmitted. Bill
|
 |
Akhilesh Trivedi
Ranch Hand
Joined: Jun 22, 2005
Posts: 1493
|
|
Thanks Bill! You made me think. My browser indicated "Connection Failed" ---------------------------------------- The requested URL could not be retrieved While trying to retrieve the URL: http://localhost/ The following error was encountered: Connection Failed The system returned: (111) Connection refusedThe remote host or network may be down. Please try the request again. Generated Wed, 31 May 2006 08:03:08 GMT by (my proxy here) ---------------------------------------- Went down to IE->Tools->Options->Connections->LAN settigns and ticked "Bypass proxy for local addresses" It works. Thanks again buddy! [ May 31, 2006: Message edited by: Akhilesh Trivedi ]
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12269
|
|
Thanks for reporting the solution. I am sure some future reader will say AHA!  [ May 31, 2006: Message edited by: William Brogden ]
|
 |
 |
|
|
subject: Tomcat stopped running
|
|
|