WebSphere Commerce suite - Problem with addEJBmodule error when starting Server that I created for MDB

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Commerce suite > June 2004 > Problem with addEJBmodule error when starting Server that I created for MDB





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Problem with addEJBmodule error when starting Server that I created for MDB

2004-06-24, 5:57 pm

I created a Message Driven bean in an EJB 2.0 project to be used with WebSphere Commerce 5.6. In my local development environment, when I try to start the server instance that I created I get the following error:

[6/22/04 16:17:08:854 EDT] 4e183ef1 EJBContainerI E WSVR0040E: addEjbModule failed for BBGMessageConsumerEJB.jar [class com.ibm.ws.runtime.component.DeployedModuleImpl]
java.lang.NoClassDefFoundError: com/landnsea/allocation/message/jaxb/PartOrderType
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:262)
at com.ibm.ejs.container.EJSContainer.loadBeanMetaData(EJSContainer.java:1321)
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.java: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. fireDeployedObjectStart(DeployedApplicat
ionImpl.java:808)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:351)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.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(ApplicationServerImpl.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(ServerRunnerV5.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 have to change the was.policy file, or that my database configuration is wrong. Anyone know the actual i
ssue here and where I need to include the EJB for it to work.

Thanks
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com