I'm not suggesting you place context elements in server.xml. Follow the example at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html to add the valve at the host level.
This way, you don't need to mess with context.xml at all. In server.xml, you would have something like this: | <Server> | ... | <Engine ...> | ... | <Host ...> | ... | <Valve className="org.apache.catalina.valves.RemoteHostValve" | allow="*.mycompany.com,www.yourcompany.com"/> | <Valve className="org.apache.catalina.valves.RemoteAddrValve" | deny="192.168.1.*"/> | ... | </Host> | </Engine> | </Server> | These valves are defined in the Host section, not within Context. The docs claim this is allowed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893259#3893259 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893259 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user