[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tapestry-user
Subject:    Re: classloading across contexts
From:       Marcus Brito <mbrito () gmail ! com>
Date:       2004-11-30 14:10:49
Message-ID: 9e7ab73804113006107ec50b86 () mail ! gmail ! com
[Download RAW message or body]

I guess this is a question to tomcat-users, or maybe tomcat-dev.
Tapestry itself doesn't manage classloaders.

Generally, however, web servers use a different classloader for each
web application. If you have the same library deployed to WEB-INF/lib
in two different applications, it will be loaded twice. If you want to
share a library between two or more applications, you should deploy
this library to a common repository -- if you're using tomcat, that's
$CATALINA_HOME/common/lib. Be warned, however, that not all libraries
work correctly when shared by multiple applications, since all
applications would share the same static data.

-- Marcus Brito

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic