>  기사  >  데이터 베이스  >  Oracle错误解决:ORA

Oracle错误解决:ORA

WBOY
WBOY원래의
2016-06-07 15:18:191088검색

问题: java.sql.SQLException : Listener refused the connection with the following error: ORA-12519, TNS:no appropriate service handlerfound 解决:超过连接数,所以要扩大。在oracle中执行sql语句 select value from v$parameter where name ='proc

问题:java.sql.SQLException: Listener refused the connection with the following error:

ORA-12519, TNS:no appropriate service handlerfound

解决:超过连接数,所以要扩大。在oracle中执行sql语句

select value from v$parameter where name ='processes'; 取得进程数的上限。

alter system set processes = 300 scope =spfile; 重新设置连接数

alter system set sessions=335 scope=spfile; 设置SESSIONS = PROCESSES * 1.1 + 5

重启数据库:
shutdown immediate;
startup;

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.