"[EMAIL PROTECTED]" wrote : I am assuminig that you have the JAXB classes at
the root of your EAR archive (or some other accesible location). Do you have
the JAR files listed in the relevant MANIFEST.MF entries in your application
components (ie WAR, EJB)?
|
Thank you for your reply.
Yes, the JAXB jars are at the root of the EAR archive.
foobar_integration.jar contains the java code using JAXB.
foobar_presentation.war contains the web application.
Both jars are in the root folder of foobar.ear ("EAR-ARCHIVE").
The JAXB (2.0) jars are listed in
EAR-ARCHIVE/foobar_integration.jar/META-INF/MANIFEST.MF...
| Manifest-Version: 1.0
| Ant-Version: Apache Ant 1.6.5
| Created-By: 1.5.0_07-b03 (Sun Microsystems Inc.)
| Class-Path: junit-4.1.jar activation.jar dtd-parser-1.0.jar isorelax.jar
jaxb-api-doc.zip jaxb-api.jar jaxb-impl.jar jaxb-xjc.jar jsr173_1.0_api.jar
msv.jar relaxngDatatype.jar resolver.jar rngom.jar txw2.jar xsdlib.jar
xsom-src.zip xsom.jar framework_access.jar axis-ant.jar axis.jar
commons-discovery-0.2.jar commons-logging-1.0.4.jar jaxrpc.jar log4j-1.2.8.jar
saaj.jar wsdl4j-1.5.1.jar jboss-ejb3x.jar j2ee.jar
|
...and in EAR-ARCHIVE/foobar_presentation.war/META-INF/MANIFEST.MF:
| Manifest-Version: 1.0
| Ant-Version: Apache Ant 1.6.5
| Created-By: 1.5.0_07-b03 (Sun Microsystems Inc.)
| Class-Path: commons-codec-1.3.jar commons-validator-1.3.0.jar foobar_l
| ogic.jar j2ee.jar commons-collections-3.1.jar commons-digester-1.6.ja
| r jstl.jar standard.jar myfaces-api-1.1.3.jar myfaces-impl-1.1.3.jar
| commons-logging-1.0.4.jar jboss-ejb3x.jar junit-4.1.jar axis-ant.jar
| axis.jar commons-discovery-0.2.jar commons-logging-1.0.4.jar jaxrpc.j
| ar log4j-1.2.8.jar saaj.jar wsdl4j-1.5.1.jar activation.jar dtd-parse
| r-1.0.jar isorelax.jar jaxb-api-doc.zip jaxb-api.jar
| jaxb-impl.jar jaxb-xjc.jar jsr173_1.0_api.jar msv.jar relaxngDatatype.jar
resolver.jar rngom.jar txw2.jar xsdlib.jar xsom-src.zip xsom.jar
commons-el-1.0.jar tomahawk-1.1.3.jar common_presentation.jar
commons-lang-2.1.jar foobar_integration.jar commons-fileupload-1.1.1.jar
commons-beanutils-1.7.0.jar
|
I think these are all the relevant MANIFEST.MF files where the JAXB jars have
to be listed. Am I right?
Why does JBoss prefer the old JAXB classes in jboss-j2ee.jar from the
\jboss-4.0.4.GA\server\default\lib folder?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988479#3988479
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988479
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user