Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • 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 ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Oracle XA Exception

Ranch Hand
Posts: 240
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am having the following exceptions when using JBoss3.2.3 with Oracle 9i. I posted this on JBoss forums but no answers. jdk1.4.2. Oracle 9iR2 for Win XP/NT/2000. Praying for some here.
oracle-ds.xml file:

I try to obtain a connection using the data source defined but get a Class Cast Exception. Code to get connection is this:

I get the following exceptions:

My JBoss Startup denotes that the resource is bound correctly. Further the oracle jdbc jar I am using is in my class path and is ojdbc-14.jar for use with jdk1.4.x. Why am I getting this Class Cast Exception? Do we need to configure Oracle 9i in some way? Please assist. Thanks in advance.
    Bookmark Topic Watch Topic
  • New Topic