This question was asked last week.

http://www.mail-archive.com/[EMAIL PROTECTED]/msg33990.html

You can aslo create loader repositories for each war,
see docs/dtd/jboss_web_3_2.dtd

Regards,
Adrian

On Tue, 2003-12-09 at 13:31, Brad Balmer wrote:
> We are deploying multiple WAR files that share a common base JAR file.  
> This common JAR file is located in the individual /WEB-INF/lib of the 
> WAR files and will be different from WAR to WAR.  (Needed to do this for 
> versioning and not wanting to regression test each application with a 
> change to the JAR).
> 
> Our problem seems to be with how JBoss/Tomcat is loading the classes.  
> The first WAR to be loaded has the oldest version of the JAR inside it.  
> When the last application gets loaded (which unfortunately has the 
> newest version of the JAR) and subsequently run, I am getting a 
> NoSuchMethodError on a class in the JAR, when I know that it is there.
> 
> Is there a way to configure JBoss/Tomcat to load each WAR separately so 
> that I can have multiple instances of the JAR across several WAR's?
> 
> Thank you for any help anyone can give.
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
-- 
xxxxxxxxxxxxxxxxxxxxxxxx 
Adrian Brock
Director of Support
Back Office
JBoss Group, LLC 
xxxxxxxxxxxxxxxxxxxxxxxx 



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to