06-24-04 10:57 PM
I created a Message Driven bean in an EJB 2.0 project to be used with WebSph
ere Commerce 5.6. In my local development environment, when I try to start t
he server instance that I created I get the following error:
[6/22/04 16:17:08:854 EDT] 4e183ef1 EJBContainerI E WSVR0040E: addEjbMod
ule failed for BBGMessageConsumerEJB.jar [class com.ibm.ws.runtime.compo
nent.DeployedModuleImpl]
java.lang.NoClassDefFoundError: com/landnsea/allocation/message/jaxb/PartOrd
erType
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:262)
at com.ibm.ejs.container.EJSContainer.loadBeanMetaData(EJSContainer.java:132
1)
at com.ibm.ejs.container.EJSContainer.getHomeWrapperCommon(EJSContainer.java
:984)
at com.ibm.ejs.container.EJSContainer.getHomeInstance(EJSContainer.java:907)
at com.ibm.ejs.container.EJSContainer.startBean(EJSContainer.java:886)
at com.ibm.ws.runtime.component.EJBContainerImpl.startBean(EJBContainerImpl.
java:1255)
at com.ibm.ws.runtime.component.EJBContainerImpl.install(EJBContainerImpl.ja
va:988)
at com.ibm.ws.runtime.component.EJBContainerImpl.start(EJBContainerImpl.java
:1462)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.
java:415)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectSt
art(DeployedApplicationImpl.java:808)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.
java:351)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplic
ationImpl.java:578)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Applicat
ionMgrImpl.java:268)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.
java:246)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.
java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServe
rImpl.java:126)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.
java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunn
erV5.java:97)
I am assuming that because the Development environment doesn't recognize the
location of the EJB project. I found a few references that tell me that I h
ave to change the was.policy file, or that my database configuration is wron
g. Anyone know the actual i
ssue here and where I need to include the EJB for it to work.
Thanks
[ Post a follow-up to this message ]
|