ITeye博客

TNS:no appropriate service handler found

ymanyang · 2012-11-16 16:47 · Database · 数据库 · Markdown

Error Message:

Caused by: java.sql.SQLException: Listener refused the connection with the following error:

ORA-12519, TNS:no appropriate service handler found

The Connection descriptor used by the client was:

localhost:1521:xe

 

Cause:

This error is generally caused by the value of allowed processes or sessiones is too small. 

Solution:

Excecute the following command in SQLPLUS to change the parameters of Oracle then restart the oracle service.

alter system set processes=500 scope=spfile sid='*';
alter system set sessions=555 scope=spfile sid='*';
alter system set transactions=610 scope=spfile sid='*';

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。