-
1. Re: JBoss 4.0.4GA and JAXB
tdevos May 16, 2006 10:52 AM (in response to tdevos)Hi,
In the mean time I didn`t find a solution for this problem. I already tried with:<server> <!-- EAR deployer, remove if you are not using ear deployments --> <mbean code="org.jboss.deployment.EARDeployer" name="jboss.j2ee:service=EARDeployer"> <attribute name="Isolated">true</attribute> <attribute name="CallByValue">true</attribute> </mbean> </server>
But this still gives the error. Nobody has a solution?
Regards,
Tim De Vos -
2. Re: JBoss 4.0.4GA and JAXB
dimitris May 16, 2006 1:45 PM (in response to tdevos)Maybe, put the overriding library inside your scoped .ear
-
3. Re: JBoss 4.0.4GA and JAXB
tdevos May 17, 2006 4:19 AM (in response to tdevos)Thank you for your reply Dimitris.
I already tried that but this gives the same result. I tried to experiment further reading the wiki`s about the classloading issues but unfortunatly wihtout any result. I don`t understand why JBoss uses an own implementation of the javax.xml.bind package. Am I right that the the javax.* and java.* packages are always loaded through the default class loader. Maybe this explains, however doesn`t solve the problem.
Am I right that in JBoss 4.0.3SP1 the JWSDP libraries where compatible but not for JBoss 4.0.4? Is it usefull to update to jwsdp 2.0? However, this contains an early access release of JAXB 2.0 and maybe this is not recommended for a production environment.
Regards,
Tim De Vos -
4. Re: JBoss 4.0.4GA and JAXB
dimitris May 17, 2006 7:18 AM (in response to tdevos)Better ask in the WebServices user forum
-
5. Re: JBoss 4.0.4GA and JAXB
thomas.diesler Jun 2, 2006 7:55 AM (in response to tdevos)The deprecated JAXB1.0 API classes in package javax.xml.bind.* have been removed in jboss-4.0.5.cr1
-
6. Re: JBoss 4.0.4GA and JAXB
tdevos Jun 2, 2006 11:53 AM (in response to tdevos)Thank you for solving this in the next release.
-
7. Re: JBoss 4.0.4GA and JAXB
ramazanyich Jun 19, 2006 10:23 AM (in response to tdevos)Hi,
we had the same issue as we were using JAXB2.0 databinding in our classes.
Until new release of JBOSS is out you can use workaround solution:
Copy jaxb-api.jar and jaxb-impl.jar into JBOSS_HOME/server/default/lib directory and in $JBOSS_HOME/server/default/conf/jboss-service.xml file add following line just after<server>
element:
<classpath codebase="${jboss.server.lib.url:lib}" archives="jaxb-api.jar,jaxb-impl.jar"/>
-
8. Re: JBoss 4.0.4GA and JAXB
frommta Oct 11, 2006 3:00 PM (in response to tdevos)Hi,
Just checking if this is the same issue that I am facing with JBOSS 4.0.4 and JAXB2.0. Let me know.
I am getting this exception while creating JAXBContext. xml.bind is J2EE lib require jaxb.properties, whereas one in JAXB2.0 do not need one.
2006-10-11 11:46:32,049 ERROR [STDERR] Caused by: javax.xml.bind.JAXBException: Cannot load resource: com/engine/xml/jaxb.properties
2006-10-11 11:46:32,049 ERROR [STDERR] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:97)
Let me try the workaround.
Thanks,
mta