[
http://jira.jboss.com/jira/browse/JBAS-4024?page=comments#action_12351807 ]
Jonathan Halliday commented on JBAS-4024:
-----------------------------------------
org.jboss.tm.iiop.TransactionServiceImpl is coupled against the implementation of the old
JBoss transaction engine, which is why these tests fail. We should really be using
JBossTS JTS for anything IIOP related, so arguable the test is invalid. However, it would
be nice to have reasonable out of box behaviour even though we don't ship the full JTS
with the app server.
failing org.jboss.test.txiiop.test.IIOPUserTransactionStressTestCase
--------------------------------------------------------------------
Key: JBAS-4024
URL:
http://jira.jboss.com/jira/browse/JBAS-4024
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public(Everyone can see)
Components: Test Suite
Environment: Java Version 1.5.0_10
Java Vendor Sun Microsystems Inc.
Java VM Name Java HotSpot(TM) Server VM
Java VM Version 1.5.0_10-b03
Java VM Info mixed mode
OS Name Linux
OS Version 2.6.9-42.0.2.ELsmp
OS Arch i386
Reporter: Dimitris Andreadis
Assigned To: Jonathan Halliday
Priority: Critical
Fix For: JBossAS-4.2.0.CR1
testUserTx Error N/A
java.lang.IllegalStateException
at
org.jboss.tm.iiop.client.IIOPClientUserTransaction.commit(IIOPClientUserTransaction.java:315)
at
org.jboss.test.txiiop.test.IIOPUserTransactionStressTestCase.testUserTx(IIOPUserTransactionStressTestCase.java:72)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
Caused by: org.omg.CosTransactions.NoTransaction:
IDL:omg.org/CosTransactions/NoTransaction:1.0
at
org.jboss.tm.iiop.client.IIOPClientUserTransaction.getThreadLocalTerminator(IIOPClientUserTransaction.java:164)
at
org.jboss.tm.iiop.client.IIOPClientUserTransaction.commit(IIOPClientUserTransaction.java:310)
... 22 more
1.819
testTxMandatory Error CORBA TRANSACTION_REQUIRED 0 No; nested exception is:
org.omg.CORBA.TRANSACTION_REQUIRED: Server-side Exception:
javax.transaction.TransactionRequiredException: Transaction Required vmcid: 0x0 minor
code: 0 completed: No
javax.transaction.TransactionRequiredException: CORBA TRANSACTION_REQUIRED 0 No; nested
exception is:
org.omg.CORBA.TRANSACTION_REQUIRED: Server-side Exception:
javax.transaction.TransactionRequiredException: Transaction Required vmcid: 0x0 minor
code: 0 completed: No
at com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:203)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
at org.jboss.proxy.ejb.DynamicIIOPStub.invoke(DynamicIIOPStub.java:150)
at org.jboss.test.txiiop.interfaces._StatefulSession_Stub.txMandatoryMethod(Unknown
Source)
at
org.jboss.test.txiiop.test.IIOPUserTransactionStressTestCase.testTxMandatory(IIOPUserTransactionStressTestCase.java:114)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
Caused by: org.omg.CORBA.TRANSACTION_REQUIRED: Server-side Exception:
javax.transaction.TransactionRequiredException: Transaction Required vmcid: 0x0 minor
code: 0 completed: No
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.jacorb.orb.SystemExceptionHelper.read(SystemExceptionHelper.java:173)
at org.jacorb.orb.ReplyReceiver.getReply(ReplyReceiver.java:325)
at org.jacorb.orb.Delegate.invoke_internal(Delegate.java:967)
at org.jacorb.orb.Delegate.invoke(Delegate.java:868)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
at org.jboss.proxy.ejb.DynamicIIOPStub.invoke(DynamicIIOPStub.java:125)
... 23 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira