-
1. Re: JBoss AS 5.0.1 GA, classloading, ear and wars.
jaikiran Apr 13, 2010 3:06 AM (in response to smangeot)Are you sure, the Foo class is not present in more than one jar files? Also, place the common.jar in .ear/lib folder instead of the root of the ear. The jars in the .ear/lib folder are available to all the components in the .ear (including those 2 war files). And finally, I would recommend that you use the latest AS 5.1.0 instead of 5.0.1.
-
2. Re: JBoss AS 5.0.1 GA, classloading, ear and wars.
smangeot Apr 13, 2010 3:19 AM (in response to jaikiran)Thanks for your quick response.
jaikiran pai a écrit:
Are you sure, the Foo class is not present in more than one jar files?
Yes, we have verified this by calling getProtectionDomain().getCodeSource() on the Foo class from the 2 wars and the same jar file was returned.
jaikiran pai a écrit:
Also, place the common.jar in .ear/lib folder instead of the root of the ear. The jars in the .ear/lib folder are available to all the components in the .ear (including those 2 war files).
We'll try this today.
jaikiran pai a écrit:
And finally, I would recommend that you use the latest AS 5.1.0 instead of 5.0.1.
I agree with you but our hosting partner not .
Thanks, I keep you wired.
Stéphane.