Java Mailing List Archive

http://www.junlu.com/

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

RE: Tomcat 5.5.20 application context set using Path?

Caldarale, Charles R

2007-08-09

Replies:

> From: Vigorito, Nicholas E. [mailto:NICHOLAS.E.VIGORITO@(protected)]
> Subject: Tomcat 5.5.20 application context set using Path?
>
> I have a web app that is located outside the webapps
> directory. Put the context file app_name.xml in the
> conf/Catalina/localhost directory. The context has a
> docBase attribute that points to the directory and has
> a path attribute.

You were o.k. up to that point. The path attribute must not be used;
instead, insure that the name of the file containing your <Context>
element is the path you wish to use for your webapp. Recent versions of
Tomcat got rid of the redundancy and ambiguity of the path attribute.

- 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.