EBS R12加入應用節點報錯 RC-40201: Unable to connect to Database SRMG -1

tolywang發表於2015-02-03
Oracle EBS R12.1.3 ,  Oracle 11.2.0.1  

資料庫為單機
應用為雙節點

目標: APP節點1已經正常執行,現在需要加入APP節點2,在實施: $ perl   adclonectx.pl  addnode  contextfile=  的時候報錯 。 詳細log如下: 
getConnection() --&gt
    sDbHost    : nktsh
    sDbDomain  : huawei.com
    sDbPort    : 1521
    sDbSid     : SRMG
    sDbUser    : APPS
    Trying to connect using SID...
getConnectionUsingSID() --&gt
    JDBC URL: jdbc:oracle:thin:@nktsh.huawei.com:1521:SRMG
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName
getConnectionUsingServiceName() --&gt
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=nktsh.huawei.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=SRMG)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() --&gt
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=nktsh.huawei.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=SRMG.huawei.com)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Connection could not be obtained; returning null

-------------------ADX Database Utility Finished---------------
StackTrace: 
java.lang.Exception: Cant connect to database using DBUtil
at oracle.apps.ad.context.CloneContext.checkDatabaseConnection(CloneContext.java:3745)
at oracle.apps.ad.context.CloneContext.checkDBPort(CloneContext.java:3678)
at oracle.apps.ad.context.CloneContext.preserveOldPortSettings(CloneContext.java:3398)
at oracle.apps.ad.context.CloneContext.promptForPortPool(CloneContext.java:3534)
at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:616)
at oracle.apps.ad.context.CloneContext.main(CloneContext.java:5196)

RC-40201: Unable to connect to Database SRMG.
<source>

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-1424709/,如需轉載,請註明出處,否則將追究法律責任。

相關文章