Thanks Chris - that works perfectly!

On 1 February 2013 11:06, chris derham <ch...@derham.me.uk> wrote:
>> 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">
>
> HTH
>
> Chris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>



-- 
Web: http://www.eddgrant.com
Email: e...@eddgrant.com
Mobile: +44 (0) 7861 394 543

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

Reply via email to