连接Oracle数据库报错!!

2019-01-20 18:27:49

严重:18:27:49 Druid-ConnectionPool-Create-1192541044 ERROR [com.fr.third.alibaba.druid.pool.DruidDataSource] create connection error, url: jdbc:oracle:thin:@localhost:1521:FWWBDC, errorCode 0, state null


2019-01-20 18:27:59

警告:18:27:59 pool-24-thread-1 WARN [root] 错误代码:31300012 创建数据连接失败: 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:

localhost:1521:FWWBDC



2019-01-20 18:27:59

严重:18:27:59 SwingWorker-pool-12-thread-2 ERROR [root] 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:

localhost:1521:FWWBDC


FineReport tangshi998 发布于 2019-1-20 18:29
1min目标场景问卷 立即参与
回答问题
悬赏:4 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共1回答
最佳回答
0
monvzhileiLv6初级互助
发布于2019-1-20 18:52

首先,你要确保 FWWBDC实例 要处于监听状态吧?  lsnrctl status 看看哦。


  • 2关注人数
  • 741浏览人数
  • 最后回答于:2019-1-20 18:52
    请选择关闭问题的原因
    确定 取消
    返回顶部