Jean-Michel: looking at your stack trace I see:
org.opentools.minerva.jdbc.xa.  You cannot use minerva xa with oracle.

Have you tried the following (from
http://www.jboss.org/newsite/documentation/HTML/ch03s05.html : Oracle8i)

8.1.7 Thin Driver (classes12.zip)
8.1.7 DB
jboss.xa.xidclass=oracle.jdbc.xa.OracleXid
"org.jboss.jdbc.XADataSourceLoader" =>
"oracle.jdbc.xa.client.OracleXADataSource"

This is the ONLY configuration I have found to work consistently.  It
appears you are using correct OracleXid but NOT OracleXADataSource.

If that doesnt fix it I am out of ideas.

[IdSectorBean] XAException: tx=XidImpl [FormatId=257, GlobalId=p_jmi//1, 
BranchQual=] errorCode=XAER_RMERR
[IdSectorBean] oracle.jdbc.xa.OracleXAException
[IdSectorBean]  at 
oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:498)
[IdSectorBean]  at 
oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:190)
[IdSectorBean]  at org.jboss.tm.TxCapsule.startResource(TxCapsule.java:1097)
[IdSectorBean]  at org.jboss.tm.TxCapsule.enlistResource(TxCapsule.java:624)
[IdSectorBean]  at 
org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:110)
[IdSectorBean]  at 
org.opentools.minerva.jdbc.xa.XAConnectionFactory.prepareObject(XAConnection
Factory.java:269)
[IdSectorBean]  at 
org.opentools.minerva.pool.ObjectPool.getObject(ObjectPool.java:548)
[IdSectorBean]  at 
org.opentools.minerva.pool.ObjectPool.getObject(ObjectPool.java:521)
[IdSectorBean]  at 
org.opentools.minerva.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSourc
e.java:165)
[IdSectorBean]  at 
com.id.pyrites.ejb.connection.IdConnection.getConnection(IdConnection.java:3
3)


