#ORCL.Alias

 
 

 
db.properties
 
Alias Name : oracle_example
(Same name at connect file of OZ Server )
 
oracle_example.vendor=oracle
oracle_example.serverAddress=xxx, xxx, xxx, xxx
oracle_example.portNo=1521
oracle_example.sid=xxxxx -> SID_NAME or DBNAME
oracle_example.user=xxxxx
oracle_example.password=xxxxx
oracle_example.maxconns=50 -> default
oracle_example.initconns=10 -> default
oracle_example.timeout=5 -> default
oracle_example.doConnectionCheck=true -> default
oracle_example.testQueryString=select 1 from dual -> default
 
 
tnsnames.ora
ORCL =
   (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = xxx, xxx, xxx, xxx)(PORT = 1521))
         (CONNECT_DATA =
         (SERVER = DEDICATED)
         (SERVICE_NAME = orcl)
      )
   )

listener.ora 파일 참조
 
LISTENER =
   (DESCRIPTION_LIST =
      (DESCRIPTION =
         (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = xxx, xxx, xxx, xxx)(PORT = 1521))
         )
      (ADDRESS_LIST =
         (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
      )
   )
)
 
SID_LIST_LISTENER =
   (SID_LIST =
      (SID_DESC =
         (SID_NAME = PLSExtProc)
         (ORACLE_HOME = /u01/app/oracle/product/xxx)
         (PROGRAM = extproc)
      )
      (SID_DESC =
         (GLOBAL_DBNAME = mysid.com)
         (ORACLE_HOME =/u01/app/oracle/product/xxx)
         (SID_NAME = mysid)
      )
   )