`
yuanke
  • 浏览: 72916 次
  • 性别: Icon_minigender_2
  • 来自: 临沂
社区版块
存档分类
最新评论

Ask help for lombox coonect to oracle10i

    博客分类:
  • J2EE
 
阅读更多
当我配置好了后,还是报以下exception
java.sql.SQLException: 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:
127.0.0.1:1521:SXT

at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:260)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:386)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:413)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:164)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:752)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at TestOracle.main(TestOracle.java:9)
我想问一下有没有知道问题出在哪里,谢谢!
分享到:
评论
1 楼 joachimz 2008-04-27  
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

你的SID指定的不对。

相关推荐

Global site tag (gtag.js) - Google Analytics