I was getting an oracle exception when calling a method from a container managed statless bean. I changed my jboss.jcml config file and now the problem is gone. I just thought I would share my config incase someone else was having the same problem.
1st - get rid of the DefaultDS.
<!-- Transactions -->
300
oracle.jdbc.xa.OracleXid
<!-- JDBC -->
oracle.jdbc.driver.OracleDriver
OracleDS
oracle.jdbc.xa.client.OracleXADataSource
jdbc:oracle:thin:@ORACLEDB:1521:TESTDB
xxxxxxx
xxxxxxxx
1
10
true
false
false
true
60000
60000
60000
1.0
true