Hi,
I'm getting the following exception when I try to begin a transaction
<21/10/2005 17h09min25s GMT-03:00> <Warning> <Common> <BEA-000631> <Unknown reso
urce "weblogic.jdbc.common.internal.ConnectionEnv@58eb15" being released to pool
"LocalPool". Printing out current pool contents.>
java.rmi.RemoteException: EJB Exception: ; nested exception is:
org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get
JDBC Connection; nested exception is java.sql.SQLException: Unexpected exceptio
n while enlisting XAConnection java.sql.SQLException: XA error: XAER_PROTO : Rou
tine was invoked in an inproper context start() failed on resource 'LocalPool':
XAER_PROTO : Routine was invoked in an inproper context
oracle.jdbc.xa.OracleXAException
at oracle.jdbc.xa.OracleXAResource.checkError(I)V(OracleXAResource.java:
938)
at oracle.jdbc.xa.client.OracleXAResource.start(Ljavax.transaction.xa.Xi
d;I)V(OracleXAResource.java:244)
at weblogic.jdbc.wrapper.VendorXAResource.start(Ljavax.transaction.xa.Xi
d;I)V(VendorXAResource.java:50)
at weblogic.jdbc.jta.DataSource.start(Ljavax.transaction.xa.Xid;I)V(Data
Source.java:629)
at weblogic.transaction.internal.XAServerResourceInfo.start(Lweblogic.tr
ansaction.internal.ServerTransactionImpl;Ljavax.transaction.xa.Xid;I)V(XAServerR
esourceInfo.java:1140)
at weblogic.transaction.internal.XAServerResourceInfo.xaStart(Lweblogic.
transaction.internal.ServerTransactionImpl;I)V(XAServerResourceInfo.java:1072)
at weblogic.transaction.internal.XAServerResourceInfo.enlist(Lweblogic.t
ransaction.internal.ServerTransactionImpl
Z(XAServerResourceInfo.java:240)
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(Lj
avax.transaction.xa.XAResource
Z(ServerTransactionImpl.java:463)
...
I'm using Orace 10g and Weblogic 8.1 sp4
I also updated Weblogic oracle driver with the one that comes with 10g.
I ran xainit.sql and made the grants.
Any ideas?