-
Bug
-
Resolution: Done
-
Major
-
4.6.1
The examples described in this article on the wiki at
https://www.jboss.org/community/wiki/TransactionPropagationwithJBoss
Are not working. The 1st OTS test case dies on the client side with the following stack trace:
[java] 1.3
[java] 1.4
[java] 1.5
[java] > Starting OTS tx with ejb2
[java] 15:13:01,837
() [WARN ,arjLoggerI18N] [com.arjuna.ats.arj
una.coordinator.TxControl_1] - Name of XA node not defined. Using a0d257d:be9:4b
22c3ed:0
[java] looking up OTSEjb2StatelessBean on host venus and orb name JBoss
[java] jndi url: corbaloc::venus:3528/JBoss/Naming/root
[java] javax.transaction.TransactionRequiredException: CORBA TRANSACTION_RE
QUIRED 0 No; nested exception is:
[java] org.omg.CORBA.TRANSACTION_REQUIRED: Server-side Exception: javax
.transaction.TransactionRequiredException: Transaction Required vmcid: 0x0 min
or code: 0 completed: No
[java] at com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSystemException
(Util.java:203)
[java] at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
[java] at org.jboss.proxy.ejb.DynamicIIOPStub.invoke(DynamicIIOPStub.ja
va:149)
[java] at org.jboss.jbossts.qa.astests.ejb2._MyRemote_Stub.foo(Unknown
Source)
[java] at com.arjuna.ats.tools.TxTest.ejbTest(TxTest.java:264)
[java] at com.arjuna.ats.tools.TxTest.doTest(TxTest.java:119)
[java] at com.arjuna.ats.tools.TxTest.main(TxTest.java:82)
[java] Caused by: org.omg.CORBA.TRANSACTION_REQUIRED: Server-side Exception
: javax.transaction.TransactionRequiredException: Transaction Required vmcid: 0
x0 minor code: 0 completed: No
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeC
onstructorAccessorImpl.java:39)
[java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Del
egatingConstructorAccessorImpl.java:27)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:50
1)
[java] at org.jacorb.orb.SystemExceptionHelper.read(Unknown Source)
[java] at org.jacorb.orb.ReplyReceiver.getReply(Unknown Source)
[java] at org.jacorb.orb.Delegate.invoke_internal(Unknown Source)
[java] at org.jacorb.orb.Delegate.invoke(Unknown Source)
[java] at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457
)
[java] at org.jboss.proxy.ejb.DynamicIIOPStub.invoke(DynamicIIOPStub.ja
va:124)
[java] ... 4 more
[java] 4
[java] ots: true