-----Original Message-----
From: Jean-Michel DELSAUX [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 4:28 AM
To: [EMAIL PROTECTED]
Subject: [jBoss-User] Is EJB ready to market or only for laboratories??
Fed of these bugs with Oracle


Hi All and Ole,

I also tried with the OCI8 driver with Oracle 8.1.7 and the last CSV (14 
february) and... it is not OK.
A client call a session bean that call an entity bean.  Alone, the entity 
one works fine.

A "funny" thing is that when i call directly the IDSectorBean with a 
client,it runs (displays all the informations - 15 lines).  If the next call

is done by the client that generate the error code here after, it runs, it 
shows all the lines.
A second call creates the next message(see below) after 4 lines of results.

What can i do?  I am fed of these things, i would like to start my 
application and i am not able to do it.  Oracle problems with jboss.  But i 
am not sure that if i use another EJB Server i'll not be face to the same 
problem.  End of next week, i have to decide what will be done.  I can spend

time in these technologies problem, i really have to start the app.

Is EJB ready to market or only for laboratories?????  That's what i am 
thinking of.
I would like to use EJB architecture but it is not ready yet.  So let's 
start with a classic client-server application using RMI and a home self 
connection pooling. Perhaps i'll need to write another object caching 
mechanism for frequently used objects... but i know where i go and i can 
start my job... without EJB.  In 1 or 2 years, EJB will
be ready - i hope so, the application will go to the garbage and a new one 
will start...

If you have comments, let me know.

JMi


[Default] JBoss PRE-2.1 Started in 0m:17s
[IdSectorSesBean] TxCapsule: Created new instance for tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//0, BranchQual=]
[IdSectorSesBean] TxCapsule.commit(): Entered, tx=XidImpl [FormatId=257, 
GlobalId=p_jmi//0, BranchQual=] status=STATUS_ACTIVE
[IdSectorSesBean] TxCapsule.commit(): Before completion done, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//0, BranchQual=] status=STATUS_ACTIVE
[IdSectorSesBean] TxCapsule.commit(): No resources.
[IdSectorSesBean] TxCapsule.commit(): Transaction XidImpl [FormatId=257, 
GlobalId=p_jmi//0, BranchQual=] committed OK.
[IdSectorSesBean] TxCapsule: Reused instance for tx=XidImpl [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=]
[IdSectorBean] == setEntityContext ==
[IdSectorBean] == ejbFindByPrimaryKey ==
[IdSectorBean] TxCapsule.enlistResource(): Entered, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//1, BranchQual=] status=STATUS_ACTIVE
[IdSectorBean] TxCapsule.startResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=1]) entered: 
oracle.jdbc.xa.client.OracleXAResource@590453 flags=0
[IdSectorBean] TxCapsule.startResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=1]) leaving: 
oracle.jdbc.xa.client.OracleXAResource@590453 flags=0
[IdSectorBean] == Finally clause of ejbPostCreate ==
[IdSectorBean] TxCapsule.delistResource(): Entered, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//1, BranchQual=] status=STATUS_ACTIVE
[IdSectorBean] TxCapsule.endResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=1]) entered: 
oracle.jdbc.xa.client.OracleXAResource@590453 flag=67108864
[IdSectorBean] TxCapsule.endResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=1]) leaving: 
oracle.jdbc.xa.client.OracleXAResource@590453 flag=67108864
[IdSectorBean] == ejbActivate ==
[IdSectorBean] Activated bean IdSectorBean with id = 1
[IdSectorBean] == ejbLoad ==
[IdSectorBean] TxCapsule.enlistResource(): Entered, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//1, BranchQual=] status=STATUS_ACTIVE
[IdSectorBean] TxCapsule.startResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=2]) entered: 
oracle.jdbc.xa.client.OracleXAResource@1b46dc flags=0
[IdSectorBean] TxCapsule.startResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=2]) leaving: 
oracle.jdbc.xa.client.OracleXAResource@1b46dc flags=0
[IdSectorBean] == Finally clause of ejbLoad ==
[IdSectorBean] TxCapsule.delistResource(): Entered, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//1, BranchQual=] status=STATUS_ACTIVE
[IdSectorBean] TxCapsule.endResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=2]) entered: 
oracle.jdbc.xa.client.OracleXAResource@1b46dc flag=67108864
[IdSectorBean] TxCapsule.endResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=2]) leaving: 
oracle.jdbc.xa.client.OracleXAResource@1b46dc flag=67108864
[IdSectorBean] TxCapsule.registerSynchronization(): Entered, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//1, BranchQual=] status=STATUS_ACTIVE
[IdSectorBean] == setEntityContext ==
[IdSectorBean] == ejbFindByPrimaryKey ==
[IdSectorBean] TxCapsule.enlistResource(): Entered, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//1, BranchQual=] status=STATUS_ACTIVE
[IdSectorBean] TxCapsule.startResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=3]) entered: 
oracle.jdbc.xa.client.OracleXAResource@3e49e0 flags=0
[IdSectorBean] TxCapsule.startResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=3]) leaving: 
oracle.jdbc.xa.client.OracleXAResource@3e49e0 flags=0
[IdSectorBean] == Finally clause of ejbPostCreate ==
[IdSectorBean] TxCapsule.delistResource(): Entered, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//1, BranchQual=] status=STATUS_ACTIVE
[IdSectorBean] TxCapsule.endResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=3]) entered: 
oracle.jdbc.xa.client.OracleXAResource@3e49e0 flag=67108864
[IdSectorBean] TxCapsule.endResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=3]) leaving: 
oracle.jdbc.xa.client.OracleXAResource@3e49e0 flag=67108864
[IdSectorBean] == ejbActivate ==
[IdSectorBean] Activated bean IdSectorBean with id = 2
[IdSectorBean] == ejbLoad ==
[IdSectorBean] TxCapsule.enlistResource(): Entered, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//1, BranchQual=] status=STATUS_ACTIVE
[IdSectorBean] TxCapsule.startResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=4]) entered: 
oracle.jdbc.xa.client.OracleXAResource@5d3388 flags=0
[IdSectorBean] TxCapsule.startResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=4]) leaving: 
oracle.jdbc.xa.client.OracleXAResource@5d3388 flags=0
[IdSectorBean] == Finally clause of ejbLoad ==
[IdSectorBean] TxCapsule.delistResource(): Entered, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//1, BranchQual=] status=STATUS_ACTIVE
[IdSectorBean] TxCapsule.endResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=4]) entered: 
oracle.jdbc.xa.client.OracleXAResource@5d3388 flag=67108864
[IdSectorBean] TxCapsule.endResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=4]) leaving: 
oracle.jdbc.xa.client.OracleXAResource@5d3388 flag=67108864
[IdSectorBean] TxCapsule.registerSynchronization(): Entered, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//1, BranchQual=] status=STATUS_ACTIVE
[IdSectorBean] == setEntityContext ==
[IdSectorBean] == ejbFindByPrimaryKey ==
[IdSectorBean] TxCapsule.enlistResource(): Entered, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//1, BranchQual=] status=STATUS_ACTIVE
[IdSectorBean] TxCapsule.startResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=5]) entered: 
oracle.jdbc.xa.client.OracleXAResource@d5eb7 flags=0
[IdSectorBean] TxCapsule.startResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=5]) leaving: 
oracle.jdbc.xa.client.OracleXAResource@d5eb7 flags=0
[IdSectorBean] == Finally clause of ejbPostCreate ==
[IdSectorBean] TxCapsule.delistResource(): Entered, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//1, BranchQual=] status=STATUS_ACTIVE
[IdSectorBean] TxCapsule.endResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=5]) entered: 
oracle.jdbc.xa.client.OracleXAResource@d5eb7 flag=67108864
[IdSectorBean] TxCapsule.endResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=5]) leaving: 
oracle.jdbc.xa.client.OracleXAResource@d5eb7 flag=67108864
[IdSectorBean] == ejbActivate ==
[IdSectorBean] Activated bean IdSectorBean with id = 3
[IdSectorBean] == ejbLoad ==
[IdSectorBean] TxCapsule.enlistResource(): Entered, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//1, BranchQual=] status=STATUS_ACTIVE
[IdSectorBean] TxCapsule.startResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=6]) entered: 
oracle.jdbc.xa.client.OracleXAResource@778255 flags=0
[IdSectorBean] TxCapsule.startResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=6]) leaving: 
oracle.jdbc.xa.client.OracleXAResource@778255 flags=0
[IdSectorBean] == Finally clause of ejbLoad ==
[IdSectorBean] TxCapsule.delistResource(): Entered, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//1, BranchQual=] status=STATUS_ACTIVE
[IdSectorBean] TxCapsule.endResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=6]) entered: 
oracle.jdbc.xa.client.OracleXAResource@778255 flag=67108864
[IdSectorBean] TxCapsule.endResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=6]) leaving: 
oracle.jdbc.xa.client.OracleXAResource@778255 flag=67108864
[IdSectorBean] TxCapsule.registerSynchronization(): Entered, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//1, BranchQual=] status=STATUS_ACTIVE
[IdSectorBean] == setEntityContext ==
[IdSectorBean] == ejbFindByPrimaryKey ==
[IdSectorBean] TxCapsule.enlistResource(): Entered, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//1, BranchQual=] status=STATUS_ACTIVE
[IdSectorBean] TxCapsule.startResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=7]) entered: 
oracle.jdbc.xa.client.OracleXAResource@13df2c flags=0
[IdSectorBean] TxCapsule.startResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=7]) leaving: 
oracle.jdbc.xa.client.OracleXAResource@13df2c flags=0
[IdSectorBean] == Finally clause of ejbPostCreate ==
[IdSectorBean] TxCapsule.delistResource(): Entered, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//1, BranchQual=] status=STATUS_ACTIVE
[IdSectorBean] TxCapsule.endResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=7]) entered: 
oracle.jdbc.xa.client.OracleXAResource@13df2c flag=67108864
[IdSectorBean] TxCapsule.endResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=7]) leaving: 
oracle.jdbc.xa.client.OracleXAResource@13df2c flag=67108864
[IdSectorBean] == ejbActivate ==
[IdSectorBean] Activated bean IdSectorBean with id = 4
[IdSectorBean] == ejbLoad ==
[IdSectorBean] TxCapsule.enlistResource(): Entered, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//1, BranchQual=] status=STATUS_ACTIVE
[IdSectorBean] TxCapsule.startResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=8]) entered: 
oracle.jdbc.xa.client.OracleXAResource@2f729e flags=0
[IdSectorBean] TxCapsule.startResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=8]) leaving: 
oracle.jdbc.xa.client.OracleXAResource@2f729e flags=0
[IdSectorBean] == Finally clause of ejbLoad ==
[IdSectorBean] TxCapsule.delistResource(): Entered, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//1, BranchQual=] status=STATUS_ACTIVE
[IdSectorBean] TxCapsule.endResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=8]) entered: 
oracle.jdbc.xa.client.OracleXAResource@2f729e flag=67108864
[IdSectorBean] TxCapsule.endResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=8]) leaving: 
oracle.jdbc.xa.client.OracleXAResource@2f729e flag=67108864
[IdSectorBean] TxCapsule.registerSynchronization(): Entered, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//1, BranchQual=] status=STATUS_ACTIVE
[IdSectorBean] == setEntityContext ==
[IdSectorBean] == ejbFindByPrimaryKey ==
[IdSectorBean] TxCapsule.enlistResource(): Entered, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//1, BranchQual=] status=STATUS_ACTIVE
[IdSectorBean] TxCapsule.startResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=9]) entered: 
oracle.jdbc.xa.client.OracleXAResource@64a47e flags=0
[IdSectorBean] TxCapsule.startResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=9]) leaving: 
oracle.jdbc.xa.client.OracleXAResource@64a47e flags=0
[IdSectorBean] XAException: tx=XidImpl [FormatId=257, GlobalId=p_jmi//1, 
BranchQual=] errorCode=XAER_RMERR
[IdSectorBean] oracle.jdbc.xa.OracleXAException
[IdSectorBean]  at 
oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:498)
[IdSectorBean]  at 
oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:190)
[IdSectorBean]  at org.jboss.tm.TxCapsule.startResource(TxCapsule.java:1097)
[IdSectorBean]  at org.jboss.tm.TxCapsule.enlistResource(TxCapsule.java:624)
[IdSectorBean]  at 
org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:110)
[IdSectorBean]  at 
org.opentools.minerva.jdbc.xa.XAConnectionFactory.prepareObject(XAConnection
Factory.java:269)
[IdSectorBean]  at 
org.opentools.minerva.pool.ObjectPool.getObject(ObjectPool.java:548)
[IdSectorBean]  at 
org.opentools.minerva.pool.ObjectPool.getObject(ObjectPool.java:521)
[IdSectorBean]  at 
org.opentools.minerva.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSourc
e.java:165)
[IdSectorBean]  at 
com.id.pyrites.ejb.connection.IdConnection.getConnection(IdConnection.java:3
3)
[IdSectorBean]  at 
com.id.pyrites.ejb.entity.IdSectorBean.ejbFindByPrimaryKey(IdSectorBean.java
:127)
[IdSectorBean]  at java.lang.reflect.Method.invoke(Native Method)
[IdSectorBean]  at 
org.jboss.ejb.plugins.BMPPersistenceManager.callFinderMethod(BMPPersistenceM
anager.java:458)
[IdSectorBean]  at 
org.jboss.ejb.plugins.BMPPersistenceManager.findEntity(BMPPersistenceManager
.java:211)
[IdSectorBean]  at 
org.jboss.ejb.EntityContainer.find(EntityContainer.java:419)
[IdSectorBean]  at java.lang.reflect.Method.invoke(Native Method)
[IdSectorBean]  at 
org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContaine
r.java:639)
[IdSectorBean]  at 
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySync
hronizationInterceptor.java:160)
[IdSectorBean]  at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInt
erceptor.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.jav
a:119)
[IdSectorBean]  at 
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:106)
[IdSectorBean]  at 
org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:316)
[IdSectorBean]  at 
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invokeHome(JRMPContai
nerInvoker.java:424)
[IdSectorBean]  at 
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:198)
[IdSectorBean]  at $Proxy6.findByPrimaryKey(Unknown Source)
[IdSectorBean]  at 
com.id.pyrites.ejb.session.IdSectorSesBean.listAvailableSectors(IdSectorSesB
ean.java:49)
[IdSectorBean]  at java.lang.reflect.Method.invoke(Native Method)
[IdSectorBean]  at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(Stateles
sSessionContainer.java:472)
[IdSectorBean]  at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSe
ssionInstanceInterceptor.java:87)
[IdSectorBean]  at 
org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:133)
[IdSectorBean]  at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
java:263)
[IdSectorBean]  at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
[IdSectorBean]  at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:13
7)
[IdSectorBean]  at 
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
[IdSectorBean]  at 
org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.jav
a:271)
[IdSectorBean]  at 
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerI
nvoker.java:384)
[IdSectorBean]  at java.lang.reflect.Method.invoke(Native Method)
[IdSectorBean]  at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
[IdSectorBean]  at sun.rmi.transport.Transport$1.run(Unknown Source)
[IdSectorBean]  at java.security.AccessController.doPrivileged(Native 
Method)
[IdSectorBean]  at sun.rmi.transport.Transport.serviceCall(Unknown Source)
[IdSectorBean]  at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown

