This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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...
It is sorta covered in the JavaRanch Style Guide.
subject: Oracle XA Exception
Similar Threads
Could not create connection !!!!
Problem oin connecting Oracle database in JBOSS AS 4.2.3
No ManagedConnections available within configured blocking timeout ( 5000 [ms] )
JBoss Classpath
Need help to setup datasource for AS/400