|
Re: JAXBContextFactory Not Found [message #642971 is a reply to message #642854] |
Fri, 03 December 2010 15:00 |
|
Hi,
The jaxb.properties file should be included with and in the same package as the domain classes.
By default GlassFish uses the Metro JAXB implemention, Metro is the JAXB reference implementation. GlassFish contains EclipseLink's core and JPA components, but does not yet include the MOXy and SDO components. However you can add the MOXy bundle yourself from:
- http://www.eclipse.org/eclipselink/downloads/
Unfortunately, currently the JAX-WS implementation in GlassFish is hard coded to use the Metro JAXB implementation. Once you solve your current configuration issue, you will get to the point where you see a ClassCastException from the JAX-WS layer when you try to use MOXy JAXB.
Alternatively MOXy can be used as the binding layer with Jersey (JAX-RS) in GlassFish. For an example see:
- http://wiki.eclipse.org/EclipseLink/Examples/REST
-Blaise
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03547 seconds