Application deployment fails showing the deployment status as "Deploying" in the Administrator GUI

Application deployment fails showing the deployment status as "Deploying" in the Administrator GUI

book

Article ID: KB0084828

calendar_today

Updated On:

Products Versions
TIBCO Administrator -
Not Applicable -

Description

Resolution:
Description:
============

Application deployment fails showing the deployment status as "Deploying" in the Administrator GUI

Environment:
===========

   o TIBCO Runtime Agent (TRA) 5.x.x
   o TIBCO Administrator 5.x.x.


Symptoms:
========

1. Application deployment fails showing the deployment status as "Deploying" in "Deployed Configuration" pane of the Administrator GUI.
2. HawkAgent.log on the target machine (where application is being deployed) contains the following error:
  
2011 Dec 11 18:03:12:777 GMT +0 Error AESDKJ-0000 [Thread-45]  java.lang.RuntimeException: com.tibco.pof.entity.EntityNotFoundException: Could not find entity with name "hostname" of class com.tibco.pof.admindomain.Machine
    at com.tibco.pof.admindomain.impl.AdminDomainImpl.getCurrentMachine(AdminDomainImpl.java:179)
    at com.tibco.pof.admindomain.impl.AdminDomainImpl.getMachine(AdminDomainImpl.java:171)
    at com.tibco.pof.admindomain.impl.MutableAdminDomainImpl.deployListInternal(MutableAdminDomainImpl.java:902)
    at com.tibco.pof.admindomain.impl.MutableAdminDomainImpl.deployOnClient(MutableAdminDomainImpl.java:848)
    at com.tibco.tra.tsm.TSM.deploy(TSM.java:2779)
    at com.tibco.tra.tsm.TSM$1.run(TSM.java:3146)
    at java.lang.Thread.run(Thread.java:619)

Cause:
=====

This issue occurs if the machine name value in the properties files (AdministrationDomain.properties or AuthorizationDomain.properties or hawkagent.cfg) is incorrect or set to a different value from that in the Administrator domain data.


Resolution:
==========

1. Check the properties files (AdministrationDomain.properties or AuthorizationDomain.properties or hawkagent.cfg) to see which file contains the incorrect value of machine name.
2. Change the machine name value in the properties file such that it matches the actual machine name which is present in the Administrator domain data.
3. Restart the domain hawkagent on the target machine.

Issue/Introduction

Application deployment fails showing the deployment status as "Deploying" in the Administrator GUI