-
1. Re: linkageError with duplicate jar files
mroosendaal Dec 14, 2005 9:10 AM (in response to vitorisaia)Is your WAR part of you EAR?
if so just make a lib under the EAR and put the jars there
update the MANIFEST-file for your WAR-file:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.4.2_08-b03 (Sun Microsystems Inc.)
Class-Path: ./lib/a.jar ./lib/b.jar ./lib/etc...
If you want i can post the ANT-target i used.
If not then they reside in different Classloaders and it shouldn;t be a problem. Linkage errors usually have to do with Classloader scoping. -
2. Re: linkageError with duplicate jar files
vitorisaia Dec 14, 2005 9:50 AM (in response to vitorisaia)mroosendaal, thanks for the reply. The war is not a part of the ear, but the war interacts with the ear... they are built and deployd separatelly, but in runtime the war calls the ejbs that are present in the ear... thanks for the ant target, but I think my build.xml already do something very close to that...
just a note, I didn't have this problem until I upgraded to jboss 4.0.3sp1 (we were using the 4.0.3 version), do you think this can be a problem?
thanks a lot.
Regards,
Vitor Isaia - Brasil