Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

RE: Virtual Hosts [mostly solved]

Caldarale, Charles R

2006-12-28

Replies:

> From: Mark Eggers [mailto:its_toasted@(protected)]
> Subject: RE: Virtual Hosts [mostly solved]
>
> For a root context, I usually set up an
> application.xml file in conf/Catalina/<hostname>/ with
> the appropriate path="" in the Context element

That's incorrect for all recent versions of Tomcat. You must not use a
path attribute unless the <Context> element is in server.xml, which is
strongly discouraged. For the default app, place the <Context> element
with an appropriate docBase in a file named ROOT.xml inside each
conf/Catalina/[host] directory.

- 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@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.