ホームページ  >  記事  >  データベース  >  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 までご連絡ください。