logo       

AW: [QUESTION] having classloader problems with OpenEJB: msg#00183

jakarta.avalon.phoenix.devel

Subject: AW: [QUESTION] having classloader problems with OpenEJB

íf you didn't allready - stop diging into this i solved the classloader
problems.

the problem was that the OpenEJB classloader system sucks and that
it was messing with the VM's system classloader. because of that
i wasn't able to resolve some classes.

regards

daniel s. haischt
--

> -----Ursprüngliche Nachricht-----
> Von: Peter Donald [mailto:peter@xxxxxxxxxx]
> Gesendet: Dienstag, 15. Oktober 2002 13:03
> An: Avalon-Phoenix Developers List
> Betreff: Re: [QUESTION] having classloader problems with OpenEJB
>
>
> Hmm. Very wierd. Is the source to this jar available? If so point
> me at it and
> I will see if I can figure out what the problem is.
>
> On Tue, 15 Oct 2002 06:51, Daniel S. Haischt wrote:
> > hello,
> >
> > i just debugged the OpenEJB block in intellij idea,
> > below is the classloader hirarchy i got from intellij.
> >
> > + java.net.URLClassLoader (1)
> >
> > `-+
> org.apache.avalon.phoenix.components.classloader.PolicyClassLoader (2)
> >
> > `-+ sun.misc.Launcher$AppClassLoader (3)
> >
> > `-+ sun.misc.Launcher$ExtClassLoader (4)
> >
> > 1) contains the Java Enterprise Beans
> > 2) contains all the jars located in SAR-INF/lib
> > and needed by OpenEJB
> > 3) contains the phoenix-loader jar
> > 4) contains all jars from $PHOENIX_HOME/lib
> > needed by phoenix
> >
> > while loading an enterprise bean, the bean itself gets
> > loaded but not the interface that is implemented by
> > the bean. allthough the ejb-1.0.jar is definitly in CL #2.
> >
> > this seems totally weird to me and i am not making
> > any progress with this issue.
> >
> > regards
> >
> > daniel s. haischt
>
> --
> Cheers,
>
> Peter Donald
> Einstein argued that there must be simplified explanations of
> nature, because
> God is not capricious or arbitrary. No such faith comforts the software
> engineer.
> - Fred Brooks, Jr.
>
>
> --
> To unsubscribe, e-mail:
> <mailto:avalon-phoenix-dev-unsubscribe@xxxxxxxxxxxxxxxxxx>
> For additional commands, e-mail:
> <mailto:avalon-phoenix-dev-help@xxxxxxxxxxxxxxxxxx>
>
>
>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise