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:
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.
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.
Vitor Isaia - Brasil