adpreclone on dbTier failled RC-40003
Hi,
on R12.2 and DB 11.2.0.4 on AIX
running :
perl adpreclone.pl dbTier
adpreclon failed with
RC-40003: Fatal: Unable to connect to database as APPS schema
And in log file
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=server.us.oracle.com)(PORT=xxx))(CONNECT_DATA=(SERVICE_NAME=vision.us.oracle.com)))
WARNING: Exception occurred: java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
Connection could not be obtained; returning null
But I can connect in sqlplus :
sqlplus apps/***@vision
It seems that it's a jdbc problem because domain name (us.oracle.com) in connection string is not correct.