Listener refused the connection with the following error 错误解决
Posted xiaohuizhenyoucai
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Listener refused the connection with the following error 错误解决相关的知识,希望对你有一定的参考价值。
web应用连接oracle数据库时,经常在查询数据时发生
Listener refused the connection with the following error: ORA-12519, TNS:no appropriate service handler found The Connection descriptor used by the client was: ip地址:1521:数据库名
这是数据库连接数量的问题,12519错误为监听不能提供服务,通常为数据库进程达到上限导致。
可以先执行下 select count(*) from v$process ,看下现在系统有多少连接数,然后再查询 select value from v$parameter where name = ‘processes‘ ,看下oracle设置中设置了多少连接数,一般一个应用都会使用20个,所以如果你开了几个应用的话(web、pl/sql、……)就会出这个问题了,这时只需要执行下
alter system set processes = 300 scope = spfile;------这一步是关键
就可以了,当然300可以根据实际情况设置。
————————————————
版权声明:本文为CSDN博主「han_ying_ying」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/han_ying_ying/java/article/details/42026595
以上是关于Listener refused the connection with the following error 错误解决的主要内容,如果未能解决你的问题,请参考以下文章
Listener refused the connection with the following error 错误解决
Listener refused the connection with the following error:ORA-12514, TNS:listener does not currently
java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:list
Oracle中Error while performing database login with the XXXdriver; Listener refused the connection wit
DBeaver连接Oracle Express Edition报错:1driver instance,2Listener refused the connection:ORA-12514
DBeaver连接Oracle Express Edition报错:1driver instance,2Listener refused the connection:ORA-12514