• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

JDBC problems

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Using WAS 5.1, I have a JDBC Provider setup for my Oracle DB.
The driver is ojdbc14.jar (we've tried a few different ones with same result).
driver class: oracle.jdbc.driver.OracleDriver
datasource helper classname: com.ibm.websphere.rsadapter.GenericDataStoreHelper

When I attempt to test this connection inside the WAS admin, I get the following error:
java.lang.Exception: DSRA8101E: DataSource class cannot be used as one-phase: ClassCastException: oracle.jdbc.driver.OracleDriver. View JVM logs for further details. null

I found in a search to set the custom variable enable2Phase to true, but that gives me the same error as above except is says cannot be used as two-phase

Any ideas why this driver does not work, or reasons for this error message?

thx
 
That which doesn't kill us makes us stronger. I think a piece of pie wouldn't kill me. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic