I would change appBase in server.xml to pint to WebDir. Then, create a
context for each app with a URI relative to that base. Something like this:

<Host name="localhost"
  debug="0"
  appBase="C:/WebDir"

and

<Context displayName="myApp1"
         path=""
         docBase="myApp1"
...
<Context displayName="myApp2"
     path="/myApp1"
     docBase="myApp1"


----- Original Message ----- 
From: "Suryaanil Lingamallu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, October 26, 2004 5:53 PM
Subject: Application Deployment on Tomcat 5.1


> Hi,
>
>   I need some help on deploying applications on Tomcat 5.1. I installed
> tomcat 5.1 on Windows 2003 Server in C:\Tomcat5.1\
>
> I could create applications under <CATALINA_HOME>/webapps directory.
>
> I need to create a custom deployment directory which is not under
> <CATALINA_HOME>/webapps directory. Let's say that I need to create under
> C:\WebDir\.
>
> My questions are
> 1. Will it possible to do this deployment?
> 2. If it is possible, what is the procedure?
>
> Please share with me your thoughts.
>
> Thanks,
> Surya
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to