Products | Versions |
---|---|
TIBCO Administrator | - |
Not Applicable | - |
Resolution:
Description:
============
Configure Administrator when using Oracle Data Guard for HA.
Environment:
===========
Administrator 5.7 or higher
Symptoms:
========
Getting error in Domain Utility while creating an admin domain using DB backend.
java.lang.Exception: java.sql.SQLRecoverableException: IO Error: Unknown host specified
Cause:
=====
JDBC URL can not resolve the DB host.
Resolution:
==========
When using Oracle Data Guard for HA where the DB connection is set using net_service _name, the Administrator DB connection should be done using TNS (@SERVICE_NAME) instead of using SID (@<host>:<port>:<SID>).
The Administration domain can be created by using the DB URL as follows:
"jdbc:oracle:thin:@<TNS_Identifier>"
For that string to work, there should be a Java property set:
java.property.oracle.net.tns_admin=<location of tnsnames.ora>
Example:
java.property.oracle.net.tns_admin=C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN
Added in the following:
<TIBCO_HOME>/tra/<version>/bin/domainutility.tra file – used by domainutility
<TIBCO_HOME>/administrator/<version>/template/tibcoadmintra.template - used for tibcoadmin_DOMAIN.tra
<TIBCO_HOME>/tra/<version>/template/domainutility/hawkagenttra.template - used for hawkagent_DOMAIN.tra
<TIBCO_HOME>/tra/<version>/bin/AppManage.tra - used by AppManage
<TIBCO_HOME>/tra/<version>/bin/domainutilitycmd.tra - used by domainutilitycmd
References:
==========
http://docs.oracle.com/cd/B28359_01/java.111/b31224/urls.htm#JJDBC08200
http://docs.oracle.com/cd/B28359_01/server.111/b28294/create_ps.htm#i63561
https://forums.oracle.com/forums/thread.jspa?threadID=541354
http://docs.oracle.com/cd/B28359_01/network.111/b28316/gettingstart.htm#i485122