tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Having both Manager and non-default webapps as root
Date Thu, 26 Jul 2007 18:55:27 GMT
> From: Propes, Barry L [mailto:barry.l.propes@citi.com] 
> Subject: RE: Having both Manager and non-default webapps as root
> 
> Ok, Chuck...get ready.

And I'm trying to get out of here to go to Oshkosh...

> From: dracus [mailto:dracus@mit.edu]
> Subject: Having both Manager and non-default webapps as root
> 
> <Host name="ourapp.mit.edu" appBase="">
> <Context path="" docBase="webapps/ourapp" >
> </Context>
> </Host>

Where to begin...

First, don't put <Context> elements in server.xml; really bad form when
much more flexible alternatives are available.

Second, an empty appBase is guaranteed to cause problems.  I'm surprised
Tomcat comes up at all.

Third, to do what you I think you want (different default apps for each
developer), you'll need to set up a <Host> for each one, so that they
can each have a unique appBase.  With each appBase directory, the
developer must deploy their default app under the name ROOT.

Fourth, you'll need to put a manager.xml file under each
conf/Catalina/[host], all with the same absolute docBase that points to
the location of the manager app.

Fifth, you might try to tell us the version of Tomcat you're working
with.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message