users@glassfish.java.net

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

From: <glassfish_at_javadesktop.org>
Date: Thu, 03 Jun 2010 07:05:01 PDT

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