tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Janner" <Jeffrey.Jan...@PolyDyne.com>
Subject RE: Adding a new webapps directory
Date Mon, 19 Oct 2009 14:42:30 GMT
Charles -
On a related note, is the appBase required?
I deploy strictly using the conf/[Engine]/[Host]/[appName].xml method
and have no actual use for the appBase directory.  However, all my hosts
end up pointing to an empty directory.  I'd prefer not to have it just
sitting around since it's not needed.
I think I tried it at 4.x and Tomcat wouldn't come up without it.  I'm
at 5.5.x now, going to 6.x in the near future.  Is it still required?
Jeff

-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: Saturday, October 17, 2009 10:11 AM
To: Tomcat Users List
Subject: RE: Adding a new webapps directory

> From: Marco Rocco [mailto:mr85mr@gmail.com]
> Subject: Adding a new webapps directory
> 
> It's possible to add a new webapps directroy more then the default
> tomcat webapps (/opt/tomcat/webapps) ?

There is no means of specifying more than one appBase directory per
<Host>.  However, each <Host> element can specify a separate appBase
directory, so you can segregate your webapps that way.  You can also
create <Context> elements in conf/Catalina/[host]/[appName].xml that
have docBase attributes pointing to a specific deployment location for
the webapp outside of the <Host> appBase.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.


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



*******************************  NOTICE  *********************************
This message is intended for the use of the individual or entity to which 
it is addressed and may contain information that is privileged, 
confidential, and exempt from disclosure under applicable law.  If the 
reader of this message is not the intended recipient or the employee or 
agent responsible for delivering this message to the intended recipient, 
you are hereby notified that any dissemination, distribution, or copying 
of this communication is strictly prohibited.  If you have received this 
communication in error, please notify us immediately by reply or by 
telephone (call us collect at 512-343-9100) and immediately delete this 
message and all its attachments.


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


Mime
View raw message