tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chris derham <>
Subject Re: How do I deploy a war file to a context path not matching the war file name
Date Fri, 01 Feb 2013 11:06:50 GMT
> The documentation for the docBase (a.k.a context root) attribute
> states that the docBase attribute should be used to point to the war
> or exploded war file. My server's appBase is the default of 'webapps'
> and my WAR and exploded WAR are under webapps so I have specified a
> relative path of 'MYAPP' to point to the exploded war folder (i.e.
> webapps/MYAPP).

move the exploded war to a folder outside of webapps. Personally I
create a folder called notWebapps.

> For clarity, here is the content of the context.xml file:
> <?xml version="1.0" encoding="utf-8"?>
> <Context docBase="MYAPP">
> </Context>

Than alter the docBase to be <Context docBase="../notWebapps/MYAPP">



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message