Dev/DataBase

ORA-12519, TNS:no appropriate service handler found

nakanara 2013. 8. 1. 10:23
반응형


어느날 갑자기 DB가 다음의 오류를 내면서 접속하지 못하였다.



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:


현재 프로세스를 더 만들지 못해서 발생하는듯 하다.


현재 프로세스 확인방법


select * from v$resource_limit where resource_name = 'processes';


RESOURCE_NAME CURRENT_UTILIZATION MAX_UTILIZATION LIMIT_VALUE
------------- ------------------- --------------- -----------
processes           148           150               150   

 


해결책. 프로세스 수를 올려준다.



cmd>sqlplus / as sysdba
sqlplus>alter system set processes=300 scope=spfile;
sqlplus>shut immediate;
sqlplus>startup  


DB가 새로 시작해야하므로 주의.

반응형