Listener refused the connection with the following error 错误解决
2013-09-05 15:25
483 查看
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
这种错误,网上查了很多,都说是ip地址改变之后的问题,要把tnsnames.ora中的实例配置中改为计算机名,我试过之后问题还是不能解决,今天终于找到问题所在了,是数据库连接数量的问题,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可以根据实际情况设置。
相关文章推荐
- Listener refused the connection with the following error 错误解决
- Listener refused the connection with the following error 错误解决
- Listener refused the connection with the following error 错误解决(最大连接数)
- 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-12519;java.sql.SQLException: Listener refused the connection with the following error解决办法
- Listener refused the connection with the following error 错误解
- java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:list
- Orcale学习——无法监听(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-12505, TNS:listener does
- java.sql.SQLException: Listener refused the connection with the following error:ORA-12505
- 今天写一个JSP+Oracle的项目,遇到了 Listener refused the connection with the following error:ORA-12519:
- java.sql.SQLException: Listener refused the connection with the following error:
- Listener refused the connection with the following error:ORA-12505, TNS:listener does not currently
- java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:lis
- Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently
- Listener refused the connection with the following error:
- java.sql.SQLException: Listener refused the connection with the following error