This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Tomcat and the fly likes deploy webapp on tomcat 5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "deploy webapp on tomcat 5" Watch "deploy webapp on tomcat 5" New topic

deploy webapp on tomcat 5

Neeraj Macker
Ranch Hand

Joined: Nov 10, 2004
Posts: 77
i have to deploy a web application on tomcat 5.0 on a linux platform. my application is not a war file but a normal directory structure.i have placed the dir in tomcat_home/webapps as myapp

i have also made entry in conf/server.xml

<context path="/myapp" docBase="myapp" debug="0">

then i shutdown and restarted the tomcat. still when i do http://ip/myapp it gives 404 error.

plz help
Sonny Gill
Ranch Hand

Joined: Feb 02, 2002
Posts: 1211

You can start off looking at the logs generated by Tomcat, they are ususally in <Tomcat Home>/logs folder.
If you have Tomcat manager application installed, check if your webapp shows up in the list of apps running.
It is sorta covered in the JavaRanch Style Guide.
subject: deploy webapp on tomcat 5