近期部署在生产环境的应用突然无法访问,查看应用日志发现无法获取数据库连接. SystemErr R Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection SystemErr R at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:) SystemErr R at oracle.net.resolver.A
客户端连接oracle数据库时出现如下错误: Listener refused the connection with the following error: ORA-, TNS:listener does not currently know of service requested in connect descriptor 首先看看Oracle服务是否开启: 然后找到listener.ora监听文件,具体位置:D:\app\Administrator\product\11.2.0\dbh