Hi,

Jean-Michel DELSAUX wrote:
> 
> 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.

Is the trace below with the OCI driver?
It seems to have the same problem at the
ninth branch as the THIN driver. Probably
some internal resource limit in the Oracle
driver hit because the isSameRM()
optimization is removed when using a custom
Xid. But I have heard that the 8.1.7 OCI
driver does work without the
jboss.xa.xidclass=oracle.jdbc.xa.OracleXid
setting, and without that you may get around
whatever internal resource limit the 8.1.7
driver has.


> 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.

Probably the session bean starts a
transaction, and propagates it in the
entity bean method calls.
But when calling from the client, no
transaction context is propagated, and
the entity bean probably starts a new
transaction on every call.

The difference is that when calling from
the client there are more transactions,
and fewer database connections involved
with each transaction.


> 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.

IMO, the problem is with Oracle's XA drivers
rather than the application servers.
So you will probably see similar problems
when using Oracle XA drivers in another EJB
server.
Don't know about the 8.1.7 drivers, but for
the 8.1.6 drivers some other EJB server
vendors ended up saying "not supported, will
not work" due to the incompatibilities of
that version. Aaron got this version working
in JBoss, but the 8.1.6 XA drivers have
shown so many bugs that I am not sure if
this version is useful.


> Is EJB ready to market or only for laboratories?????  That's what i am
> thinking of.

Me too. For proper transaction handling, all
resources *have* to support XA. Resources that
support one-phase commit only are IMHO only
useful for lab work.
And JDBC drivers that support two-phase commit
have been *very* slow to surface. To use EJB
for real, these *must* be used, and they *must*
be bug-free.


> I would like to use EJB architecture but it is not ready yet.

I do not agree here. The architecture is there,
it is sound and relatively stable.
Only thing missing is working XA drivers.


> 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.  

Well, even if you do everything yourself,
you will end up with the problem I mentioned
above. (That is, unless you can rewrite your
application to be non-distributed
transaction-wise, so that it can be written
to use one-phase commit on a single database
connection.)


> 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...

IMHO, EJB is ready now.
Question is: Are working XA drivers ready now?


Best Regards,

Ole Husgaard.


> 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(XAConnectionFactory.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(XAPoolDataSource.java:165)
> [IdSectorBean]  at
> com.id.pyrites.ejb.connection.IdConnection.getConnection(IdConnection.java:33)
> [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(BMPPersistenceManager.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(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)
> [IdSectorBean]  at
> 
>org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invokeHome(JRMPContainerInvoker.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(IdSectorSesBean.java:49)
> [IdSectorBean]  at java.lang.reflect.Method.invoke(Native Method)
> [IdSectorBean]  at
> 
>org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:472)
> [IdSectorBean]  at
> 
>org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.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:137)
> [IdSectorBean]  at
> org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
> [IdSectorBean]  at
> org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:271)
> [IdSectorBean]  at
> 
>org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.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(XAConnectionFactory.java:97)
> [IdSectorBean]  at
> 
>org.opentools.minerva.jdbc.xa.XAConnectionFactory$2.connectionClosed(XAConnectionFactory.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(BMPPersistenceManager.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(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)
> [IdSectorBean]  at
> 
>org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invokeHome(JRMPContainerInvoker.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(IdSectorSesBean.java:49)
> [IdSectorBean]  at java.lang.reflect.Method.invoke(Native Method)
> [IdSectorBean]  at
> 
>org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:472)
> [IdSectorBean]  at
> 
>org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.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:137)
> [IdSectorBean]  at
> org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
> [IdSectorBean]  at
> org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:271)
> [IdSectorBean]  at
> 
>org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.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(EntityInstanceInterceptor.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:137)
> [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(JRMPContainerInvoker.java:464)
> [IdSectorBean]  at
> org.jboss.ejb.plugins.jrmp.interfaces.EntityProxy.invoke(EntityProxy.java:146)
> [IdSectorBean]  at $Proxy7.getData(Unknown Source)
> [IdSectorBean]  at
> 
>com.id.pyrites.ejb.session.IdSectorSesBean.listAvailableSectors(IdSectorSesBean.java:50)
> [IdSectorBean]  at java.lang.reflect.Method.invoke(Native Method)
> [IdSectorBean]  at
> 
>org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:472)
> [IdSectorBean]  at
> 
>org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.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:137)
> [IdSectorBean]  at
> org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
> [IdSectorBean]  at
> org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:271)
> [IdSectorBean]  at
> 
>org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.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(BMPPersistenceManager.java:352)
> [IdSectorSesBean]       at
> 
>org.jboss.ejb.plugins.EntitySynchronizationInterceptor$InstanceSynchronization.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:137)
> [IdSectorSesBean]       at
> org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
> [IdSectorSesBean]       at
> org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:271)
> [IdSectorSesBean]       at
> 
>org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.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:137)
> [IdSectorSesBean]       at
> org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
> [IdSectorSesBean]       at
> org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:271)
> [IdSectorSesBean]       at
> 
>org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.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