• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

error running servlets using tomcat

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 43026
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are there any error messages in the catalina.out file in the "logs" directory?
 
anubha goel
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
no there are no errors....

Thanks and Regards,
Anubha.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic