Glassfish JDBC 接続プールで作成しようとしています。
私はこの次の設定を使用しています
Resource type: javax.sql.ConnectionPoolDataSource
Datasource Classname: oracle.jdbc.pool.OracleConnectionPoolDataSource
url:jdbc:oracle:thin:ip_address:1521
ping を実行しようとすると、次のエラーが表示されます。
[2013-11-01T09:41:46.674+0400] [glassfish 4.0] [WARNING] [test.connection.pool.failed] [javax.enterprise.resource.resourceadapter.com.sun.enterprise.connectors.service] [tid: _ThreadID=124 _ThreadName=admin-listener(7)] [timeMillis: 1383284506674] [levelValue: 900] [[
RAR8054: Exception while creating an unpooled [test] connection for pool [ OraclePool ], Connection could not be allocated because: I / O error:: The Network Adapter could not establish the connection]]
Timestamp Nov 1, 2013 09:28:39.892
Log Level WARNING
Logger javax.enterprise.resource.resourceadapter.com.sun.enterprise.connectors.service
Name-Value Pairs {levelValue=900, timeMillis=1383283719892}
Record Number 759
Message ID test.connection.pool.failed
Complete Message RAR8054: Exception while creating an unpooled [test] connection for pool [ ConnectionOraclePool ], Connection could not be allocated because: Ошибка ввода/вывода: The Network Adapter could not establish the connection
更新。テストのために、ファイアウォールをオフにしようとしました-変更はありません。JDBC 接続プールからの JDBC リソースが作成されました。同様の順序でサーフィンしても役に立たなかった
OJBC ドライバー: ../glassfish\domains\domain1\lib