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: RemoteAddrValve
Date Wed, 28 Nov 2007 17:47:54 GMT
> From: Christopher Schultz [mailto:chris@christopherschultz.net] 
> Subject: Re: RemoteAddrValve
> 
> Propes, Barry L wrote:
> > probably that path attribute is wrong, correct? Not needed on 5x?
> 
> Yes, it's necessary, since the OP isn't dropping a WAR anywhere, but
> installing a context.xml file.

Nope, the path attribute is not allowed, and must be removed.  The path
is derived from the name of the file the <Context> element is in.  Note
that the OP is not installing a context.xml file, he's modifying the one
in conf/Catalina/localhost/manager.xml.

However the erroneous path attribute is not likely the source of the
NPE.  One possible cause is extraneous control characters in the file,
such as the ordering prefix some editors like to throw in at the
beginning when editing Unicode.

 - 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