tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <>
Subject RE: Having both Manager and non-default webapps as root
Date Thu, 26 Jul 2007 18:55:27 GMT
> From: Propes, Barry L [] 
> 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 []
> Subject: Having both Manager and non-default webapps as root
> <Host name="" 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

 - Chuck

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:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message