Skip to Content
avatar image
Former Member

How can we undeploy a EAR in STARTING status

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.

>

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jun 29, 2011 at 06:03 PM

    Do the following from the telnet command line:

    >unlock_app sap.com/xappsepcdatapath-ear

    >remove_app >unlock_app sap.com/xappsepcdatapath-ear

    Add comment
    10|10000 characters needed characters exceeded