[
http://jira.jboss.com/jira/browse/JBAS-4024?page=comments#action_12352202 ]
Jonathan Halliday commented on JBAS-4024:
-----------------------------------------
The consensus seems to be that since we ship a JTA rather than a JTS with the app server,
this test is now invalid. Under the J2EE spec, JTS support is optional. It is preferable
not to support it by default, rather than maintaining a JTS implementation inside the app
server code base in addition to JBossTS JTS as we go forward. App server users requiring
transactions over RMI/IIOP will need to download and drop in the JBoss JTS. In addition
to dropping the test, some cleanup of the app server code will be beneficial to ensure
elegant failure rather than the current exceptions. We may be able to achieve this though
the jboss iiop-service.xml settings?
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