无法在Glassfish中创建ConnectionPool Oracle

时间:2013-11-01 05:58:20

标签: oracle glassfish pool

我正在尝试在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

UPD。为了测试我尝试关闭防火墙 - 没有变化。我创建了JDBC连接池的JDBC资源。冲浪类似的订单没有帮助

OJBC驱动程序:../ glassfish \ domains \ domain1 \ lib

0 个答案:

没有答案