본문 바로가기
WEB/트라우마 NCS_5

java.sql.SQLException: Listener refused the connection with the following error:ORA-12514, TNS:listener does not currently know of service requested in connect descriptor

by 함댕댕 2021. 11. 15.

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

java.sql.SQLException: 리스너가 다음 오류로 인해 연결을 거부했습니다.
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor.

ORA-12514, TNS:리스너가 현재 연결 설명자에서 요청된 서비스를 알지 못합니다.

 

[ 해결방법 ]  listener가 중지상태일 확률 99% 

 

listener가 왜 중지가 되었을까?

이유는 그것(오라클에서 불필요한 메모리를 많이 잡아먹는다고 굳이 실행 안시켜놔도 되는것들)이 있는데...

 

1. 작업관리자 진입 Ctrl + Alt + Del

2. 서비스 진입

3. 이름순 -> 알파벳 O누르면 Oracle어쩌고 뜸 

이름 PID   설명  상태  그룹
OracleJobSchedulerXE   OracleJobSchedulerXE  중지됨  
OracleMTSRecoveryService    OracleMTSRecoveryService  중지됨  
OracleServiceXE  2420 OracleServiceXE  실행 중  
OracleXEClrAgent    OracleXEClrAgent  중지됨  
OracleXETNSListener  4108 OracleXETNSListener  실행 중  

PID번호는 뭔지 모르겠으나 실행중 상태면 번호가 뜸 

 

댓글