cancel
Showing results for 
Search instead for 
Did you mean: 

PI 7.31 Deploy error for Multi-mapping Dynamic Configuration using a generic custom module

RafaelVieira
Active Participant
0 Kudos
266

Hi experts,

I'm trying to use solution but getting a warning during deploy in NWDS:

Warning is:

   S U M M A R Y

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

Successfully deployed:      0

Deployed with warnings:      1

Failed deployments:      0

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

1. File:C:\Users\rafael.silva\Downloads\EAR\2\DCMultiMap_EAR.ear.txt\DCMultiMap_EAR.ear

  Name:DCMultiMap_EAR

  Vendor:sap.com

  Location:localhost

  Version:2014.03.05.21.55.53

  Deploy status:Warning

  Version:NEW

  Description:

  1. Warning occurred on server 1199350 during deploy of sap.com/DCMultiMap_EAR : EJB Model Builder: ASJ.ejb.004096 The session bean class "com.dc.multimap.DCMultiMapBean" cannot be found in the search path. (Location:META-INF/ejb-jar.xml)[message resource bundle missing], file: DCMultiMap_EJB.jar#DCMultiMap_EJB.jar, severity: warning

Warning occurred on server 1199350 during deploy of sap.com/DCMultiMap_EAR : EJB Model Builder: Bean class com.dc.multimap.DCMultiMapBean is not available in the ejb module archive file.[message resource bundle missing], file: DCMultiMap_EJB.jar#DCMultiMap_EJB.jar, severity: warning

CSN component of deployment item is not available

  2. Exception has been returned while the [sap.com/DCMultiMap_EAR] was starting. Warning/Exception :[

][ASJ.dpl_ds.006153 Error occurred while starting application [sap.com/DCMultiMap_EAR]: It is not started successfully on server nodes [1199350]. In order to bring the server in consistent state stop operation will be performed.

Error occurred on server 1199350 during startApp of sap.com/DCMultiMap_EAR : com.sap.engine.services.deploy.container.DeploymentException: Cannot load bean class com.dc.multimap.DCMultiMapBean for component sap.com/DCMultiMap_EAR*xml|DCMultiMap_EJB.jar*xml|DCMultiMap

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

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

  at com.sap.engine.services.deploy.server.utils.container.ContainerWrapper.prepareStart(ContainerWrapper.java:509)

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

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

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

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

  at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesSequentially(ParallelAdapter.java:324)

  at com.sap.engine.services.deploy.server.application.StartTransaction.makeAllPhases(StartTransaction.java:693)

  at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:1985)

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

  at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationOnInstanceWait(DeployServiceImpl.java:2887)

  at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationOnInstanceAndWaitAuth(DeployServiceImpl.java:3036)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Caused by: com.sap.engine.services.ejb3.container.ActionException: Cannot load bean class com.dc.multimap.DCMultiMapBean for component sap.com/DCMultiMap_EAR*xml|DCMultiMap_EJB.jar*xml|DCMultiMap

  at com.sap.engine.services.ejb3.runtime.impl.Actions_BeanClassesInitialization.loadApplicationClass(Actions_BeanClassesInitialization.java:56)

  at com.sap.engine.services.ejb3.runtime.impl.Actions_BeanClassesInitialization.loadApplicationClasses(Actions_BeanClassesInitialization.java:41)

  at com.sap.engine.services.ejb3.runtime.impl.Actions_ComponentInterfacesProviderClassesInitialization.loadApplicationClasses(Actions_ComponentInterfacesProviderClassesInitialization.java:20)

  at com.sap.engine.services.ejb3.runtime.impl.Actions_SessionBeanClassesInitialization.loadApplicationClasses(Actions_SessionBeanClassesInitialization.java:20)

  at com.sap.engine.services.ejb3.runtime.impl.Actions_StatelessBeanClassesInitialization.loadApplicationClasses(Actions_StatelessBeanClassesInitialization.java:18)

  at com.sap.engine.services.ejb3.runtime.impl.Actions_BeanClassesInitialization.perform(Actions_BeanClassesInitialization.java:27)

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

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

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

  ... 35 more

Caused by: java.lang.ClassNotFoundException: com.dc.multimap.DCMultiMapBean

------------------------- Loader Info -------------------------

ClassLoader name: [sap.com/DCMultiMap_EAR]

Loader hash code: 275beb8b

Living status: alive

Direct parent loaders:

   [system:Frame]

   [interface:webservices]

   [interface:cross]

   [interface:security]

   [interface:transactionext]

   [library:webservices_lib]

   [library:opensql]

   [library:jms]

   [library:ejb20]

   [service:p4]

   [service:ejb]

   [service:servlet_jsp]

   [service:engine.security.facade]

   [library:engine.j2ee14.facade]

   [interface:com.sap.aii.af.ifc.facade]

   [service:com.sap.aii.af.svc]

   [library:com.sap.aii.af.lib.facade]

   [service:com.sap.aii.af.svc.facade]

   [service:com.sap.aii.adapter.xi.svc]

Resources:

   C:\usr\sap\PID\J00\j2ee\cluster\apps\sap.com\DCMultiMap_EAR\EJBContainer\applicationjars\DCMultiMap_EJB.jar

---------------------------------------------------------------

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

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

  at com.sap.engine.services.ejb3.runtime.impl.Actions_BeanClassesInitialization.loadApplicationClass(Actions_BeanClassesInitialization.java:54)

  ... 43 more

]

Result

Status:Warning


This is how I see the module in NWA (sorry for the labels in portuguese):

This is how my channel is set:

I don't think there's a chance I'm using a wrong EAR file as I've already seen other mates here in forum saying the solution is working fine.

Could it be my PI version (7.31 java only)?

Any input would very appreciated.

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

former_member190293
Active Contributor
0 Kudos

Hi Rafael!

It looks strange. I've just successfully deployed that EAR to my DEV system (PI 7.4).

Regards, Evgeniy.

RafaelVieira
Active Participant
0 Kudos

Tks Evgeniy,

The EAR was updated and I could finish a new deploy successfully.

BR,

Rafael.

Answers (0)