Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cannot connect to tomcat

 
srikanth sri
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65115
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make sure it's running.
 
srikanth sri
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65115
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you check the logs? Does the Tomcat manager say that the app is running? Have you tried to do anything?
 
srikanth sri
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65115
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic