Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems with Custom valve for Tomcat

 
Richard Olson
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic