Posted By:
Anonymous
Posted On:
Tuesday, April 16, 2002 06:50 AM
I also have this kind of problem : my EJB works well with Inprise Application Server (and very very well). But i have to make it work on Websphere. But Websphere 4.0 doesn't want to load it...
Everything is fine during deployment with the deploy tool, i can set every parameter without any problem, i can generate all the stubs with no error. But when i install the EJB in WAS 4.0, i receive a NoClassDefFoundError exception, WAS says he can't find a particular stub : he searches javax/ejb/_EJBHome_Stub, while i have in my .ear a org/omg/stub/javax/ejb/_EJBHome_Stub. I've been looking at other EJBs, the examples from ibm given with WAS 4.0 increment and beenThere), which have the org/omg/stub/javax/ejb/_EJBHome_Stub, but who work perfectly in WAS and who don't have this exception. I have tried a lot of things, but nothing worked...
I don't understand why Websphere wants this truncated package, while it seems that the norm is the whole package name...
If somebody has an answer...
The error is :
WSVR0040E : Echec de addEjbModule pour com.ibm.ejs.models.base.config.applicationserver.impl.EJBModuleRefImpl (desiredExecutionState: START) (uri: Deployed_DKLinkDemoEJB.jar)
java.lang.NoClassDefFoundError: javax/ejb/_EJBHome_Stub
etc...
Thank you.