OK
with this version of manager.xml it works perfect:
The difference is in the way IP is written and in the fact that allow
starts on new row
<?xml version="1.0" encoding="UTF-8"?>
<Context docBase="${catalina.home}/server/webapps/manager"
privileged="true" antiResourceLocking="false"
antiJARLocking="false">
<Valve className="org.apache.catalina.valves.RemoteAddrValve"
allow="192\.9\.202\.231"/>
<ResourceLink name="users" global="UserDatabase"
type="org.apache.catalina.UserDatabase"/>
</Context>
Best regards,
Nikolay Diulgerov
Network Administrator
E-mail: [EMAIL PROTECTED]
Telephone : +33 4 89 87 77 77
Fax : +33 4 89 87 77 00
Web: http://www.codix-france.com
Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]