File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Oracle XA Exception" Watch "Oracle XA Exception" New topic
Author

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: http://aspose.com/file-tools
 
subject: Oracle XA Exception
 
Similar Threads
No ManagedConnections available within configured blocking timeout ( 5000 [ms] )
JBoss Classpath
Problem oin connecting Oracle database in JBOSS AS 4.2.3
Need help to setup datasource for AS/400
Could not create connection !!!!