ORA-12518, TNS:listener could not hand off client connection
spring中用jdbc去連線oracle的時候,出現錯誤:
ORA-12518, TNS:listener could not hand off client connection
org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
Caused by:
org.hibernate.exception.GenericJDBCException: Cannot open connection
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
原因一般為:客戶連線到監聽器後,監聽器把客戶重定向到排程程式埠,由於作業系統問題,這些連線會被拒絕。
要解決這個問題,只需要在LISTENER.ORA的頭部加入這一行DIRECT_HANDOFF_TTC_LISTENER = OFF 即可。
在listener.ora檔案加上一句 DIRECT_HANDOFF_TTC_LISTENER = OFF
然後重啟監聽服務
lsnrctl stop
lsnrctl start
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/12778571/viewspace-611514/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Listener refused the connection with the following error:ORA-12514, TNS:listenerError
- TNS問題排查 The listener supports no services
- Connection could not be established with host 求救
- Oracle Database Server 'TNS Listener'遠端資料投毒漏洞OracleDatabaseServer
- ORA-12514:TNS:listener does not currently know of service requested in connect descriptor
- lightdb WARNING: could not establish connection after 30000 ms
- Oracle案例09——ORA-12154: TNS:could not resolve the connect identifier specifiedOracleIDE
- SAP ABAP Gateway Client 的 ABAP 實現,重用 HTTP ConnectionGatewayclientHTTP
- iOS-拉outlet到程式碼區錯誤:Could not insert new outlet connection: Could not find any...iOS
- (20200916 Solved)Docker||redis-cli Could not connect to Redis at 127.0.0.1:6379: Connection refusedDockerRedis127.0.0.1
- firefox css cursor handFirefoxCSS
- [LeetCode] 846. Hand of StraightsLeetCodeAI
- Oracle案例04——TNS-12547: TNS:lost contactOracle
- Listener
- jetbot11 之 hand detect
- 問題解決:TNS-12543: TNS:destination host unreachable
- hiccup和Latch off
- ORACLE TNS Io異常End of TNS data channel&ORA-12518Oracle
- nacos Connection refused (Connection refused)
- Oracle TNS報錯大全Oracle
- fitter&listener
- JavaWeb-ListenerJavaWeb
- Filter&ListenerFilter
- Connection
- How To Turn SNMP On/Off ? [ID 472530.1]
- java.net.ConnectException: Connection refused (Connection refused)JavaException
- 7、listener監聽
- 4.5.1.3 srvctl add listener
- listener_scan1.log、listener.log監聽日誌清理
- 每日一詞32:trade-off
- Presto Event Listener開發REST
- Sanic listener() 方法/函式函式
- Error:Can't connect to SOCKS proxy:Connection refused (Connection refused)Error
- ORACLE之手動註冊監聽listener。alter system set local_listener="XXX"Oracle
- nmcli connection reload
- 常回家看看之off_by_one
- Vue EventBus事件偵聽($on、$emit、$off、$once)Vue事件MIT
- 11gr2 alert日誌中報TNS-12535 TNS-00505原因及解決方法
- 【故障處理】TNS-04610問題