users@jaxb.java.net

Re: JAXB 1.0.1 Sealing Violation

From: Kohsuke Kawaguchi <kohsuke.kawaguchi_at_sun.com>
Date: Thu, 08 Dec 2005 12:51:39 -0800

Prashant wrote:
>> JAXB RI ver.X can run applications that are developed with JAXB RI
>> ver.Y as long as X>Y. So you can put jaxb-impl.jar from JAXB 1.0.4,
>> throw away all JAXB 1.0.1 jars, and it should work.
>
> I had tried that too. I copied all the 4 jaxb jars from 1.0.4
> distribution (jaxb-apis, jaxb-impl, jaxb-libs, and jaxb-xjc) to replace
> those 4 jars from 1.0.1 version.

Mmm, this is really supposed to work.

The error you saw will happen only if
com/sun/ts/lib/porting/web/jaxb.properties is missing
"com.sun.xml.bind.jaxbContextImpl" property, but this should have been
there since 1.0.1 --- can you send us your jaxb.properties?


-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com