wood burning stoves*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Problems with Custom valve for Tomcat" Watch "Problems with Custom valve for Tomcat" New topic
Author

Problems with Custom valve for Tomcat

Richard Olson
Greenhorn

Joined: Mar 15, 2004
Posts: 15
Hi,

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.

Thanks,
Rich
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problems with Custom valve for Tomcat
 
Similar Threads
Reg Tom cat valve
Tomcat server name issues
Custom error page
How do I disable port 80 for certain URLs
problem writing tomcat valve