wood burning stoves 2.0
The moose likes Tomcat and the fly likes error running servlets using tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "error running servlets using tomcat" Watch "error running servlets using tomcat" New topic

error running servlets using tomcat

anubha goel

Joined: Jul 06, 2007
Posts: 22
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.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
Are there any error messages in the catalina.out file in the "logs" directory?
anubha goel

Joined: Jul 06, 2007
Posts: 22
no there are no errors....

Thanks and Regards,
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

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?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13006
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?

anubha goel

Joined: Jul 06, 2007
Posts: 22
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,
Have you checked out Aspose?
subject: error running servlets using tomcat
jQuery in Action, 3rd edition