users@glassfish.java.net

Re: JAXBContext ClassCastException from osgi bundle with full gl

From: Sahoo <sanjeeb.sahoo_at_oracle.com>
Date: Mon, 24 Oct 2011 09:21:26 +0530

You can continue to produce one version of snippet.osgi.jaxb.jar for all
environments, but deploy it differently in GlassFish vs. other non-OSGi
servers. While using GlassFish, just use this jar; while using other
servers, deploy a war containing this jar along with an osgi framework,
bridge servlet, etc. Would this work for you?

Sahoo
On Saturday 22 October 2011 11:42 PM, forums_at_java.net wrote:
> Thank you so much Sahoo,
>
> your really help me to understand better what's happened here. I also
> agree
> with your conclusion,
>
> but just to explain to you the reason I tried to have it working like
> this in
> glassfish, was because the application is supposed to run on Tomcat,
> Weblogic
> and Glassfish, so it would have been good to be able to keep one
> packaging
> type as unfortunately Weblogic and Tomcat does not support WAB
> deployment.
>
>
>
> Thanks Again,
>
> Regards,
>
> Arnaud
>
>
> --
>
> [Message sent by forum member 'amergey']
>
> View Post: http://forums.java.net/node/855100
>
>