Source)
[IdSectorBean]  at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
[IdSectorBean]  at java.lang.Thread.run(Unknown Source)
[IdSectorBean] == Finally clause of ejbPostCreate ==
[IdSectorBean] TxCapsule.delistResource(): Entered, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//1, BranchQual=] status=STATUS_ACTIVE
[IdSectorBean] TxCapsule.endResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=9]) entered: 
oracle.jdbc.xa.client.OracleXAResource@64a47e flag=67108864
[IdSectorBean] TxCapsule.endResource(OracleXid [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=9]) leaving: 
oracle.jdbc.xa.client.OracleXAResource@64a47e flag=67108864
[IdSectorBean] XAException: tx=XidImpl [FormatId=257, GlobalId=p_jmi//1, 
BranchQual=] errorCode=XAER_RMERR
[IdSectorBean] oracle.jdbc.xa.OracleXAException
[IdSectorBean]  at 
oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:498)
[IdSectorBean]  at 
oracle.jdbc.xa.client.OracleXAResource.end(OracleXAResource.java:285)
[IdSectorBean]  at org.jboss.tm.TxCapsule.endResource(TxCapsule.java:1139)
[IdSectorBean]  at org.jboss.tm.TxCapsule.delistResource(TxCapsule.java:533)
[IdSectorBean]  at 
org.jboss.tm.TransactionImpl.delistResource(TransactionImpl.java:98)
[IdSectorBean]  at 
org.opentools.minerva.jdbc.xa.XAConnectionFactory$2.closeConnection(XAConnec
tionFactory.java:97)
[IdSectorBean]  at 
org.opentools.minerva.jdbc.xa.XAConnectionFactory$2.connectionClosed(XAConne
ctionFactory.java:82)
[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:1968)
[IdSectorBean]  at 
oracle.jdbc.driver.OracleConnection.close(OracleConnection.java:912)
[IdSectorBean]  at 
com.id.pyrites.ejb.entity.IdSectorBean.ejbFindByPrimaryKey(IdSectorBean.java
:146)
[IdSectorBean]  at java.lang.reflect.Method.invoke(Native Method)
[IdSectorBean]  at 
org.jboss.ejb.plugins.BMPPersistenceManager.callFinderMethod(BMPPersistenceM
anager.java:458)
[IdSectorBean]  at 
org.jboss.ejb.plugins.BMPPersistenceManager.findEntity(BMPPersistenceManager
.java:211)
[IdSectorBean]  at 
org.jboss.ejb.EntityContainer.find(EntityContainer.java:419)
[IdSectorBean]  at java.lang.reflect.Method.invoke(Native Method)
[IdSectorBean]  at 
org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContaine
r.java:639)
[IdSectorBean]  at 
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySync
hronizationInterceptor.java:160)
[IdSectorBean]  at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInt
erceptor.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.jav
a:119)
[IdSectorBean]  at 
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:106)
[IdSectorBean]  at 
org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:316)
[IdSectorBean]  at 
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invokeHome(JRMPContai
nerInvoker.java:424)
[IdSectorBean]  at 
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:198)
[IdSectorBean]  at $Proxy6.findByPrimaryKey(Unknown Source)
[IdSectorBean]  at 
com.id.pyrites.ejb.session.IdSectorSesBean.listAvailableSectors(IdSectorSesB
ean.java:49)
[IdSectorBean]  at java.lang.reflect.Method.invoke(Native Method)
[IdSectorBean]  at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(Stateles
sSessionContainer.java:472)
[IdSectorBean]  at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSe
ssionInstanceInterceptor.java:87)
[IdSectorBean]  at 
org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:133)
[IdSectorBean]  at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
java:263)
[IdSectorBean]  at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
[IdSectorBean]  at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:13
7)
[IdSectorBean]  at 
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
[IdSectorBean]  at 
org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.jav
a:271)
[IdSectorBean]  at 
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerI
nvoker.java:384)
[IdSectorBean]  at java.lang.reflect.Method.invoke(Native Method)
[IdSectorBean]  at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
[IdSectorBean]  at sun.rmi.transport.Transport$1.run(Unknown Source)
[IdSectorBean]  at java.security.AccessController.doPrivileged(Native 
Method)
[IdSectorBean]  at sun.rmi.transport.Transport.serviceCall(Unknown Source)
[IdSectorBean]  at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown

