您好,欢迎来到保捱科技网。
搜索
您的当前位置:首页Listener refused the connection with the following error 错误解

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: 127.0.0.1:1521:ORCL

      可以先执行下 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;

  需重启oracle才能生效

            就可以了,当然300可以根据实际情况设置。

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- baoaiwan.cn 版权所有 赣ICP备2024042794号-3

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务