File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error running servlets using tomcat

 
anubha goel
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i am coming across a problem i am unable to run servlets n JSP using tomcat,eventhough i had successfully run both(servlets n jsp)before but now they are not running.i have not made any changes in anything...infact the homepage of tomcat server http://localhost:8080/
is not opening,its diaplaying error-404,whenever i try to fetch it.

please help me out....

Thanks in advance.
Regards,
Anubha.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are there any error messages in the catalina.out file in the "logs" directory?
 
anubha goel
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
no there are no errors....

Thanks and Regards,
Anubha.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is Tomcat running?

Who's 404 page are you seeing; Tomcat's or the default 'Friendly Error' page that MSIE displays instead of the actual server error?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13048
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My guess is that Tomcat is not actually running due to some startup error. What method are you using to start Tomcat?

Assuming windows - can you see a Java process in the Windows Task Manager?

Bill
 
anubha goel
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
thanks a lot..
my problem got solved as there was some startup error.
i just restarted tomcat through console after shutting down all releated aplications and it worked...

Thanks & Regards,
Anubha
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic