ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet" <gno...@gmail.com>
Subject Re: Dependencies included in the JBI component
Date Tue, 26 Feb 2008 15:39:40 GMT
Yeah, I know that and it works.
The problem is that I'd like to incude xmlbeans (which is required) but without
the org.w3c classes, which causes a LinkageExcpetion.
I guess I could do that myself and include a patched jar instead of the default
xmlbeans one.

On Tue, Feb 26, 2008 at 4:35 PM, Matthieu Riou <matthieu@offthelip.org> wrote:
> On Tue, Feb 26, 2008 at 7:25 AM, Guillaume Nodet <gnodet@gmail.com> wrote:
>
>  > So the exception is still present, unless I turn on parent-first
>  > classloading
>  > delegation.  Which sounds correct, because the org.w3c.* class which
>  > is present in
>  > xmlbeans is provided by the JRE too.  Which leads to me the following
>  > solutions:
>  >   * remove the class from the component somehow
>  >   * change to parent-first classloader
>  > The first one would not work in ServiceMix 3 (I've just tried), so can any
>  > rake guru point me to how I could achieve the first one ?
>  >
>
>  The list of libraries packaged with the JBI zip are listed on line 414 of
>  our Rakefile. You'll see a list of constants there, just add the missing
>  ones from the list of all our dependencies defined at the beginning of the
>  file.
>
>  Matthieu
>
>
>
>
>  >
>  > >  >  Also, I've seen a LinkageError because xmlbeans include some classes
>  > >  >  from org.w3c package.   Where is xmlbeans used ? I thought jaxb2 was
>  > >  >  used now.
>  > >
>  > >  To answer this part of my email, xmlbeans is actually used in the
>  > deployment.
>  > >  And the problem was caused by a bug in interpreting the JBI
>  > classloader.
>  > >
>  >
>  > --
>  > Cheers,
>  > Guillaume Nodet
>  > ------------------------
>  > Blog: http://gnodet.blogspot.com/
>  >
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Mime
View raw message