Alexandros Karypidis wrote:
So I did a quick test with JBoss 5.1 using the Native core and JDK1.6.0_16 and CXF 2.2.3. I bundled all CXF jars in WEB-INF/lib and configured the class-loader isolation of my previous e-mail. The following jars caused linkage errors:

geronimo-activation_1.1_spec-1.0.2.jar
geronimo-servlet_2.5_spec-1.2.jar
geronimo-stax-api_1.0_spec-1.0.1.jar
jaxb-api-2.1.jar
jaxb-impl-2.1.12.jar
jaxb-xjc-2.1.12.jar
saaj-api-1.3.jar
saaj-impl-1.3.2.jar

After removing the above from WEB-INF/lib, my war worked in JBoss-Native, JBoss-CXF and Tomcat. Needless to say, if you don't use a JDK > 1.6.0_04, you mileage will vary.
Perhaps the linkage errors are due to the endorse mechanism that basically cause the jaxb libs (and some other ones) to be loaded in the bootstrap classloader (see the libs in jboss-home/lib/endorsed).
Cheers
Alessio

P.S. thanks for the support here :-)

--
Alessio Soldano
Web Service Lead, JBoss

Reply via email to