I have a custom realm in tomcat6 which is deployed and using jars in the tomcat/lib directory. I would like to move those jars out of tomcat/lib into their separate shared folder of some sort, as I think they may be conflicting with the jars of a WAR.
I tried setting shared.loader to ${catalina.base}/shared/lib,${catalina.base}/shared/lib/*.jar
However, the realm fails to find the jars. Since I don't know the logic for Realm classpaths I tried setting server.loader to also point to my shared lib, but that didn't help any. I'm not sure if I have something wrong with the shared lib, or if the Realm's classpath is resolved in a different manner and so ignores these arguments?
${catalina.base}/lib
? – Christopher Schultz