Hello,

I am having problems trying to deploy a web app to Tomcat 6.  I initially
developed the app with the name LessonDownloader using Eclipse.  I can
export the app as a war file (LessonDownloader.war) and deploy it using the
Tomcat Manager App.  This works fine, and going to
www.mysite.com/LessonDownloader will run the app.

Now I want to deploy the app so that I can run it by going to
www.mysite.com/lessons/download.  I changed the path in my
META-INF/context.xml file to be /lessons/download, but that didn't seem to
affect how it was deployed.  If I change the name of the war file to be
something like download, I can run it by going to www.mysite.com/download,
but I can't figure out how to get the lessons directory in there.

I also tried to deploy it by manually extracting the war file contents to
$CATALINA_HOME/webapps/lessons/download.  I restarted Tomcat, and tried to
go to www.mysite.com/lessons/download, but I got back the Tomcat 404 error
page.  Is there something else I need to setup?

Thanks for any help!

Kelly
-- 
View this message in context: 
http://www.nabble.com/Tomcat-6-Deploy-to-subdirectory-tp16149844p16149844.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to