Java Mailing List Archive

http://www.junlu.com/

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

RE: Tomcat Status, Administration and Manager not working

Caldarale, Charles R

2006-12-28

Replies:

> From: dl [mailto:dl.lists@(protected)]
> Subject: Tomcat Status, Administration and Manager not working
>
> conf\Catalina\localhost\admin.xml
> and
> server\webapps\admin\admin.xml

The latter .xml file isn't actually used; only the one in
conf/Catalina/localhost is significant.

> .. valves were uncommented to allow access to "localhost".

I presume you mean "allow access only to localhost" or "restrict access
to only localhost". Access is normally permitted to all IP addresses.

> <Valve className="org.apache.catalina.valves.RemoteAddrValve"
>   allow="localhost"/>

Use the actual IP address (usually 127.0.0.1), not the pseudo-DNS name.
This appears to be required even when the <Connector> is configured with
the enableLookups attribute set to true.

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