cancel
Showing results for 
Search instead for 
Did you mean: 

Exception during application deployment

Former Member
0 Kudos

Hi all,

I'm trying to deploy a wd application from NWDS (NW2004 sp19) and I get an error:

The application references the following jars - com.sap.security.api, com.sap.security.api.ep5, bc.rf.framework_api and bc.util.public_api. I also defined a Sharing Reference - "PORTAL:sap.com/com.sap.km.application".

Full error stacktrace:

06/10/2008 10:20:25 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:

[007]Additional log information about the deployment

<!LOGHEADER[START]/>

<!HELP[Manual modification of the header may cause parsing problem!]/>

<!LOGGINGVERSION[1.5.3.7186 - 630]/>

<!NAME[D:\usr\sap\EPT\JC00\SDM\program\log\sdmcl20081006082023.log]/>

<!PATTERN[sdmcl20081006082023.log]/>

<!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>

<!ENCODING[Cp1255]/>

<!LOGHEADER[END]/>

Oct 6, 2008 10:20:23 AM Info: -


Starting deployment -


Oct 6, 2008 10:20:23 AM Info: Error handling strategy: OnErrorStop

Oct 6, 2008 10:20:23 AM Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop

Oct 6, 2008 10:20:23 AM Info: Update strategy: UpdateAllVersions

Oct 6, 2008 10:20:23 AM Info: Starting deployment prerequisites:

Oct 6, 2008 10:20:23 AM Info: Loading selected archives...

Oct 6, 2008 10:20:23 AM Info: Loading archive 'D:\usr\sap\EPT\JC00\SDM\program\temp\temp86DepthVisit.ear'

Oct 6, 2008 10:20:24 AM Info: Selected archives successfully loaded.

Oct 6, 2008 10:20:24 AM Info: Actions per selected component:

Oct 6, 2008 10:20:24 AM Info: Update: Selected development component 'DepthVisit'/'local'/'LOKAL'/'0.2008.10.06.10.20.19'/'0' updates currently deployed development component 'DepthVisit'/'local'/'LOKAL'/'0.2008.09.25.15.49.17'/'0'.

Oct 6, 2008 10:20:24 AM Info: Ending deployment prerequisites. All items are correct.

Oct 6, 2008 10:20:24 AM Info: Saved current Engine state.

Oct 6, 2008 10:20:24 AM Info: Starting: Update: Selected development component 'DepthVisit'/'local'/'LOKAL'/'0.2008.10.06.10.20.19'/'0' updates currently deployed development component 'DepthVisit'/'local'/'LOKAL'/'0.2008.09.25.15.49.17'/'0'.

Oct 6, 2008 10:20:24 AM Info: SDA to be deployed: D:\usr\sap\EPT\JC00\SDM\root\origin\local\DepthVisit\LOKAL\0\0.2008.10.06.10.20.19\temp86DepthVisit.ear

Oct 6, 2008 10:20:24 AM Info: Software type of SDA: J2EE

Oct 6, 2008 10:20:24 AM Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****

Oct 6, 2008 10:20:24 AM Info: Begin of log messages of the target system:

08/10/06 10:20:24 - ***********************************************************

08/10/06 10:20:24 - Start updating EAR file...

08/10/06 10:20:24 - start-up mode is lazy

08/10/06 10:20:24 - EAR file updated successfully for 63ms.

08/10/06 10:20:24 - Start updating...

08/10/06 10:20:24 - EAR file uploaded to server for 79ms.

08/10/06 10:20:24 - ERROR: Not updated. Deploy Service returned ERROR:

java.rmi.RemoteException: Cannot deploy application local/DepthVisit..

Reason: Exception during generation of components of application local/DepthVisit in container webdynpro.; nested exception is:

com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application local/DepthVisit in container webdynpro.

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

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

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

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

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

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

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

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

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

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:100)

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

Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application local/DepthVisit in container webdynpro.

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

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

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

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

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

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

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

... 12 more

Caused by: java.lang.NullPointerException

at com.sap.engine.services.webdynpro.util.Procedures.switchio(Procedures.java:40)

at com.sap.engine.services.webdynpro.ArchiveParser.extractEntry(ArchiveParser.java:127)

at com.sap.engine.services.webdynpro.ArchiveParser.process(ArchiveParser.java:101)

at com.sap.engine.services.webdynpro.PApplication.process(PApplication.java:170)

at com.sap.engine.services.webdynpro.WebDynproContainer.deploy(WebDynproContainer.java:838)

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

... 18 more

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

08/10/06 10:20:24 - ***********************************************************

Oct 6, 2008 10:20:24 AM Info: End of log messages of the target system.

Oct 6, 2008 10:20:24 AM Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****

Oct 6, 2008 10:20:24 AM Error: Aborted: development component 'DepthVisit'/'local'/'LOKAL'/'0.2008.10.06.10.20.19'/'0':

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

java.rmi.RemoteException: Cannot deploy application local/DepthVisit..

Reason: Exception during generation of components of application local/DepthVisit in container webdynpro.; nested exception is:

com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application local/DepthVisit in container webdynpro.

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

Oct 6, 2008 10:20:24 AM Info: Starting to save the repository

Oct 6, 2008 10:20:25 AM Info: Finished saving the repository

Oct 6, 2008 10:20:25 AM Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.

Oct 6, 2008 10:20:25 AM Error: -


At least one of the Deployments failed -


Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

The problem was a referenced doc file (name contained spaces) in a LinkToURL view element.

Former Member
0 Kudos

HI,

looks like some required jar files are missing in the build path.

u can try this,

right click on the project, goto properties,

java build path,

add external jars.

add the missing jars.

Regards,

Satya.

Former Member
0 Kudos

Hi,

Building the ear file is not the problem.

The deployment fails.

Seems that somehow I dont have those jars on the server.....

Aviad

Edit: I've done a search on the server and all the relevant jars are there, none is missing.

Whats next?

Edited by: Aviad Levy on Oct 6, 2008 4:41 PM