Solved: A coworker spotted the problem: I wrote "classname" instead of "className" (camelCase).
Alex Alex Jacoby wrote: > > My RemoteHostValve config is causing a NPE when my app deploys, and I > can't figure out why. It seems to be that the class can't be found, but > the tomcat-optional.jar w/ the class is in the standard /server/lib dir. > > I'm using Tomcat 5.5.25 (OS X) and 5.5.20 (linux) and am getting the same > error on both. > > The Valve is defined in my app's context.xml as so: > <?xml version="1.0" encoding="UTF-8"?> > <Context > ...> > <Resource ... /> > <Valve classname="org.apache.catalina.valves.RemoteHostValve" > allow="localhost"/> > </Context> > > The error message in catalina.out I'm getting after adding the valve: > [...] > Thanks for any ideas, > Alex > -- View this message in context: http://www.nabble.com/RemoteHostValve-config-problem-tp14714628p14715819.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]