Skip to Content

Deployment of EAR file fails due to "living child loaders" ?

Hi,

During deployment of an EAR file on our NetWeaver CE 7.1 environment, we sometimes get the following exception and deployment fails:

[ERROR CODE DPL.DS.5029] Exception in operation [startApp] with application [company.com/project~ear]. 
[EXCEPTION]
 com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5029] Exception in operation [startApp] with application [company.com/project~ear].
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.rollbackPart(ApplicationTransaction.java:619)
at [...snip...]

Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5066] Cannot remove ApplicationLoader for application [company.com/project~ear].
at com.sap.engine.services.deploy.server.DeployServiceImpl.removeLoader(DeployServiceImpl.java:1966)
at [...snip...]

Caused by: java.lang.IllegalStateException: Trial to unregister the class loader [company.com/project~ear], which has living child loaders with names:
   [company.com/anotherproject~ear]
A certain loader should NOT be unregistered if it has living child loaders. First, these child loaders should be unregistered.
at com.sap.engine.core.classload.impl0.LoadContextImpl.unregisterLoaderInternal(LoadContextImpl.java:1343)
at [...snip...]

Anyone seen this exception before? I only found one thread on SDN but that didn´t help me much

Oh, and the funny thing is: projectear and anotherprojectear have no relationship/dependency whatsoever...

I am curious to know the rootcause

Best regards,

Robin van het Hof

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 08, 2011 at 03:16 AM

    Hi Robin,

    The error message is quite self explanatory.

    Please review the parent child relationship between the two applications with the llr command in telnet administrator.

    http://wiki.sdn.sap.com/wiki/display/TechTSG/(JSTSG)(Telnet)ClassLoading+Commands

    Please review the online help for details:

    Troubleshooting: Finding Missing Parent-Child Relations

    http://help.sap.com/saphelp_nw72/helpdata/en/5c/48159186d44ae68358187134a54439/frameset.htm

    Class Loading System (SAP Library - Administrator's Guide)

    https://cw.sdn.sap.com/cw/docs/DOC-100874

    Regards,

    Ventsi Tsachev

    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.