File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Oracle XA Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Oracle XA Exception" Watch "Oracle XA Exception" New topic

Oracle XA Exception

Kalichar Rangantittu
Ranch Hand

Joined: Jan 15, 2002
Posts: 240
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.

Never be satisfied with anything less than the best and you will surely pass the test...
I agree. Here's the link:
subject: Oracle XA Exception
It's not a secret anymore!