Skip to Content
0
Former Member
May 23, 2008 at 09:11 AM

Deployment aborted : java.lang.NoClassDefFoundError:

25 Views

Hi All ,

I am working with DCs. I am having

2 ejbs DCs

1 ejb application DC

1 Java DC having all helpers classes

I want to use classes from helper java Dc into both EJB DCs. I have added both DCs as required component in both ejb DCs. its building fine , ie. successfully but not getting deployed giving error as follows. Also i would like to mention that i am working on Netweaver 7.1. EJB Application got deployed successfully whn i added only one ejb into it but whn i added second ejb dc i got this error while deploying. why this second Dc is not getting path for classes from helper DC?????

--- Deploying file(s):

F:\NWDS\workspace.jdi\0\DCs\asianpaints.com\erecapp\_comp\gen\default\deploy\asianpaints.com~erecapp.ear

--- Status:

Deploy finished with warnings.

--- Description:

S U M M A R Y

~~~~~~~~~~~~~~~~~~~

Successfully deployed: 0

Deployed with warnings: 1

Failed deployments: 0

~~~~~~~~~~~~~~~~~~~

1. File:F:\NWDS\workspace.jdi\0\DCs\asianpaints.com\erecapp\_comp\gen\default\deploy\asianpaints.com~erecapp.ear

Name:erecapp

Vendor:asianpaints.com

Location:J2N_ERECTT_D

Version:20080523142902

Deploy status:Warning

Version:NEW

Description:

1. Exception has been returned while the 'asianpaints.com/erecapp' was starting. Warning/Exception :

[ERROR CODE DPL.DS.6193] Error while ; nested exception is:

com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5030] Clusterwide exception: server ID 6358450:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5082] Exception while preparing start of application asianpaints.com/erecapp.

at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:229)

at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:179)

at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:420)

at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:445)

at com.sap.engine.services.deploy.server.application.ParallelAdapter.super_MakeAllPhases(ParallelAdapter.java:337)

at com.sap.engine.services.deploy.server.application.StartTransaction.makeAllPhasesImpl(StartTransaction.java:550)

at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:251)

at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:392)

at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3389)

at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3375)

at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3278)

at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3251)

at com.sap.engine.services.dc.lcm.impl.J2EELCMProcessor.doStart(J2EELCMProcessor.java:99)

at com.sap.engine.services.dc.lcm.impl.LifeCycleManagerImpl.start(LifeCycleManagerImpl.java:62)

at com.sap.engine.services.dc.cm.deploy.impl.LifeCycleManagerStartVisitor.visit(LifeCycleManagerStartVisitor.java:34)

at com.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)

at com.sap.engine.services.dc.cm.deploy.impl.DefaultDeployPostProcessor.postProcessLCMDeplItem(DefaultDeployPostProcessor.java:80)

at com.sap.engine.services.dc.cm.deploy.impl.DefaultDeployPostProcessor.postProcess(DefaultDeployPostProcessor.java:56)

at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doPostProcessing(DeployerImpl.java:741)

at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.performDeploy(DeployerImpl.java:732)

at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doDeploy(DeployerImpl.java:576)

at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:270)

at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:192)

at com.sap.engine.services.dc.cm.deploy.impl.DeployerImplp4_Skel.dispatch(DeployerImplp4_Skel.java:875)

at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351)

at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70)

at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62)

at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37)

at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:877)

at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53)

at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)

at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304)

Caused by: java.lang.NoClassDefFoundError: com/apl/erec/dto/PositionFlatDTO

at java.lang.Class.getDeclaredMethods0(Native Method)

at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)

at java.lang.Class.getMethod0(Class.java:2642)

at java.lang.Class.getMethod(Class.java:1579)

at com.sap.engine.services.ejb3.model.utils.RFCUtils.isRFCEnabled(RFCUtils.java:131)

at com.sap.engine.services.ejb3.model.utils.RFCUtils.getRFCInterface(RFCUtils.java:30)

at com.sap.engine.services.ejb3.runtime.impl.Actions_StatelessBeanFactoriesInitialization.createRFCFactory(Actions_StatelessBeanFactoriesInitialization.java:147)

at com.sap.engine.services.ejb3.runtime.impl.Actions_StatelessBeanFactoriesInitialization.perform(Actions_StatelessBeanFactoriesInitialization.java:39)

at com.sap.engine.services.ejb3.container.CompositeAction.perform(CompositeAction.java:81)

at com.sap.engine.services.ejb3.container.ApplicationStarter.perform(ApplicationStarter.java:59)

at com.sap.engine.services.ejb3.container.ContainerInterfaceImpl$Actions.perform(ContainerInterfaceImpl.java:887)

at com.sap.engine.services.ejb3.container.ContainerInterfaceImpl.prepareStart(ContainerInterfaceImpl.java:425)

at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:219)

... 32 more

Caused by: java.lang.ClassNotFoundException: com.apl.erec.dto.PositionFlatDTO

-


Loader Info -


ClassLoader name: [asianpaints.com/erecapp]

Living status: alive

Direct parent loaders:

[system:Frame]

[service:servlet_jsp]

[service:ejb]

Resources:

/usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/EJBContainer/applicationjars/asianpaints.com~ldapcomp.jar

/usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/EJBContainer/applicationjars/asianpaints.com~autokey.jar

/usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/EJBContainer/applicationjars/asianpaints.com~mastermg.jar

/usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/EJBContainer/applicationjars/asianpaints.com~jobposmg.jar

/usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/EJBContainer/jars/gen_asianpaints.com~mastermg.jar

/usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/EJBContainer/jars/gen_asianpaints.com~jobposmg.jar

/usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/EJBContainer/jars/gen_asianpaints.com~autokey.jar

/usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/webservices_container/asianpaints.com~jobposmg_EJB/types/PositionRetrival/PositionRetrival.jar

/usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/webservices_container/asianpaints.com~jobposmg_EJB/types/JobDetailsRetrival/JobDetailsRetrival.jar

/usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/webservices_container/asianpaints.com~jobposmg_EJB/types/PositionHandler/PositionHandler.jar

/usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/webservices_container/asianpaints.com~jobposmg_EJB/types/JobHandler/JobHandler.jar

/usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/webservices_container/asianpaints.com~jobposmg_EJB/types/OrgTreeDetailsRetrival/OrgTreeDetailsRetrival.jar

/usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/webservices_container/asianpaints.com~jobposmg_EJB/types/RequisitionRetrival/RequisitionRetrival.jar

/usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/webservices_container/asianpaints.com~ldapcomp_EJB/types/LDAPSearchService/LDAPSearchService.jar

/usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/servlet_jsp/JobHandler/JobHandlerConfig/root/WEB-INF/classes

/usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/servlet_jsp/OrgTreeDetailsRetrival/OrgTreeDetailsRetrivalConfig/root/WEB-INF/classes

/usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/servlet_jsp/JobDetailsRetrival/JobDetailsRetrivalConfig/root/WEB-INF/classes

/usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/servlet_jsp/PositionHandler/PositionHandlerConfig/root/WEB-INF/classes

/usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/servlet_jsp/RequisitionRetrival/RequisitionRetrivalConfig/root/WEB-INF/classes

/usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/servlet_jsp/LDAPSearchService/LDAPSearchServiceConfig/root/WEB-INF/classes

/usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/servlet_jsp/PositionRetrival/PositionRetrivalConfig/root/WEB-INF/classes

-


at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:259)

at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:228)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:353)

... 45 more

Result

Status:Warning