Hi,

On Tue, Aug 28, 2012 at 11:33 AM, Sagara Gunathunga <sag...@wso2.com> wrote:

>
> I don't think shipping Greg with  jaxb version 2.1.7 is a acceptable
> solution we need to ship compatible set of libs for whole platform
> otherwise this make lot of unwanted issues when installing various
> features.  What I think is porting ndatasource in to  jaxb version
> (2.2.5 2.2.6) is the only solution here.
>
>
We have to understand the actual problem here, there is no such thing as
porting the ndatasource implementation to a new version. There is nothing
to port, it uses standard annotations and libs, and those hasn't changed.
It is a class loading issue we are having with the version upgrade, where
some classes, in the ndatasources error case, "JAXBContext", happens to be
that it's implementation is loaded from the JDK and it's API interface is
loaded from the OSGi bundle, so results in a classes not similar and a
"instance of" expressions fails in the JAXB code, which is the actual error
you get from ndatasources. So it is not only an issue for ndatasources, but
a generic error you will get in any place you use JAXB. So the bottom line
is, we have to find the actual root cause for these class loading issues
and fix those, then we should be able to just upgrade it to the latest
version and go from there.

Cheers,
Anjana.


> Thanks !
>
> >
> > Thanks,
> >  - Chethiya
> >
> > On Thu, Aug 23, 2012 at 3:13 PM, Pradeep Fernando <prad...@wso2.com>
> wrote:
> >>
> >> Hi chethiya,
> >>
> >> can you test this modification with a hosted JAXRS and JAXWS web-app
> >>
> >> ---PRadeep
> >
> >
> >
> >
> > --
> > Chethiya Abeysinghe
> > Software Engineer; WSO2, Inc.;  http://wso2.com/
> > email: cheth...@wso2.com     phone: +94 777444891
> > blog: chethiya3000.blogspot.com
> >
> >
> >
> > _______________________________________________
> > Dev mailing list
> > Dev@wso2.org
> > http://wso2.org/cgi-bin/mailman/listinfo/dev
> >
>
>
>
> --
> Sagara Gunathunga
>
> Technical Lead; WSO2, Inc.;  http://wso2.com
> V.P Apache Web Services ;  http://ws.apache.org/
> Blog ;  http://ssagara.blogspot.com
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>



-- 
*Anjana Fernando*
Associate Technical Lead
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to