Hi EveryOne, This is my first post in this forum.I don't know whether this is write is correct section to my post.sorry for that. Coming to my problem.I am using Tomcat5.5 from so many days.I didn't face any problems with it.I could run my web applications using this till yesterday. But when i tried it tomorrow, i started tomcat and i got message like server startup in 187ms and after that when i type the url http://localhost:8080/ on my browser i am getting a message "waiting for localhost.. " on my browser status bar more than 5 minutes. Finally i got connection time out message .
what's wrong with my tomcat.Can any one please help me..
187ms is pretty fast for a server startup so that doesn't seem like a problem.
Without knowing more about what your app is doing it would be impossible to say what the problem is. Do you any type of logging in your app? Have you looked at the logs generated by Tomcat to see what the problem might be?
Thanks Ben Souther for quick reply, Actually i wasn't trying to run any application..i just gave url like http://localhost:8080/ to make sure tomcat is working fine or not. And even when i tried with http://localhost:8080/strutsApplication i am getting same problem.which was worked fine yesterday. And one more thing my browser is Mozilla Firefox. Any one please give me some help.. Thanks, sirisha.
1. Check the Container Logs..They will tell you where you are going wrong.Tomcat logs directory is present in <TOMCAT-INSTALL-DIRECTORY>/logs
2. ARE you using a script to start your container or is does it start as a service.If Your OS is Windows you can use the standalone installation of Tomcat that runs as a windows service.
Anyways that doesn't have any relationship with the problem and its up to you tco choose.
3.It might be possible that you might be have conflicts with the Port 8080. Long time back i faced the same problem.In case nothing works just open the server.xml file located in <TOMCAT-INSTALL-DIRECTORY>/\conf path.Change the Port to some other value say 8111. and try restarting Tomcat..
I hope this works for you. You can use the commmand netstat -ao on the command line to check the ports you are listening to .