... and finally don't forget, that the pathes used by these class
loaders are configured in conf/catalina.properties.
Luis Rivera schrieb:
> Well, that makes sense and I have had no problems using the shared class
> loader. I guess I did something wrong when I tried to use the common class
> loade
Well, that makes sense and I have had no problems using the shared class
loader. I guess I did something wrong when I tried to use the common class
loader for my jni classes. I guess I am light years away from really knowing
tomcat :)
--Luis R.
On 4/24/07, David Smith <[EMAIL PROTECTED]> wrote:
My experience has been the reverse -- shared/lib is usually disabled and
not working, common/lib is used most of the time.
The difference between the two is common/lib is visible to both tomcat
internals and the webapps. That's why we put the db drivers in there
for container managed connecti
common: shared between all webapps and tomcat itself
shared: only shared between all webapps
Luis Rivera schrieb:
> Hi,
>
> Just as a comment. I use the shared classloader by using the shared folder
> to avoid loading multiple times my shared libraries (for jni use). I am not
> sure what is the
Hi,
Just as a comment. I use the shared classloader by using the shared folder
to avoid loading multiple times my shared libraries (for jni use). I am not
sure what is the difference with the common/lib classloader, but it did not
work when I used that one.
--Luis R.
On 4/24/07, David Delbecq
Sorry Leon but you are wrong.
What Thomas looks for is common/lib, not server/lib
according to
http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html it's
common/lib that is loaded in common classloader. server/lib is loaded in
catalina classloader which is not visible for webapps.
To an
i thinks its server/lib you are looking for (or common/endorsed) but
i'm not sure whether java mail has some static fields which will be
screwed by sharing them among all apps.
leon
On 4/24/07, Thomas Papke <[EMAIL PROTECTED]> wrote:
I need some help to the classloader concept of tomcat... (ve