cancel
Showing results for 
Search instead for 
Did you mean: 

How can we undeploy a EAR in STARTING status

Former Member
0 Kudos

Hello experts,

I am developing an application (sap.com/xappsepcdatapath~ear), and accidently put in a infinite loop in the application. So the application would never finish the STARTING status.

I have tried undeploy and remove_app in the telnet session, non of these commands work. I have tried stop_app and it wouldn't work either (Please refer the following dump).

Is there a way to stop and remove the EAR like this?

Thanks

Bing

>list_app |grep epc

sap.com/com.sap.portal.epcf.admin STOPPED! lazy 5042050

sap.com/com.sap.portal.epcf.loader STARTED always 5042050

sap.com/com.sap.portal.epcf.toolbox STOPPED! lazy 5042050

sap.com/epclibradosear STARTED always 5042050

sap.com/tcepepcftoolbox~api STOPPED! lazy 5042050

sap.com/xappsepcdatapath-ear STARTING lazy* 5042050

>stop_app sap.com/xappsepcdatapath-ear

com.sap.engine.services.deploy.server.utils.DSRemoteException: [ERROR CODE DPL.DS.6154] Error occurred while stopping application sap.com/xappsepcdatapath-ear.; nested exception is:

com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5030] Clusterwide exception: [The operation [stopApp] with application [sap.com/xappsepcdatapath-ear]

will fail, because the application status is [STARTING].]

For more information see Error and Debug logs of the DeployService.

>

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Do the following from the telnet command line:

>unlock_app sap.com/xappsepcdatapath-ear

>remove_app >unlock_app sap.com/xappsepcdatapath-ear