jQuery in Action, 3rd edition
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
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.
I agree. Here's the link: http://aspose.com/file-tools
subject: deploy webapp on tomcat 5
jQuery in Action, 3rd edition