原来我连接的是*.*.*.1服务器
数据库连接这样:jdbc:oracle:thin:@*.*.*.1:lssvr现在我把数据库换到*.*.*.15
数据库连接这样:jdbc:oracle:thin:@*.*.*.15:ora92可是报错了:
getMessage():
java.sql.SQLException: Cannot create PoolableConnectionFactory (Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: *.*.*.15:1521:ora92 )oracle客户端配置
PDE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = *.*.*.15)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = ora92)
)
)问题出在哪呢?高手指点
数据库连接这样:jdbc:oracle:thin:@*.*.*.1:lssvr现在我把数据库换到*.*.*.15
数据库连接这样:jdbc:oracle:thin:@*.*.*.15:ora92可是报错了:
getMessage():
java.sql.SQLException: Cannot create PoolableConnectionFactory (Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: *.*.*.15:1521:ora92 )oracle客户端配置
PDE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = *.*.*.15)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = ora92)
)
)问题出在哪呢?高手指点
SID_LIST_LISTENER_ORA9 =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /oracle/...)
(PROGRAM = extproc)
)
(SID_DESC =
(ORACLE_HOME = /oracle/....)
(SID_NAME = ora9)
)
)