cancel
Showing results for 
Search instead for 
Did you mean: 

Error while deploying EAR file

Former Member
0 Kudos
103

Hi,

i try to deploy a ear file which includes a war and a ejb-jar file. The sources of this files were not builded into the NetWeaver Development Studio, because we try to get a general Application for different Application Server. The deployment descriptors are already converted into WebAS requirements and i think this works fine.

But while deploying i get the folowed Exception:

05/04/29 10:08:31 - ERROR: Not deployed. Deploy Service returned ERROR:

java.rmi.RemoteException: Cannot deploy application cellent.de/cx-webas..

Reason: Exception during generation of components of application cellent.de/cx-webas in container EJBContainer.; nested exception is:

com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application cellent.de/cx-webas in container EJBContainer.

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

at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)

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

at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)

at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)

at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)

Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application cellent.de/cx-webas in container EJBContainer.

at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:600)

at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:365)

at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:296)

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

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

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

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

... 10 more

Caused by: java.lang.NullPointerException

at com.sap.sql.ejb.common.ORMappingManager.fillMaps(ORMappingManager.java:606)

at com.sap.sql.ejb.common.ORMappingManager.getBeanTable(ORMappingManager.java:154)

at com.sap.sql.ejb.common.SQLTreeNodeManager.addToFromList(SQLTreeNodeManager.java:811)

at com.sap.sql.ejb.common.EJBQLTreeProcessor.processFrom(EJBQLTreeProcessor.java:330)

at com.sap.sql.ejb.common.EJBQLTreeProcessor.process(EJBQLTreeProcessor.java:121)

at com.sap.sql.ejb.common.CommonSQLMapper.mapEjbQl(CommonSQLMapper.java:399)

at com.sap.engine.services.ejb.deploy.ejbql.QLTranslator.translateQuery(QLTranslator.java:111)

at com.sap.engine.services.ejb.deploy.ejbql.QLTranslator.translateAllQueries(QLTranslator.java:171)

at com.sap.engine.services.ejb.deploy.DeployAdmin.translateQL(DeployAdmin.java:1401)

at com.sap.engine.services.ejb.deploy.DeployAdmin.generate(DeployAdmin.java:260)

at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:2057)

at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:594)

... 16 more

For detailed information see the log file of the Deploy Service.

05/04/29 10:08:31 - ***********************************************************

Apr 29, 2005 10:08:31... Info: End of log messages of the target system.

Apr 29, 2005 10:08:31... Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****

Apr 29, 2005 10:08:31... Error: Aborted: development component 'cx-webas'/'cellent.de'/'localhost'/'2005.04.06.20.16.47':

Caught exception during application deployment from SAP J2EE Engine's deploy service:

java.rmi.RemoteException: Cannot deploy application cellent.de/cx-webas..

Reason: Exception during generation of components of application cellent.de/cx-webas in container EJBContainer.; nested exception is:

com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application cellent.de/cx-webas in container EJBContainer.

(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)

Apr 29, 2005 10:08:31... Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.

Knows anyboby what the reason of this exception could be? Is it possible that some EBQL Statements are not correct?

Regards André

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I resolved this topic by my self. Here a short description for anyone with the same problem while developing Enterprise Applications outside of Netweaver Developer Studio:

I generate all deployment descriptors with the help of xdoclet. but i used some wrong tags, so in ejb-jar.xml exists some one to many relations which have a relation table. But this doesn't work. Only many to many relations must have a relation table.

Regards André