wood burning stoves 2.0*
The moose likes Tomcat and the fly likes cannot connect to tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "cannot connect to tomcat" Watch "cannot connect to tomcat" New topic
Author

cannot connect to tomcat

srikanth sri
Greenhorn

Joined: Feb 21, 2010
Posts: 20
ill yesterday i'm able to connect to tomcat server but today i can't connect to it.

when i type http://localhost:8080 i see the error message requested resource not found.

please help me.

thanks in advance
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61084
    
  66

Make sure it's running.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
srikanth sri
Greenhorn

Joined: Feb 21, 2010
Posts: 20
yes,it is running. when click the startup.bat file in bin folder i can see server startup in xxxx milliseconds but when i type in browser i can't see the home page.till yesterday night it was fine but now it is not working
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61084
    
  66

Did you check the logs? Does the Tomcat manager say that the app is running? Have you tried to do anything?
srikanth sri
Greenhorn

Joined: Feb 21, 2010
Posts: 20
sorry i don't know what is logs.

when i type http://localhost:8080 i get the HTTP status 404
error.

but before i used to get the tomcat home page
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61084
    
  66

Then it's time to step back and learn a little bit about Tomcat. The logs are kept in the logs folder of the Tomcat installation. You need to learn how to run the Manager application to monitor your web apps.

All this is covered in the Tomcat documentation.

No one here has a crystal ball that can see why your app is not working.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: cannot connect to tomcat