[Opensource] Ejb with expresso, classloader problem, pls help
Innovest Ken
innovest_11 at yahoo.com
Mon Nov 18 22:01:02 PST 2002
hi all,
So how is everybody using ejb and expresso, do u put
in the classpath at the startweblogic.cmd or did u put
expresso into ear and put the classpath in the
manifest.mf file? So far i'm not successfully with
putting expresso in ear file, so right now i'm putting
all the classpath of jar files in the system classpath
and this is not elegant.
Innovest
--- "Peter A. J. Pilgrim"
<peterp at xenonsoft.demon.co.uk> wrote:
> Innovest Ken wrote:
> > hi all,
> >
> > The problem comes when the ejb need to use the
> classes
> > in expresso. NoClassDefFound exception occurs! I'm
> > using Weblogic 7.0 with expresso 4.02. I have
> deployed
> > 2 ejb on weblogic.
> >
> > So the workaround is: I set the system classpath
> to
> > point to web-inf\classes to point to all the
> classes
> > of expresso and also point to all the jar files in
> the
> > lib of expresso. Then the error went away.
> >
> > I have read that the better way is to use
> manifest.mf
> > files to point to the jar files shared between EJB
> and
> > webApplication. But this can only be done if
> expresso
> > can be created in war file. I tried to put
> expresso
> > into war file but encounter deployment problems.
> > Unless I put everything in expresso.ear file
> without
> > any war file, then it works.
>
> Yes.
>
> I am not sure if this is the right answer.
> You are supposed to be able to add to MANIFEST.MF to
> the
> WAR file.
>
> class-path: acmeejb.jar
>
> Apparent this will allow classes in WAR file to
> access
> EJBs packed in the `acmeejb.jar'. Not sure about the
> other way around.
>
> >
> > Can anybody share his experience in deploying EJB
> with
> > expresso? Did you also define your classpath in
> the
> > startweblogic.cmd?
> >
>
> How are you finding EJB and Expresso?
>
> --
> Peter Pilgrim
> ServerSide Java Specialist
>
> My on-line resume and for interview videos about
> myself, J2EE
> Open Source, Struts and Expresso.
> ||
> \\===> ``
> http://www.xenonsoft.demon.co.uk/no-it-striker.html
> ''
>
> _______________________________________________
> Opensource mailing list
> Opensource at jcorporate.com
>
http://mail.jcorporate.com/mailman/listinfo/opensource
> Archives:
http://mail.jcorporate.com/pipermail/opensource/
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
More information about the Opensource
mailing list