Howdy,
Look at server.xml.  You'll see a Host element with an appBase="webapps"
or something like that.  Add another Host with an
appBase="/some/path/to/my/directory" and restart tomcat.  You will then
be able to deploy apps to this second directory.  And if you don't know
what "RTFM on Host configuration" means with respect to tomcat, or where
to locate the tomcat configuration reference, you're SOL.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Indrasish N Basuroychowdhury
>[mailto:[EMAIL PROTECTED]
>Sent: Monday, November 10, 2003 1:11 PM
>To: Tomcat Users List
>Subject: RE: Can I have two different directories for deploying
webapps?
>
>Shapira,
>
>Don't know how to do. Sorry for the ignorance.
>Could you please help in telling the steps.
>You seem to be knowledgable.
>
>Indrasish.
>
>-----Original Message-----
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: Monday, November 10, 2003 12:52 PM
>To: Tomcat Users List
>Subject: RE: Can I have two different directories for deploying
webapps?
>
>
>
>Howdy,
>There's no code involved.  RTFM on Host configuration.
>
>Yoav Shapira
>Millennium ChemInformatics
>
>
>>-----Original Message-----
>>From: Indrasish N Basuroychowdhury
>>[mailto:[EMAIL PROTECTED]
>>Sent: Monday, November 10, 2003 12:49 PM
>>To: Tomcat Users List
>>Subject: RE: Can I have two different directories for deploying
>webapps?
>>
>>Shapira,
>>
>>Thanks for the reply.
>>Would appreciate any example line of code. Do I have to change the
>>server.xml and add a new context? I was trying to do that but was not
>>able to bring up the server.
>>
>>Thanks,
>>
>>Indrasish.
>>
>>-----Original Message-----
>>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>>Sent: Monday, November 10, 2003 12:22 PM
>>To: Tomcat Users List
>>Subject: RE: Can I have two different directories for deploying
>webapps?
>>
>>
>>
>>Howdy,
>>Yes.  Just define additional Host elements with different appBase
>>directories.
>>
>>Yoav Shapira
>>Millennium ChemInformatics
>>
>>
>>>-----Original Message-----
>>>From: Indrasish N Basuroychowdhury
>>>[mailto:[EMAIL PROTECTED]
>>>Sent: Monday, November 10, 2003 12:21 PM
>>>To: Tomcat Users List
>>>Subject: Can I have two different directories for deploying webapps?
>>>
>>>Can I have two different directories for deploying web applications.
>>>E.g. one as webapps under Tomcat root directory, another under a
>>>different drive, say D:\webapps. Can I deploy servlet as well as JSPs
>>>under these two directories?
>>>
>>>Any help will be appreciated.
>>>
>>>Indrasish.
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>>This e-mail, including any attachments, is a confidential business
>>communication, and may contain information that is confidential,
>>proprietary and/or privileged.  This e-mail is intended only for the
>>individual(s) to whom it is addressed, and may not be saved, copied,
>>printed, disclosed or used by anyone else.  If you are not the(an)
>>intended recipient, please immediately delete this e-mail from your
>>computer system and notify the sender.  Thank you.
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>This e-mail, including any attachments, is a confidential business
>communication, and may contain information that is confidential,
>proprietary and/or privileged.  This e-mail is intended only for the
>individual(s) to whom it is addressed, and may not be saved, copied,
>printed, disclosed or used by anyone else.  If you are not the(an)
>intended recipient, please immediately delete this e-mail from your
>computer system and notify the sender.  Thank you.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to