Hello,
First of all,
JDK: jdk1.6.0_03
Server: Sun Java System Application Server 9.1_02
Database: Oracle8i
Driver: thin driver: ojdbc14_g.jar
For my current project I need to implement a glassfish connection pool to a Oracle8i database.
I implemented a little testprogramm to connect to the database and it works fine without any problems.
But when I want to create a connection pool with the glassfish server and I try to ping the database I get an error:
E/A-Exception: The Network Adapter could not establish the connection
I configured everything like written on this site:
https://glassfish.dev.java.net/javaee5/docs/AG/ablih.html#beanh
Here is also the latest entry from the server.log
Caused by: java.sql.SQLException: E/A-Exception:
The Network Adapter could not establish the connection
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:333)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:404)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:154)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:169)
I'm browsing now for 2 days through the web to find a clue how to solve this problem but I don't find anything usefull.
Any help is would be appreciated.
[Message sent by forum member 'thellos' (thellos)]
http://forums.java.net/jive/thread.jspa?messageID=290079