title: Creating a custom tomcat session manager without putting the jar in the CATALINA_HOME directory?
body: <p>I am working on a custom session manager for Tomcat and I got it working with one caveat, I have to put the jar(and all the associated jars) in the CATALINA_HOME/lib directory or I get a noclassdef found exception, even though the classes are in the WEB-INF/lib directory.</p>
  
  <p>Is there any way to force tomcat to look in the web apps lib directory when it is loading a session manager?  Putting it in the lib directory is error-prone(as you have to remember to copy the jar over when upgrading and/or installing on a new system) and makes development of the jar more difficult.</p>