Oracle EBS R12.1.3 , Oracle 11.2.0.1
数据库为单机
应用为双节点
目标: APP节点1已经正常运行,现在需要加入APP节点2,在实施: $ perl adclonectx.pl addnode contextfile= 的时候报错 。 详细log如下:
getConnection() -->
sDbHost : nktsh
sDbDomain : huawei.com
sDbPort : 1521
sDbSid : SRMG
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
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() -->
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() -->
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.
数据库为单机
应用为双节点
目标: APP节点1已经正常运行,现在需要加入APP节点2,在实施: $ perl adclonectx.pl addnode contextfile= 的时候报错 。 详细log如下:
getConnection() -->
sDbHost : nktsh
sDbDomain : huawei.com
sDbPort : 1521
sDbSid : SRMG
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
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() -->
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() -->
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.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-1424709/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/35489/viewspace-1424709/