How do your bundle dependencies look like? Or do you add anything to
your bundle as well?
MartiNG
On 10/20/2011 03:15 PM, forums_at_java.net wrote:
> Hello,
>
> Trying to deploy some bundle using JAXB, this bundle works perfectly on
> Glassfish 3.1.1 web profile version, but strangely, the same bundle on
> Glassfish 3.1.1 full platform give folloiwing exception:
>
> javax.xml.bind.JAXBException: ClassCastException: attempting to cast
> bundle://2.0:1/javax/xml/bind/JAXBContext.class to
> jar:file:/C:/progs/jee/glassfish/glassfish-3.1.1/glassfish3/glassfish/modules/endorsed/jaxb-api-osgi.jar!/javax/xml/bind/JAXBContext.class
>
>
> Does it ring some bell to someone ?
>
> Thanks, and regards,
>
> Arnaud
>
>
> --
>
> [Message sent by forum member 'amergey']
>
> View Post: http://forums.java.net/node/855100
>
>
--
Martin Grebac, GlassFish/Metro/JAXWS/JAXB/Tooling at Oracle
http://blogs.oracle.com/mgrebac
ICQ: 93478885