Page tree
Skip to end of metadata
Go to start of metadata

Problem

Hard Reference to not active/deployed resource

Keywords

  • Hard Reference is not active
  • ERROR CODE DPL.DS.5029, 5029
  • ERROR CODE DPL.DS.5035, 5035

Symptoms

During deployment similar error appears:

Exception has been returned while the

'sap.com/tc~kmc~bc.rf.ws~tuccmon' was starting. Warning/Exception :
Error occurred while starting application
sap.com/tc~kmc~bc.rf.ws~tuccmon and wait.
Reason: Clusterwide exception: server ID
606584950:com.sap.engine.services.deploy.exceptions.ServerDeploy
mentException: Application sap.com/tc~kmc~bc.rf.ws~tuccmon cannot be
started. Reason: it has hard reference to resource
com.sap.netweaver.bc.rf with type application, which is not active on
the server.

OR

1). [ERROR CODE DPL.DS.5029] Exception in operation [startApp] with
application [sap.com/com.sap.ip.bi.supportdesk].
-> [ERROR CODE DPL.DS.5035] Application [sap.com/com.sap.ip.bi.
supportdesk] cannot be started. Reason: it has hard reference to resourc
[tc/epbc/prt/apps] with type [SAPPORTAL], which is not active on
the server

Solution

The application which is hard referenced is not active/deployed on the server. Make sure that the application is deployed and started on the server.
Use telnet to check if an application is deployed and if is started/stopped.
Connect to server via Telnet and type add deploy in order to add DEPLOY group.
Then use the following commands:

  • to get a list and status of all applications - list_app
  • to get the status of certain application - list_app <app_name>
  • to get all references for this application - app_refs_graph <app_name>

    Note

    Take in mind that there could be more than two nested applications or services. Make sure you have read the whole stack trace and you have located the root application/service that causes the problem

    How to understand the exception message in stack trace

Sample logs

C:\usr\sap\N01\JC60\j2ee\cluster\server0\temp\tc~bl~deploy_controller\archives\461\KMCBC00_0_sca\sap.com~tc~kmc~bc.rf.ws~tuccmon.ear:
status: Warning:

    Exception has been returned while the

'sap.com/tc~kmc~bc.rf.ws~tuccmon' was starting. Warning/Exception :
Error occurred while starting application
sap.com/tc~kmc~bc.rf.ws~tuccmon and wait.
Reason: Clusterwide exception: server ID
606584950:com.sap.engine.services.deploy.exceptions.ServerDeploy
mentException: Application sap.com/tc~kmc~bc.rf.ws~tuccmon cannot be
started. Reason: it has hard reference to resource
com.sap.netweaver.bc.rf with type application, which is not active on
the server.
,,at com.sap.engine.services.deploy.server.ReferenceResolver.processRefe
renceToApplication(ReferenceResolver.java:626)
,,at com.sap.engine.services.deploy.server.ReferenceResolver.processMake
Reference(ReferenceResolver.java:402)
,,at com.sap.engine.services.deploy.server.ReferenceResolver.beforeStart
ingApplication(ReferenceResolver.java:334)
,,at com.sap.engine.services.deploy.server.application.StartTransaction.
beginCommon(StartTransaction.java:181)
,,at com.sap.engine.services.deploy.server.application.StartTransaction.
begin(StartTransaction.java:153)
,,at com.sap.engine.services.deploy.server.application.ApplicationTransa
ction.makeAllPhasesOnOneServer(ApplicationTransaction.java:371)
,,at com.sap.engine.services.deploy.server.application.ParallelAdapter.m
akeAllPhasesImpl(ParallelAdapter.java:385)
,,at com.sap.engine.services.deploy.server.application.ParallelAdapter.r
unInTheSameThread(ParallelAdapter.java:154)
,,at com.sap.engine.services.deploy.server.application.ParallelAdapter.m
akeAllPhasesAndWait(ParallelAdapter.java:282)
,,at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplic
ationAndWait(DeployServiceImpl.java:3944)

OR

1). [ERROR CODE DPL.DS.5029] Exception in operation [startApp] with
application [sap.com/com.sap.ip.bi.supportdesk].
-> [ERROR CODE DPL.DS.5035] Application [sap.com/com.sap.ip.bi.
supportdesk] cannot be started. Reason: it has hard reference to resourc
[tc/epbc/prt/apps] with type [SAPPORTAL], which is not active on
the server

Related SAP Notes

N/A

  • No labels