on 2005 Nov 22 2:47 PM
I get the following error when I try to deploy in SAPNW Sneak Preview:
Nov 22, 2005 2:43:54 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
[001]Additional log information about the deployment
<!LOGHEADER[START]/>
<!HELP[Manual modification of the header may cause parsing problem!]/>
<!LOGGINGVERSION[1.5.3.7181 - 630_SP]/>
<!NAME[C:\usr\sap\J2E\JC00\SDM\program\log\sdmcl20051122143945.log]/>
<!PATTERN[sdmcl20051122143945.log]/>
<!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
<!ENCODING[Cp1252]/>
<!LOGHEADER[END]/>
Nov 22, 2005 2:39:46 PM Info: -
Starting deployment -
Nov 22, 2005 2:39:46 PM Info: Loading selected archives...
Nov 22, 2005 2:39:46 PM Info: Loading archive 'C:\usr\sap\J2E\JC00\SDM\program\temp\temp55784ngenEAR.ear'
Nov 22, 2005 2:39:51 PM Info: Selected archives successfully loaded.
Nov 22, 2005 2:39:51 PM Info: Actions per selected component:
Nov 22, 2005 2:39:51 PM Info: Initial deployment: Selected development component 'ngenEAR'/'sap.com'/'localhost'/'2005.11.22.11.27.41' will be deployed.
Nov 22, 2005 2:43:51 PM Info: Saved current Engine state.
Nov 22, 2005 2:43:51 PM Info: Error handling strategy: OnErrorStop
Nov 22, 2005 2:43:51 PM Info: Update strategy: UpdateAllVersions
Nov 22, 2005 2:43:51 PM Info: Starting: Initial deployment: Selected development component 'ngenEAR'/'sap.com'/'localhost'/'2005.11.22.11.27.41' will be deployed.
Nov 22, 2005 2:43:51 PM Info: SDA to be deployed: C:\usr\sap\J2E\JC00\SDM\root\origin\sap.com\ngenEAR\localhost\2005.11.22.11.27.41\temp55784ngenEAR.ear
Nov 22, 2005 2:43:51 PM Info: Software type of SDA: J2EE
Nov 22, 2005 2:43:52 PM Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
Nov 22, 2005 2:43:53 PM Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
Nov 22, 2005 2:43:53 PM Error: Aborted: development component 'ngenEAR'/'sap.com'/'localhost'/'2005.11.22.11.27.41':
Caught exception during access of archive "C:\usr\sap\J2E\JC00\SDM\root\origin\sap.com\ngenEAR\localhost\2005.11.22.11.27.41\temp55784ngenEAR.ear":
java.lang.NullPointerException
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).null)
Nov 22, 2005 2:43:53 PM Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
Nov 22, 2005 2:43:53 PM Error: -
At least one of the Deployments failed -
My application has a clean build throughout & I have checked the user/passwd in the configTool & they look OK.
Anybody got any ideas?
Thanks in advance,
Ash
Solved!
I had a project which was just a holding area for libraries & didnt actually have any source code. I wondered if that was causing the null pointer exception, so I moved the libraries into another project & removed the first project. I can now deploy without the null pointer exception!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Further information:
There are 4 Web modules (ngenWeb, ngenReports, ngenDBUnitWeb & ngenJUnitEE) & one EJB module (ngenEJB). I can successfully deploy ngenWeb, ngenReports, and ngenDBUnitWeb on there own. However, as soon as I combine them with any other module(s) I get the null pointer exception. In addition, I try ngenEJB on its own I get the same null pointer exception & if I try ngenJUnitEE, I get the message included at the end of this message. NB: When I first tried to do the EJB project on its own I did get some errors because I had primary key queries manually defined on two beans. I removed them & the old error returned.
Error from ngenJUnitEE:
05/11/23 13:39:28 - ***********************************************************
Nov 23, 2005 1:39:28 PM Info: End of log messages of the target system.
Nov 23, 2005 1:39:28 PM Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) ***** Nov 23, 2005 1:39:28 PM Error: Aborted: development component 'anEAR'/'sap.com'/'localhost'/'2005.11.23.13.39.16':
Caught exception during application deployment from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Cannot deploy application sap.com/anEAR..
Reason: Cannot read C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\anEAR\servlet_jsp/contextRoot/root/WEB-INF\web-j2ee-engine.xml or error occurred in C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\anEAR\servlet_jsp/contextRoot/root/WEB-INF\web-j2ee-engine.xml for web application contextRoot.; nested exception is:
com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException: Cannot read C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\anEAR\servlet_jsp/contextRoot/root/WEB-INF\web-j2ee-engine.xml or error occurred in C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\anEAR\servlet_jsp/contextRoot/root/WEB-INF\web-j2ee-engine.xml for web application contextRoot.
at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.parseXml(WebContainerHelper.java:727)
at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.initXmls(WebContainerHelper.java:638)
at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.deploy(WebContainerHelper.java:143)
at com.sap.engine.services.servlets_jsp.server.container.DeployAction.deploy(DeployAction.java:122)
at com.sap.engine.services.servlets_jsp.server.container.WebContainer.makeUpdate(WebContainer.java:272)
at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:376)
at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:379)
at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:148)
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:323)
at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3033)
at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:580)
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:294)
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.servlets_jsp.server.exceptions.WebIllegalArgumentException: Tag <ejb-ref-name> in tag <ejb-local-ref> is not specified.
at com.sap.engine.services.servlets_jsp.descriptor.xml.AdditionalWebDescrDocument.processEJBLocalRef(AdditionalWebDescrDocument.java:700)
at com.sap.engine.services.servlets_jsp.descriptor.xml.AdditionalWebDescrDocument.loadDescriptorFromElement(AdditionalWebDescrDocument.java:425)
at com.sap.engine.services.servlets_jsp.descriptor.xml.AdditionalWebDescrDocument.loadDescriptorFromDocument(AdditionalWebDescrDocument.java:397)
at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.parseXml(WebContainerHelper.java:720)
... 21 more
', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException: Cannot read C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\anEAR\servlet_jsp/contextRoot/root/WEB-INF\web-j2ee-engine.xml or error occurred in C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\anEAR\servlet_jsp/contextRoot/root/WEB-INF\web-j2ee-engine.xml for web application contextRoot.
at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.parseXml(WebContainerHelper.java:727)
at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.initXmls(WebContainerHelper.java:638)
at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.deploy(WebContainerHelper.java:143)
at com.sap.engine.services.servlets_jsp.server.container.DeployAction.deploy(DeployAction.java:122)
at com.sap.engine.services.servlets_jsp.server.container.WebContainer.makeUpdate(WebContainer.java:272)
at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:376)
at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:379)
at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:148)
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:323)
at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3033)
at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:580)
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:294)
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.servlets_jsp.server.exceptions.WebIllegalArgumentException: Tag <ejb-ref-name> in tag <ejb-local-ref> is not specified.
at com.sap.engine.services.servlets_jsp.descriptor.xml.AdditionalWebDescrDocument.processEJBLocalRef(AdditionalWebDescrDocument.java:700)
at com.sap.engine.services.servlets_jsp.descriptor.xml.AdditionalWebDescrDocument.loadDescriptorFromElement(AdditionalWebDescrDocument.java:425)
at com.sap.engine.services.servlets_jsp.descriptor.xml.AdditionalWebDescrDocument.loadDescriptorFromDocument(AdditionalWebDescrDocument.java:397)
at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.parseXml(WebContainerHelper.java:720)
... 21 more
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Nov 23, 2005 1:39:28 PM Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
Nov 23, 2005 1:39:28 PM Error: -
At least one of the Deployments failed -
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can't type - changed Delopy to Deploy in subject!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
67 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.