Classloader Concept

2007-04-24 Thread Thomas Papke
I need some help to the classloader concept of tomcat... (version 5.5.) Our Tomcat has about 60 webapps running - right now every webapps have in their Web/lib directory the libs for activation and java mail (among other libs). As I understand, right now this libs are 60times loaded

Re: Classloader Concept

2007-04-24 Thread Leon Rosenberg
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

Re: Classloader Concept

2007-04-24 Thread David Delbecq
among all apps. leon On 4/24/07, Thomas Papke [EMAIL PROTECTED] wrote: I need some help to the classloader concept of tomcat... (version 5.5.) Our Tomcat has about 60 webapps running - right now every webapps have in their Web/lib directory the libs for activation and java mail (among other

Re: Classloader Concept

2007-04-24 Thread Luis Rivera
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... (version 5.5.) Our Tomcat has about 60 webapps running - right now every webapps have in their Web/lib directory the libs for activation

Re: Classloader Concept

2007-04-24 Thread Rainer Jung
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

Re: Classloader Concept

2007-04-24 Thread David Smith
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

Re: Classloader Concept

2007-04-24 Thread Luis Rivera
termes: 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

Re: Classloader Concept

2007-04-24 Thread Rainer Jung
... 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 loader