• 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 ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

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?

All that thinking. Doesn't it hurt? What do you think about this tiny ad?
a bit of art, as a gift, the permaculture playing cards
    Bookmark Topic Watch Topic
  • New Topic