File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.

subject: Problems with Custom valve for Tomcat
Similar Threads
How do I disable port 80 for certain URLs
Reg Tom cat valve
Tomcat server name issues
Custom error page
problem writing tomcat valve