Hi,
Thanks for your help on this, and sorry for
my delay in answering.
According to Oracle, this incompatibility
(not being able to use any other Xid than
oracle.jdbc.xa.OracleXid) is fixed with the
8.1.7 release.
I got confirmation on this from a user using
the 8.1.7 OCI driver. Could it be that you
are using the THIN driver, and that this has
not yet been fixed for the THIN driver?
What puzzles me even more here is that the
XAException(XAER_NOTA) happened during the
resource delist from tx that is done on
connection close.
But the Xid given to OracleXAResource
end() method here is (or should be) the
same as was previously given to the start()
method on resource enlistment. But no
XAException on enlistment.
A lot has happened lately to the Minerva
part of PRE-2.1, and today the package
org.jboss.minerva no longer exists as
Minerva is in its own seperate jar.
Maybe, just maybe, you have been unlucky
to get a checkout during this transition
that has some bug.
I would really like to get to the bottom of
this. If you can spare me the time:
Please tell me if this is with OCI or THIN
driver.
Maybe try a fresh CVS checkout, and see if
that makes a difference.
If you change a constant near the top of
org.jboss.tm.TxCapsule:
// Trace enabled flag
static private final boolean trace = false;
and recompile, a lot of extra trace information
is logged at debug level. A server log with
this information included would enable me to
find out exactly what is wrong and what can be
done about it.
Best Regards,
Ole Husgaard.
Jean-Michel DELSAUX wrote:
>
> Hi Ole, thanks for your explanation.
>
> Here is what happens when i set:
> #jboss.xa.xidclass=oracle.jdbc.xa.OracleXid
>
> So I have the next error... i am using PRE 2.1 and oracle 8.1.7
>
> I have no error if the line is uncommented.
>
> HTH
>
> JMi
> ===================
>
> [Default] JBoss PRE-2.1 Started in 0m:14s
> [IdSectorBean] XAException: tx=XidImpl [FormatId=257, GlobalId=p_jmi//0,
> BranchQual=] errorCode=XAER_NOTA
> [IdSectorBean] oracle.jdbc.xa.OracleXAException
> [IdSectorBean] at
> oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:483)
> [IdSectorBean] at
> oracle.jdbc.xa.client.OracleXAResource.end(OracleXAResource.java:285)
> [IdSectorBean] at org.jboss.tm.TxCapsule.endResource(TxCapsule.java:1136)
> [IdSectorBean] at org.jboss.tm.TxCapsule.delistResource(TxCapsule.java:504)
> [IdSectorBean] at
> org.jboss.tm.TransactionImpl.delistResource(TransactionImpl.java:101)
> [IdSectorBean] at
>
>org.jboss.minerva.factories.XAConnectionFactory$2.closeConnection(XAConnectionFactory.java:101)
> [IdSectorBean] at
>
>org.jboss.minerva.factories.XAConnectionFactory$2.connectionClosed(XAConnectionFactory.java:86)
> [IdSectorBean] at
> oracle.jdbc.pool.OraclePooledConnection.callListener(OraclePooledConnection.java:241)
> [IdSectorBean] at
> oracle.jdbc.pool.OraclePooledConnection.logicalClose(OraclePooledConnection.java:215)
> [IdSectorBean] at
> oracle.jdbc.driver.OracleConnection.logicalClose(OracleConnection.java:1955)
> [IdSectorBean] at
> oracle.jdbc.driver.OracleConnection.close(OracleConnection.java:904)
> [IdSectorBean] at
> com.id.pyrites.ejb.IdSectorBean.ejbFindByDencod(IdSectorBean.java:287)
> [IdSectorBean] at java.lang.reflect.Method.invoke(Native Method)
> [IdSectorBean] at
>
>org.jboss.ejb.plugins.BMPPersistenceManager.callFinderMethod(BMPPersistenceManager.java:458)
> [IdSectorBean] at
>
>org.jboss.ejb.plugins.BMPPersistenceManager.findEntities(BMPPersistenceManager.java:221)
> [IdSectorBean] at
> org.jboss.ejb.EntityContainer.find(EntityContainer.java:392)
> [IdSectorBean] at java.lang.reflect.Method.invoke(Native Method)
> [IdSectorBean] at
>
>org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:639)
> [IdSectorBean] at
>
>org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:160)
> [IdSectorBean] at
>
>org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:87)
> [IdSectorBean] at
> org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:135)
> [IdSectorBean] at
> org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:263)
> [IdSectorBean] at
> org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:86)
> [IdSectorBean] at
> org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:119)
> [IdSectorBean] at
> org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:106)
> [IdSectorBean] at
> org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:316)
{snip]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]