读书人

SID异常导致的错误: org.apache.comm

发布时间: 2013-12-26 00:35:35 作者: rapoo

SID错误导致的异常: org.apache.commons.dbcp.SQLNestedException
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Listener refused the connection with the following error:ORA-12505, TNS:listener does not currently know of SID given in connect descriptorThe Connection descriptor used by the client was:localhost:1521:oracl)at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:855)at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:81)at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:417)... 28 moreCaused by: java.sql.SQLException: Listener refused the connection with the following error:ORA-12505, TNS:listener does not currently know of SID given in connect descriptorThe Connection descriptor used by the client was:localhost:1521:oracl

?原因:数据库SID错误

读书人网 >其他数据库

热点推荐