cancel
Showing results for 
Search instead for 
Did you mean: 

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

Qualiture
Active Contributor
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Qualiture
Active Contributor
0 Kudos

Hi Ventsi,

Thanks for your reply. I am familiar with the Telnet llr commands, but unfortunately it doesn't help me to unload/unregister these child loaders - which aren't even remotely referenced in my project anyway...

However, it seems to be a known problem, SAP note https://service.sap.com/sap/support/notes/1407495 recommends installing a fix for our system

Answers (0)