Re: Avoiding some classes being load for webapps

2016-05-13 Thread Kalpa Welivitigoda
Hi all, I dig more into the issue and observed the following and came up with a solution. The valve I am using is depending on libthrift and libthrift needs slf4j. That's the reason to have slf4j in tomcat/lib. The webapp also used slf4j and it is packed with a higher version of slf4j in

Re: Avoiding some classes being load for webapps

2016-05-09 Thread Burghard Britzke
Hi Kalpa, > Am 09.05.2016 um 19:31 schrieb Christopher Schultz > : > > Signierter PGP-Teil > Kalpa, > > On 5/9/16 6:26 AM, Kalpa Welivitigoda wrote: > > Hi, > > > > I am using tomcat 8.0.28. I am using a custom valve which has a > > dependency for slf4j (slf4j jar

Re: Avoiding some classes being load for webapps

2016-05-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kalpa, On 5/9/16 6:26 AM, Kalpa Welivitigoda wrote: > Hi, > > I am using tomcat 8.0.28. I am using a custom valve which has a > dependency for slf4j (slf4j jar in in tomcat/lib). I also has a set > of webapps which uses different versions of slf4j

Avoiding some classes being load for webapps

2016-05-09 Thread Kalpa Welivitigoda
Hi, I am using tomcat 8.0.28. I am using a custom valve which has a dependency for slf4j (slf4j jar in in tomcat/lib). I also has a set of webapps which uses different versions of slf4j (those dependencies are in the WEB-INF/lib of those webapps). Due to the different versions in tomcat/lib and