• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Oracle XA Exception

 
Kalichar Rangantittu
Ranch Hand
Posts: 240
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic