I am developing a Jax-Ws web service. It works fine as MyEclipse Server Application using jBoss 4.x. When running it under jBoss or as jBoss remote Java Application I get the error: java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Program%20Files/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp29129Tim-exp.war/WEB-INF/lib/webservices-rt.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
I copied jaxb-api-2.1.jar and jaxb-impl-2.1.10.jar in jBoss’ endorsed directory but the problem continues.
The same behavior occurs when I run MyEclipse Calculator Web Server example.:
Thanks for your help
Ariel