permaculture playing cards
The moose likes Tomcat and the fly likes Problems with Custom valve for Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Problems with Custom valve for Tomcat" Watch "Problems with Custom valve for Tomcat" New topic

Problems with Custom valve for Tomcat

Richard Olson

Joined: Mar 15, 2004
Posts: 15

I'm attempting to use the example, RequestDumperFilter class from Tomcat 5.00.28 to create my own custom valve. I've defined the class within server.xml as follows:
<Valve className="com.myFilters.valves.RequestDumperFilter"/> The class file resides in Windows XP directory named CATALINA_HOME\server\claases\com\myFilters\valves.

Tomcat fails to start when the line's uncommented complaining the server cannot locate the class file. The real question, am I installing the calls in the correct directory? I searched for a reference on Tomcat website, but failed to find any. The book, Mastering Tomcat Dev mentions placing the file in the server/classes directory.

I agree. Here's the link:
subject: Problems with Custom valve for Tomcat
jQuery in Action, 3rd edition