aspose file tools
The moose likes Tomcat and the fly likes what is difference between shared.loader and common.loader Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "what is difference between shared.loader and common.loader" Watch "what is difference between shared.loader and common.loader" New topic
Author

what is difference between shared.loader and common.loader

Tim McGuire
Ranch Hand

Joined: Apr 30, 2003
Posts: 819

the tomcat class loader howto (http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html)

states that:

Shared - This class loader is the place to put classes and resources that you wish to share across ALL web applications (unless Tomcat internal classes also need access, in which case you should put them in the Common class loader instead)

They say "should" instead of "must".

in this case does "should" mean that Tomcat internal classes cannot read these UNLESS they are put in Common?

my situation is that I don't have permission to place jars in tomcat's Common directory, but I do in shared. I don't fully understand the difference between shared.loader and common.loader

can tomcat internal classes access the classes loaded by the shared.loader?

Thanks
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: what is difference between shared.loader and common.loader
 
Similar Threads
Apache Tomcat/4.0.6 - HTTP Status 500 - Internal Server Error
new to tomcat
issue locating a jar file for for logging
Tomcat not resolving external repository
Need help using annotations with Axis2