Domainutilitycmd create domain fails with db error message: “Error -- java.lang.RuntimeException: Database configuration not found.”

Domainutilitycmd create domain fails with db error message: “Error -- java.lang.RuntimeException: Database configuration not found.”

book

Article ID: KB0088475

calendar_today

Updated On:

Products Versions
TIBCO Administrator -
Not Applicable -

Description

Resolution:
Description
= = = = = =
When running the Domainutilitycmd to create a domain using the default template "Create Domain.xml" and modifying it according to the customer’s environment, although the Database Connection parameters are commented out it still fails with the error:

Error -- java.lang.RuntimeException: Database configuration not found.
        at com.tibco.administrator.du.task.createdomain.CreateDomainTask.setupInputParameters(CreateDomainTask.java:219)
        at com.tibco.administrator.du.cmdline.CmdLineHandler.execute(CmdLineHandler.java:181)
        at com.tibco.administrator.du.DomainUtility.main(DomainUtility.java:408)

Environment
= = = = = = =
    TIBCO Runtime Agent™ 5.5 and 5.6
    Operating System(s): All
    Java Runtime Environment (JRE) : All

Symptoms
= = = = =
The creation of the domain fails with a runtime exception.

Cause
= = =
The reason this problem occurs is the EMS block shown below has been uncommented. Once the EMS block is uncommented the domain needs to be configured to use EMS as a transport which in turn requires a database access.
    =====================================
            &ltEMSParameters>
                &ltServerHost&gtxyz06a</ServerHost>
                &ltPort&gt7225</Port>
                &ltUsername&gtadmin</Username>
                &ltPassword></Password>
            &ltSSL>
                &ltDoNotVerifyHost&gtfalse</DoNotVerifyHost>
                &ltTrustedCertificate></TrustedCertificate>
                &ltIdentity></Identity>
                &ltPrivateKey></PrivateKey>
                &ltPassword></Password>
            &ltDoNotVerifyHostname&gtfalse</DoNotVerifyHostname>
                &ltExpectedHostname></ExpectedHostname>
                &ltCipherSuiteNames></CipherSuiteNames>
            </SSL>
            </EMSParameters>

Resolution
= = = = = =
In order to resolve this issue comment out the above EMS block.

Keywords/Tags
= = = = = = = = =

Issue/Introduction

Domainutilitycmd create domain fails with db error message: “Error -- java.lang.RuntimeException: Database configuration not found.”