• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problems with Custom valve for Tomcat

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic