NullPointerException seen while adding the EMS server to the TIBCO Administrator via the Domain Utility.

NullPointerException seen while adding the EMS server to the TIBCO Administrator via the Domain Utility.

book

Article ID: KB0087154

calendar_today

Updated On:

Products Versions
TIBCO Administrator -
Not Applicable -

Description

Resolution:
Description:
============
Unable to add a EMS server to the TIBCO Administrator domain via the Domain Utility.

The domainutility log file shows the following error:

2013 Sep 19 12:24:10:342 GMT -0400 DU Info [DomainUtility] AESDKJ-0000 Starting command line execution....
2013 Sep 19 12:24:10:591 GMT -0400 DU Debug [DomainUtility] AESDKJ-0000 Registerd Task: addMachine
2013 Sep 19 12:24:10:591 GMT -0400 DU Debug [DomainUtility] AESDKJ-0000 Registerd Task: joinLogicalMachine
2013 Sep 19 12:24:10:591 GMT -0400 DU Debug [DomainUtility] AESDKJ-0000 Registerd Task: AddCustomSoftware
2013 Sep 19 12:24:10:607 GMT -0400 DU Debug [DomainUtility] AESDKJ-0000 Registerd Task: CreateDomain
2013 Sep 19 12:24:10:607 GMT -0400 DU Debug [DomainUtility] AESDKJ-0000 Registerd Task: addSecondaryServer
2013 Sep 19 12:24:10:607 GMT -0400 DU Debug [DomainUtility] AESDKJ-0000 Registerd Task: deleteDomain
2013 Sep 19 12:24:10:607 GMT -0400 DU Debug [DomainUtility] AESDKJ-0000 Registerd Task: modifyHTTPSConf
2013 Sep 19 12:24:10:607 GMT -0400 DU Debug [DomainUtility] AESDKJ-0000 Registerd Task: UNINSTALL_ADMIN
2013 Sep 19 12:24:10:607 GMT -0400 DU Debug [DomainUtility] AESDKJ-0000 Registerd Task: modifyRVParameters
2013 Sep 19 12:24:10:607 GMT -0400 DU Debug [DomainUtility] AESDKJ-0000 Registerd Task: changeDomainCredentials
2013 Sep 19 12:24:10:607 GMT -0400 DU Debug [DomainUtility] AESDKJ-0000 Registerd Task: changeWebServerPorts
2013 Sep 19 12:24:10:607 GMT -0400 DU Debug [DomainUtility] AESDKJ-0000 Registerd Task: modifyLDAPConf
2013 Sep 19 12:24:10:607 GMT -0400 DU Debug [DomainUtility] AESDKJ-0000 Registerd Task: modifyDatabaseConf
2013 Sep 19 12:24:10:607 GMT -0400 DU Debug [DomainUtility] AESDKJ-0000 Registerd Task: miscellaneous
2013 Sep 19 12:24:10:622 GMT -0400 DU Debug [DomainUtility] AESDKJ-0000 Registerd Task: migrateDomainTo57
2013 Sep 19 12:24:10:622 GMT -0400 DU Debug [DomainUtility] AESDKJ-0000 Registerd Task: addJMSServer
2013 Sep 19 12:24:10:622 GMT -0400 DU Info [DomainUtility] AESDKJ-0000 Executing task: AddJMSServer
2013 Sep 19 12:24:42:930 GMT -0400 DU Info [DomainUtility] AESDKJ-0000 Validating credentials
2013 Sep 19 12:24:42:930 GMT -0400 DU Info [DomainUtility] AESDKJ-0000 Adding EMS server to domain "EAIDR"
2013 Sep 19 12:24:43:211 GMT -0400 DU Error [DomainUtility] AESDKJ-0000 java.lang.NullPointerException
    at com.tibco.administrator.domain.DomainConfiguration.deployJMS(DomainConfiguration.java:501)
    at com.tibco.administrator.du.plugin.JMS.RegisterJMSTask.registerJMS(RegisterJMSTask.java:234)
    at com.tibco.administrator.du.plugin.JMS.RegisterJMSTask.execute(RegisterJMSTask.java:141)
    at com.tibco.administrator.du.cmdline.CmdLineHandler.execute(CmdLineHandler.java:203)
    at com.tibco.administrator.du.DomainUtility.main(DomainUtility.java:425)

2013 Sep 19 12:24:43:211 GMT -0400 DU Error [DomainUtility] AESDKJ-0000 java.lang.RuntimeException: java.lang.NullPointerException
    at com.tibco.administrator.domain.DomainConfiguration.deployJMS(DomainConfiguration.java:600)
    at com.tibco.administrator.du.plugin.JMS.RegisterJMSTask.registerJMS(RegisterJMSTask.java:234)
    at com.tibco.administrator.du.plugin.JMS.RegisterJMSTask.execute(RegisterJMSTask.java:141)
    at com.tibco.administrator.du.cmdline.CmdLineHandler.execute(CmdLineHandler.java:203)
    at com.tibco.administrator.du.DomainUtility.main(DomainUtility.java:425)

2013 Sep 19 12:24:43:211 GMT -0400 DU Info [DomainUtility] AESDKJ-0000 Operation Failed.  Please view the log for more details.

Environment:
============
OS : ALL

Cause:
======
The Domain Utility is running on a server different from where the EMS server runs.

Resolution:
============
The machine where the EMS server resides has to have TRA installed. Then, add the machine where the EMS server is into the domain. This will cause the hawkagent to communicate with the Administrator server.

Using the Domainutility from the machine where the EMS server is located, add the EMS server into the domain.

Issue/Introduction

NullPointerException seen while adding the EMS server to the TIBCO Administrator via the Domain Utility.