Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.