Hi Cemo,
it is not yet the proper instructions, but could you please try to:
1) stop the AS instance
2) put [1] into your $AS_HOME/lib/endorsed
3) restart the AS instance
4) let me know if it fixes your issue
Thanks,
~Jakub
[1]
http://download.java.net/maven/1/com.sun.xml.bind/jars/jaxb-impl-2.1.12.jar
On Fri, Nov 06, 2009 at 04:51:25PM +0100, Paul Sandoz wrote:
> On Nov 6, 2009, at 4:31 PM, Cemo Koc wrote:
> >Hi Paul,
> >
> >Sorry for late Paul, but I have again same problem. My provider can
> >not be
> >created but at runtime I can reach that library. I don't know what I
> >should
> >do now.
> >
>
> Any stack traces output in the server log?
>
> What version of Jersey are you using?
>
> Are you deploying a war with JAXB jars in the war?
>
> I suspect your JAXBEntityContextResolver cannot be instantiated
> because the JAXB 2.1.x version is being overridden by a lesser JAXB
> version used by GF v2.1.1
>
> Does the following work in your application code:
>
> this.context = new JSONJAXBContext(
> JSONConfiguration.natural().build(), ...);
>
> ?
>
> In the mean time Jakub is going to send out some instructions to use
> the JAXB JSON natural convention of GF v2.1.1.
>
> Paul.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
--
Jakub Podlešák
Software Engineer at SUN Microsystems And CZJUG Co-Leader
http://blogs.sun.com/japod