cancel
Showing results for 
Search instead for 
Did you mean: 

J2EE EAR Deployment problem

Former Member
0 Kudos

Hi,

We attempted to deploy a J2EE application, but it started giveing error as : unable to update web service.

So we removed the application from the server and tried to deploy it again. This time it started giving error as follows.

[

Oct 27, 2006 4:44:22 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:

[014]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[/usr/sap/J2E/JC00/SDM/program/log/sdmcl20061027113533.log]/>

<!PATTERN[sdmcl20061027113533.log]/>

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

<!ENCODING[ISO8859_1]/>

<!LOGHEADER[END]/>

Oct 27, 2006 5:05:36 PM Info: -


Starting deployment -


Oct 27, 2006 5:05:36 PM Info: Error handling strategy: OnErrorStop

Oct 27, 2006 5:05:36 PM Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop

Oct 27, 2006 5:05:36 PM Info: Update strategy: UpdateAllVersions

Oct 27, 2006 5:05:36 PM Info: Starting deployment prerequisites:

Oct 27, 2006 5:05:37 PM Info: Loading selected archives...

Oct 27, 2006 5:05:37 PM Info: Loading archive '/usr/sap/J2E/JC00/SDM/program/temp/temp37497xyz.com~erecapp.ear'

Oct 27, 2006 5:05:47 PM Info: Selected archives successfully loaded.

Oct 27, 2006 5:05:47 PM Info: Actions per selected component:

Oct 27, 2006 5:05:47 PM Info: Update: Selected development component 'erecapp'/'xyz.com'/'J2E_APPL_D'/'20061027164247' updates currently deployed development component 'erecapp'/'xyz.com'/'J2E_APPL_D'/'20061025161235'.

Oct 27, 2006 5:05:47 PM Info: Ending deployment prerequisites. All items are correct.

Oct 27, 2006 5:05:47 PM Info: Saved current Engine state.

Oct 27, 2006 5:05:47 PM Info: Starting: Update: Selected development component 'erecapp'/'xyz.com'/'J2E_APPL_D'/'20061027164247' updates currently deployed development component 'erecapp'/'xyz.com'/'J2E_APPL_D'/'20061025161235'.

Oct 27, 2006 5:05:47 PM Info: SDA to be deployed: /usr/sap/J2E/JC00/SDM/root/origin/xyz.com/erecapp/J2E_APPL_D/20061027164247/temp37497xyz.com~erecapp.ear

Oct 27, 2006 5:05:47 PM Info: Software type of SDA: J2EE

Oct 27, 2006 5:05:47 PM Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****

Oct 27, 2006 5:06:24 PM Info: Begin of log messages of the target system:

06/10/27 17:05:47 - ***********************************************************

06/10/27 17:06:03 - Start updating EAR file...

06/10/27 17:06:03 - start-up mode is lazy

06/10/27 17:06:18 - EAR file updated successfully for 14539ms.

06/10/27 17:06:18 - Start updating...

06/10/27 17:06:21 - EAR file uploaded to server for 2444ms.

06/10/27 17:06:24 - ERROR: Not updated. Deploy Service returned ERROR:

java.rmi.RemoteException: Cannot deploy application xyz.com/erecapp..

Reason: null; nested exception is:

java.lang.NullPointerException

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

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

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

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

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: java.lang.NullPointerException

at com.sap.engine.services.ejb.EJBAdmin.needUpdate(EJBAdmin.java:314)

at com.sap.engine.services.deploy.server.application.UpdateTransaction.getContainersWhichNeedUpdate(UpdateTransaction.java:537)

at com.sap.engine.services.deploy.server.application.UpdateTransaction.getConcernedContainers(UpdateTransaction.java:493)

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

at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:164)

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

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

... 10 more

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

06/10/27 17:06:24 - ***********************************************************

Oct 27, 2006 5:06:24 PM Info: End of log messages of the target system.

Oct 27, 2006 5:06:24 PM Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****

Oct 27, 2006 5:06:24 PM Error: Aborted: development component 'erecapp'/'xyz.com'/'J2E_APPL_D'/'20061027164247':

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

java.rmi.RemoteException: Cannot deploy application xyz.com/erecapp..

Reason: null; nested exception is:

java.lang.NullPointerException

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

Oct 27, 2006 5:06:34 PM Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.

Oct 27, 2006 5:06:34 PM Error: -


At least one of the Deployments failed -


]

Kindly suggest.

Regards,

Ameya

Accepted Solutions (0)

Answers (1)

Answers (1)

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi Ameya,

Try this steps once:

Delete your web service from the EJB, build the EAR file and deploy the EAR file without web service.

Again create the web service in EJB , build and deploy the EAR file.

Regards, Suresh KB

Former Member
0 Kudos

Hi Suresh,

I cannot delete the web service from the EJB as it a core webservice which is consumed in many webDynpro applications.

This webService was created days ago and has been touched once it was activated.

Regards,

Amey

Former Member
0 Kudos

We restarted the cluster again and tried deploying the EAR again. And this time it worked

Regards,

Ameya