[Opensource] Ejb with expresso, classloader problem, pls help
Innovest Ken
innovest_11 at yahoo.com
Mon Nov 18 00:14:43 PST 2002
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.
Can anybody share his experience in deploying EJB with
expresso? Did you also define your classpath in the
startweblogic.cmd?
Thanks
Innovest
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
More information about the Opensource
mailing list