users@glassfish.java.net

Re: glassfish v2.1.1: how to override jaxb libs used by fault?

From: Jakub Podlesak <Jakub.Podlesak_at_Sun.COM>
Date: Thu, 03 Jun 2010 18:15:57 +0200

You need to place the jars into the endorsed subdirectory instead to
override the JAXB implementation bundled with JRE.

HTH,

~Jakub

glassfish_at_javadesktop.org wrote:
> I need to use jersey 1.1.4 or above, which requires jaxb 2.1.
> I copied jaxb-api-2.1.jar and jaxb-impl-2.1.12.jar to $instanceRoot/lib and even $domainRoot/lib/applibs.
> I tried deploying my war file by admin console and command line using --library but none seems working. My web app always uses the jaxb implementation classes from webservices-rt.jar.
> Anyone know how to solve this problem? Thanks a million in advance!
> [Message sent by forum member 'bobxu']
>
> http://forums.java.net/jive/thread.jspa?messageID=472569
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>