|
Problem |
You receive the following EJB-related error occuring in
the stdout file of WebSphere Application Server V4.0.3 through V4.0.6:
[8/23/03 4:48:25:390 EDT] 65f46e EJBEngine X WSVR0040E: addEjbModule
failed for
com.ibm.ejs.models.base.config.applicationserver.impl.EJBModuleRefImpl
(desiredExecutionState: START) (uri: release_ejb.jar)
java.lang.NoClassDefFoundError: com/mycompany/myclass/EBException
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:232)
at
com.ibm.ejs.container.EJSContainer.loadBeanMetaData(EJSContainer.java:873)
at
com.ibm.ejs.container.EJSContainer.getHomeInstance(EJSContain(EJSContainer..
...
|
|
Cause |
This problem can be caused by classloader policy
incorrectly set to MODULE, instead of APPLICATION. |
|
Solution |
Change the classloader policy to APPLICATION and retest.
|
|