users@jaxb.java.net

RE: JAXBContext.newInstance Issue

From: Lichtenwalter, Ryan <ryan.lichtenwalter_at_lmco.com>
Date: Thu, 16 Nov 2006 08:00:55 -0600

I no longer have the old configuration to confirm that again, but I am
pretty sure that's the problem. I checked the packages and classes in
the appserv-ws.jar file and it does contain jaxb packages. In any case,
I am uncertain of a way to guarantee that packages in jar files I drop
into lib will be picked up instead of those in appserv-ws.jar

Ryan

-----Original Message-----
From: Kohsuke Kawaguchi [mailto:Kohsuke.Kawaguchi_at_Sun.COM]
Sent: Wednesday, November 15, 2006 7:45 PM
To: users_at_jaxb.dev.java.net
Subject: Re: JAXBContext.newInstance Issue

Lichtenwalter, Ryan wrote:
> Yes, I'm using Sun Java System Application Server PE9. The file that
> causes the problem is appserv-ws.jar in the server's lib directory.
> There may be some way to prepend another path to the classpath for the

> server, but I am not sure how to do that for SJSAS.

OK. So just to understand the situation better, the issue is that
because appserv-ws.jar contains a copy of the JAXB RI, even if you drop
JAXB RI jars into the appserver's lib directory, it will be still hidden
by appserv-ws.jar, right?

PE9 folks should be in the same floor, so I'll find them and ask them.

--
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com