David,
It'll take a while, as my main dev machine is a Windows box. I'll get back
to you when I have an answer, but it'll probably be tomorrow.
Still, having the client stop when we hot one these errors is a good thing
(at least until we go into production).
Also, the error message is great. If we hit one of these again, it'll take
a couple of minutes to find the constraint and fix the problem.
Ciao,
Jonathan O'Connor
David Jencks <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
18.02.2003 14:50
Please respond to jboss-user
To: [EMAIL PROTECTED]
cc:
Subject: Re: [JBoss-user] Session Bean (Txn Required) commit error not
being sent
back to the client
Can you do a thread dump on the client and server when this happens? I
didn't see this in the tests I wrote.
(on linux and mac osx, you can get a thread dump with ctrl-\)
thanks
david jencks
On 2003.02.18 09:00 Jonathan.O'[EMAIL PROTECTED] wrote:
> David,
> Summary: if commit fails at the end of a session bean method with Txn
> Required, the client caller of this method never receives notification.
> In 3.0.5 and earlier, the client returned but did not receive
> notification
> of the problem.
> In 3.2.0RC2, the session bean call never returns to the client! The
> server
> however is still active and ready for business.
>
> As soon as I get this exception and stack trace, my junit client stops
> processing tests. If I kill the server, the tests continue with the
> expected failures because of no server.
> This indicates the server is not returning control to the client!
>
> 2003-02-18 13:07:55,079 WARN [org.jboss.tm.TransactionImpl]
XAException:
>
> tx=TransactionImpl:XidImpl [FormatId=257,
GlobalId=XCOM-IRL-JONATHAN//44,
>
> BranchQual=] errorCode=XA_UNKNOWN(0)
> org.jboss.resource.connectionmanager.JBossLocalXAException: could not
> commit local tx; - nested throwable:
> (org.jboss.resource.JBossResourceException: SQLException; - nested
> throwable: (java.sql.SQLException: ORA-02091: transaction rolled back
> ORA-02290: check constraint (JOCONNOR.SYS_C0025330) violated
> ))
> at
>
org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource.commit(TxConnectionManager.java:787)
> at
> org.jboss.tm.TransactionImpl.commitResources(TransactionImpl.java:1580)
> at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:366)
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user