Hello

I am new to Tomcat and request help with the following problem on
Tomcat/Windows.

My Tomcat installation is at C:\program files\Tomcat

I have created an application as per the instructions in the Tomcat
Application Developer's Guide and am able to build and deploy it using
Ant. When deployed, the application ends up at C:\program
files\Tomcat\lcs (lcs is the application name).

I would however like to have the application deployed to a different
path ie. c:\lcs.

I am able to do this manually, by creating a separate context file in
Catalina/localhost/lcs.xml and specifying the C:\lcs path as the
Context docbase. However, I would like this to happen automatically.

I read that if I place the context fragment in my applications
META-INF/context.xml file, then this should happen automatically.
However, despite doing this, the application is still always deployed
to C:\program files\Tomcat\webapps\lcs instead of C:\lcs.

Any advice would be appreciated. TIA.

Vikram

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

Reply via email to