tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <>
Subject RE: Changing defaultHost from localhost to a FQDN
Date Fri, 27 Oct 2006 21:21:14 GMT
> From: Alan Burlison [] 
> Subject: Re: Changing defaultHost from localhost to a FQDN
> I have it working - well, kinda.  If I deploy the application as ROOT,
> and with ROOT as the docBase it works fine.  If I move it to "meshcms"
> (the WAR file name) and modify docRoot to match, it doesn't.

The above is confusing to me.  Where is the app deployed?  Where is the
<Context> element for this app located?  What are the attributes
specified for this <Context>?

With Tomcat 5 and above, <Context> elements should not go in server.xml,
the path attribute must not be used, and docBase can be used only when
the <Context> element is in conf/[engine]/[host]/[appname].xml AND the
app is not deployed in the <Host>'s appBase directory.

 - 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