wood burning stoves 2.0*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
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: 820

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://aspose.com/file-tools
 
subject: what is difference between shared.loader and common.loader
 
Similar Threads
issue locating a jar file for for logging
new to tomcat
Tomcat not resolving external repository
Need help using annotations with Axis2
Apache Tomcat/4.0.6 - HTTP Status 500 - Internal Server Error