Configuring JDBC in AppServer 9

I have downloaded the entire AppServer 9 + Netbeans 5.5 Bundle (from netbeans.org) for MacOSX and I am trying to configure a connection pool for Oracle 8i.

I am following the steps in the Administration Guide about setting up a JDBC connection pool for 9i/10g (since there is no mention of 8i) and it does not work. Once I save the connection and try to ping it I get this error:

Operation'pingConnectionPool' failed in'resources' Config Mbean. Target exception message: Class name is wrong or classpath is not setfor : com.sun.sql.jdbcx.oracle.OracleDataSource

My settings are :

Resource Type : javax.sql.DataSource

Vendor : Oracle

Datasource Classname : oracle.jdbc.pool.OracleDataSource

Then for additional properties I set

user, password, SID, serverName, portNumber

The PDF makes mention of some files smbase.jar, smoracle.jar, smutil.jar. These 3 files do not exist at all in the app server distribution. I found mention in another thread that you have to get them from datadirect.com - which you have to buy. Not cool.

Can I use my oracle provided jdbc drivers?

[1227 byte] By [ccheshire] at [2007-11-26 9:42:13]
# 1

yes, you can use oracle thin driver.

Your connection pool configuration is actually using datasource of oracle thin driver.

1) download oracle thin driver from oracle

2) .jar need to be kept in AS_INSTALL/domains/<domain-name>/lib/ext

3) restart AS

4) set all the necessary properties for Oracle thin driver - conn. pool (refer App Server Administration Guide > JDBC Resources > Config. for specific JDBC Drivers > Oracle thin type 4 driver

5) Ping conn. pool

If you are still getting the failure message, please post

1) exception got during ping, from domains/<domain-name>/logs/server.log

2) connection pool configuration

Thanks,

-Jagadish

JagadishPrasath at 2007-7-7 0:41:28 > top of Java-index,Application & Integration Servers,Application Servers...