RE: Tomcat / Java JNI and Classloading issues

2009-05-08 Thread Caldarale, Charles R
> From: scarlson [mailto:scarl...@i2s.com] > Subject: RE: Tomcat / Java JNI and Classloading issues > > So if the WebAppClassLoader delegates to common or shared, > the contextClassLoader will still report WebApp and not > common or shared, just wanted to be clear on that. Th

RE: Tomcat / Java JNI and Classloading issues

2009-05-08 Thread scarlson
> No. The contextClassLoader for any thread executing in a webapp will be > an instance of >WebAppClassLoader. A WebAppClassLoader will delegate to > the common or shared classloader if it fails to >find the requested class > in WEB-INF/lib or WEB-INF/classes. So if the WebAppClassLoader deleg

RE: Tomcat / Java JNI and Classloading issues

2009-05-08 Thread Caldarale, Charles R
> From: scarlson [mailto:scarl...@i2s.com] > Subject: Re: Tomcat / Java JNI and Classloading issues > Please excuse my previous kludge question. O.k. It was way too verbose and rambling for anyone to make much sense of. > My question is, should getContextClassLoader report WebAp

Re: Tomcat / Java JNI and Classloading issues

2009-05-08 Thread scarlson
Please excuse my previous kludge question., Let me start with my first question. My classes are contained and loaded in a jar from ./common/lib (also tried ./shared/lib). When the my common class is instantiated by my web application, the getContextClassLoader reports WebAppClassLoader .. I