hi,
By http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
Shared is the parent classloader of webapp.

AFAIK the consequence of this in that a class loaded from webapp classloader
can see other classes (whenever  they come from shared, webapp or common),
but the reverse is not true, and could lead to ClassNotDef or ClassNotFound
exeption unless some classloader hack are performed ...



On 12/11/06, David Kerber <[EMAIL PROTECTED]> wrote:

From what I've read in the Tomcat 5.5 docs, I should be able to deploy
a .jar that is shared across multiple webapps on Windows by putting it
in the (tomcat)/shared/lib folder, but I've never gotten that to work.
I've always had to put that jar in the web-inf/lib folder of each of the
webapps that need it, in order for them to be able to use it.  Why is
that?  Is there something I'm missing about deploying shared jars?  The
wasted disk space doesn't matter, but the hassle of putting the same
.jar file in multiple different places does...

Any help or explanations would be appreciated!
Dave



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
"Souviens-toi qu'au moment de ta naissance tout le monde était dans la joie
et toi dans les pleurs.
Vis de manière qu'au moment de ta mort, tout le monde soit dans les pleurs
et toi dans la joie."

Reply via email to