You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by mkalioby <mm...@yahoo.com> on 2009/02/16 11:35:17 UTC

Re: Deploying to a subfolder

I know it is late but I faced the same problem in Linux and successfully
solve it.

The WAR was deploying correctly at the first time and then when i restart
the server it didn't deploy again,

I SOLVED this by 

Deleting the context file in TOMCAT_HOME/conf/Catalina/localhost/APPNAME.xml
before the starting the server so that TomCat see the app as new app
everytime it starts and successfully deploy it.

I wish it works with you.

regards,
Mohamed M. El-Kalioby
Research Assistant 
Nile University
Cairo, Egypt

McEahern, Mark S wrote:
> 
> I'm using Tomcat 6.0.18.  I'd like to deploy an application to the
> context; e.g.,
> 
>   /apps/myapp
> 
> Here's what I've tried:
> 
> 1.  Rename the war file myapp.war --> apps#myapp.war.
> 
> 2.  Copy apps#myapps.war to the webapps folder.
> 
> 3.  Start Tomcat.
> 
> The app is running after the first time I start the service.  However,
> on subsequent restarts (of Tomcat), the application is not running and
> when I try to start it in the manager, I get this message:
> 
>   FAIL - Application at context path /apps/myapp could not be started
> 
> How do I deploy an application to a context of:
> 
>   /apps/myapp
> 
> Thanks,
> 
> 
> 
> Mark McEahern
> Lead Architect
> Division of Public Health Informatics and Surveillance
> Wisconsin State Lab of Hygiene
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Deploying-to-a-subfolder-tp19799666p22034895.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org