Bugs item #575966, was opened at 2002-07-01 13:59
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=575966&group_id=22866

Category: JBossTX
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: Paul Adams (padams)
Assigned to: David Jencks (d_jencks)
Summary: JCA - commit failure not reported

Initial Comment:
JBoss: 3.0 integrated with tomcat
JDK: 1.4.0
OS: Win2K

Connector deployed with LocalTransaction support. 
Failure to commit a transaction is not reported to the
client.  Logged stack trace below:

08:52:28,927 WARN  [TxCapsule] XAException: tx=XidImpl
[FormatId=257, GlobalId=padams//0,
BranchQual=] errorCode=XA_UNKNOWN(0)
javax.transaction.xa.XAException: could not commit
local txjavax.resource.ResourceExceptio
n: Server.InternalServerError:failure to commit
        at
org.jboss.resource.connectionmanager.LocalTxConnectionManager$LocalConnectionEv
entListener.commit(LocalTxConnectionManager.java:563)
        at
org.jboss.tm.TxCapsule.commitResources(TxCapsule.java:1656)
        at
org.jboss.tm.TxCapsule.commit(TxCapsule.java:357)
        at
org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:74)
        at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.jav
a:190)
        at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:61)
        at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:166)
        at
org.jboss.ejb.StatefulSessionContainer.invoke(StatefulSessionContainer.java:380
)
        at
org.jboss.ejb.Container.invoke(Container.java:705)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
        at
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:362)
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
va:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
        at
sun.rmi.transport.Transport$1.run(Transport.java:148)
        at
java.security.AccessController.doPrivileged(Native Method)
        at
sun.rmi.transport.Transport.serviceCall(Transport.java:144)
        at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
        at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)

        at java.lang.Thread.run(Thread.java:536)

----------------------------------------------------------------------

Comment By: Marcel (speck99)
Date: 2003-02-12 15:18

Message:
Logged In: YES 
user_id=657615

Hi,

I once committed a patch patch tracker id 644604) for this:

https://sourceforge.net/tracker/index.php?func=detail&aid=644604&group_id=22866&atid=376687

As far as I know this patch for 3.0.4 works also for version
3.0.6.

I just reattached an updated patch, this time against
version 3.0.5 and
including an improved log statement (so that you can actually
see which deferred constraint was the cause of the commit fail).

I'm happy about any feedback :-)

CU,
Marcel

----------------------------------------------------------------------

Comment By: Paul Adams (padams)
Date: 2003-02-12 15:02

Message:
Logged In: YES 
user_id=569123

I've been meaning to upgrade from 3.0.0.  Looks like soon
I'll have to do so and verify.  Thanks.

----------------------------------------------------------------------

Comment By: Gerald Turner (crazyfoam)
Date: 2003-02-12 02:58

Message:
Logged In: YES 
user_id=571620

Looks like this is fixed in 3.0.7RC1!

----------------------------------------------------------------------

Comment By: Gerald Turner (crazyfoam)
Date: 2003-02-11 21:10

Message:
Logged In: YES 
user_id=571620

http://unzane.com/sf-bug-575966.txt

Hmph!  I  can't attach a file (because I'm not reporter or
admin?).
So here's a URL...

<a href="http://unzane.com/sf-bug-575966.txt";>attachment</a>

----------------------------------------------------------------------

Comment By: Gerald Turner (crazyfoam)
Date: 2003-02-11 21:06

Message:
Logged In: YES 
user_id=571620

I have also ran into this bug while enabling deferred
contraints in an Oracle database.  JBoss 3.0.4 through
3.0.6, Java 1.4.1_01 on Solaris and Linux.  Oracle 9.2.0.1
using thin driver and non-xa datasource.

I will attach a concise log of transaction behavior when a
deferred constraint is violated at commit (in which
TxCapsule ignores it!), and also a log of the behavior of
when the deferred constraint is replaced with an immediate
constraint thus behaving normally (throws CreateException).

FYI, I noticed this email on jboss-user which explains the
same situation:
http://www.mail-archive.com/[email protected]/msg23139.html


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=575966&group_id=22866


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to