Source)
[IdSectorBean]  at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
[IdSectorBean]  at java.lang.Thread.run(Unknown Source)
[IdSectorBean] TxCapsule.setRollbackOnly(): Entered, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//1, BranchQual=] status=STATUS_MARKED_ROLLBACK
[IdSectorBean] TRANSACTION ROLLBACK EXCEPTION:Transaction marked for 
rollback, possibly a timeout; nested exception is:
        java.lang.RuntimeException: Transaction marked for rollback,
possibly a 
timeout
[IdSectorBean] java.lang.RuntimeException: Transaction marked for rollback, 
possibly a timeout
[IdSectorBean]  at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterce
ptor.java:118)
[IdSectorBean]  at 
org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:133)
[IdSectorBean]  at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
java:263)
[IdSectorBean]  at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
[IdSectorBean]  at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:13
7)
[IdSectorBean]  at 
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
[IdSectorBean]  at 
org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:323)
[IdSectorBean]  at 
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerI
nvoker.java:464)
[IdSectorBean]  at 
org.jboss.ejb.plugins.jrmp.interfaces.EntityProxy.invoke(EntityProxy.java:14
6)
[IdSectorBean]  at $Proxy7.getData(Unknown Source)
[IdSectorBean]  at 
com.id.pyrites.ejb.session.IdSectorSesBean.listAvailableSectors(IdSectorSesB
ean.java:50)
[IdSectorBean]  at java.lang.reflect.Method.invoke(Native Method)
[IdSectorBean]  at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(Stateles
sSessionContainer.java:472)
[IdSectorBean]  at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSe
ssionInstanceInterceptor.java:87)
[IdSectorBean]  at 
org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:133)
[IdSectorBean]  at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
java:263)
[IdSectorBean]  at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
[IdSectorBean]  at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:13
7)
[IdSectorBean]  at 
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
[IdSectorBean]  at 
org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.jav
a:271)
[IdSectorBean]  at 
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerI
nvoker.java:384)
[IdSectorBean]  at java.lang.reflect.Method.invoke(Native Method)
[IdSectorBean]  at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
[IdSectorBean]  at sun.rmi.transport.Transport$1.run(Unknown Source)
[IdSectorBean]  at java.security.AccessController.doPrivileged(Native 
Method)
[IdSectorBean]  at sun.rmi.transport.Transport.serviceCall(Unknown Source)
[IdSectorBean]  at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown

