My Oracle Support Banner

ORDS で TNS 接続タイプを指定すると、IO エラーで接続プールの起動に失敗する (Doc ID 2694614.1)

Last updated on JULY 27, 2020

適用範囲:

Oracle REST Data Services - バージョン 19.2 以降
この文書の内容はすべてのプラットフォームに適用されます。

現象

ORDS で db.connectionType=tns が構成されていると IO エラーが発生して起動に失敗します。


ERROR (*)
-------


<timestamp> SEVERE IO Error: Unknown host specified ,|apex|pu|-<timestamp>,jdbc:oracle:thin:@<tnsAliasName>
<timestamp> WARNING The pool named: |apex|pu| is invalid and will be ignored: ORDS was unable to make a connection to the database. This can occur if the database is unavailable, the maximum number of sessions has been reached or the pool is not correctly configured. The connection pool named: |apex|pu| had the following error(s): IO Error: Unknown host specified


変更点

DB 接続タイプを下記のように TNS に設定しています:

<entry key="db.connectionType">tns</entry>
<entry key="db.tnsAliasName"><TNS alias name in tnsnames.ora></entry>
<entry key="db.tnsDirectory"><The directory location of tnsnames.ora file></entry>

原因

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


本書の内容
現象
変更点
原因
解決策

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.