users@jaxb.java.net

Re: JAXB 1.0.1 Sealing Violation

From: Kohsuke Kawaguchi <kohsuke.kawaguchi_at_sun.com>
Date: Tue, 13 Dec 2005 11:46:51 -0800

Prashant wrote:
> Hi Koshuke,
>
>>>> 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?
>
>
> Yes, your guess is correct. the jaxb.properties at the specified package
> does not specify the property "com.sun.xml.bind.jaxbContextImpl".
>
> $ cat com/sun/ts/lib/porting/web/jaxb.properties
> #Sun Nov 16 20:50:32 EST 2003
> javax.xml.bind.context.factory=com.sun.xml.bind.ContextFactory_1_0_1

I'm checking relevant CVS history to find out when this was introduced.
I must have been wrong in saying this property has been there since 1.0.

Will get back to you later...

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com