Source)
[IdSectorBean]  at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
[IdSectorBean]  at java.lang.Thread.run(Unknown Source)
[IdSectorSesBean] TxCapsule.rollback(): Entered, tx=XidImpl [FormatId=257, 
GlobalId=p_jmi//1, BranchQual=] status=STATUS_MARKED_ROLLBACK
[IdSectorSesBean] == ejbStore ==
[IdSectorSesBean] TxCapsule.enlistResource(): Entered, tx=XidImpl 
[FormatId=257, GlobalId=p_jmi//1, BranchQual=] status=STATUS_MARKED_ROLLBACK
[IdSectorSesBean] == Finally clause of ejbStore ==
[IdSectorSesBean] javax.ejb.EJBException
[IdSectorSesBean]       at 
org.jboss.ejb.plugins.BMPPersistenceManager.storeEntity(BMPPersistenceManage
r.java:352)
[IdSectorSesBean]       at 
org.jboss.ejb.plugins.EntitySynchronizationInterceptor$InstanceSynchronizati
on.beforeCompletion(EntitySynchronizationInterceptor.java:343)
[IdSectorSesBean]       at 
org.jboss.tm.TxCapsule.doBeforeCompletion(TxCapsule.java:1220)
[IdSectorSesBean]       at
org.jboss.tm.TxCapsule.rollback(TxCapsule.java:406)
[IdSectorSesBean]       at 
org.jboss.tm.TransactionImpl.rollback(TransactionImpl.java:87)
[IdSectorSesBean]       at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
java:307)
[IdSectorSesBean]       at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
[IdSectorSesBean]       at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:13
7)
[IdSectorSesBean]       at 
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
[IdSectorSesBean]       at 
org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.jav
a:271)
[IdSectorSesBean]       at 
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerI
nvoker.java:384)
[IdSectorSesBean]       at java.lang.reflect.Method.invoke(Native Method)
[IdSectorSesBean]       at sun.rmi.server.UnicastServerRef.dispatch(Unknown 
Source)
[IdSectorSesBean]       at sun.rmi.transport.Transport$1.run(Unknown Source)
[IdSectorSesBean]       at
java.security.AccessController.doPrivileged(Native 
Method)
[IdSectorSesBean]       at sun.rmi.transport.Transport.serviceCall(Unknown 
Source)
[IdSectorSesBean]       at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
[IdSectorSesBean]       at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
[IdSectorSesBean]       at java.lang.Thread.run(Unknown Source)
[IdSectorSesBean] XAException: tx=XidImpl [FormatId=257, GlobalId=p_jmi//1, 
BranchQual=] errorCode=XAER_NOTA
[IdSectorSesBean] oracle.jdbc.xa.OracleXAException
[IdSectorSesBean]       at 
oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:498)
[IdSectorSesBean]       at 
oracle.jdbc.xa.client.OracleXAResource.rollback(OracleXAResource.java:617)
[IdSectorSesBean]       at 
org.jboss.tm.TxCapsule.rollbackResources(TxCapsule.java:1552)
[IdSectorSesBean]       at
org.jboss.tm.TxCapsule.rollback(TxCapsule.java:408)
[IdSectorSesBean]       at 
org.jboss.tm.TransactionImpl.rollback(TransactionImpl.java:87)
[IdSectorSesBean]       at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
java:307)
[IdSectorSesBean]       at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
[IdSectorSesBean]       at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:13
7)
[IdSectorSesBean]       at 
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
[IdSectorSesBean]       at 
org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.jav
a:271)
[IdSectorSesBean]       at 
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerI
nvoker.java:384)
[IdSectorSesBean]       at java.lang.reflect.Method.invoke(Native Method)
[IdSectorSesBean]       at sun.rmi.server.UnicastServerRef.dispatch(Unknown 
Source)
[IdSectorSesBean]       at sun.rmi.transport.Transport$1.run(Unknown Source)
[IdSectorSesBean]       at
java.security.AccessController.doPrivileged(Native 
Method)
[IdSectorSesBean]       at sun.rmi.transport.Transport.serviceCall(Unknown 
Source)
[IdSectorSesBean]       at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
[IdSectorSesBean]       at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
[IdSectorSesBean]       at java.lang.Thread.run(Unknown Source)

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to