Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JNDI error - Running WSAD auction sample with oracle db.

322 views
Skip to first unread message

Ed Elud

unread,
Feb 18, 2003, 11:37:27 PM2/18/03
to
I was able to create the table for the sample in the Oracle db,
pointed all references (helper classes and db references) from DB2 to
Oracle and I'm now getting the following error. Since its using jdbc,
it should work transparently with Oracle. I shouldnt have to run DB2
to WSAD, right?

Under server settings, set up all attributes for data source, eg.
TNSEntryName, serverName, etc.


2/18/03 23:35:14:481 EST] 19d22c65 EJBContainerI I WSVR0207I:
Preparing to start EJB jar: AuctionRunV5EJB.jar
[2/18/03 23:35:15:482 EST] 19d22c65 EJBContainerI I WSVR0037I:
Starting EJB jar: AuctionRunV5EJB.jar
[2/18/03 23:35:16:844 EST] 19d22c65 ConnectionFac E J2CA0036E: An
exception occurred while invoking method setDataSourceProperties on
com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl used by
resource jdbc/dreamauc : java.lang.reflect.InvocationTargetException:
com.ibm.ws.exception.WsException: DSRA0023E: The DataSource
implementation class "oracle.jdbc.pool.OracleConnectionPoolDataSource"
could not be found.
at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.<init>(DataStoreAdapterException.java:251)
at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.<init>(DataStoreAdapterException.java:172)
at com.ibm.ws.rsadapter.AdapterUtil.createDataStoreAdapterException(AdapterUtil.java:182)
at com.ibm.ws.rsadapter.DSConfigurationHelper.createDataSource(DSConfigurationHelper.java:507)

Chris R

unread,
Feb 20, 2003, 3:49:49 AM2/20/03
to
Ed,

Your error suggests that the Websphere Test Environment cannot see
your oracle driver class.
Have you tried adding the oracle driver zip/jar file to the server
classpath in the paths tab of the server configuration. This may not
be the best place for it but it might work.

Cheers
Chris

0 new messages