Well, as the author of the Tyrex plugin for JBoss, I have to tell you that
indeed it is your only choice for now. The next version of JBoss (codename
RabbitHole) which intends to support clustering, will have, perhaps, a new
distributed TM built by JBoss people.
As a matter of fact, the only reason I got myself into writing this
plugin, was to get a working implementation of distributed transactions in
JBoss for my research project simply because there was nothing available.
Speed was not my consideration, just correctness and minimization of my
effort. It did take me some time, though :)
Make sure you are using the latest Tyrex JAR that is in the JBoss CVS,
there has been a bunch of bugs in Tyrex that had to have been fixed before
things started working properly (at least for me).
I would not recommend using my plugin in a production environment, but it
maybe good for playing with distributing your application until we get a
high performance DTM support in JBoss.
Anatoly Akkerman.
On Wed, 4 Jul 2001, Eugene Igumnov wrote:
> Dear All,
>
>
> Do Distributed transactions work only under TYREX Transaction Manager?
>
> ------------------
>
> <!-- ==================================================================== -->
> <!-- Transactions -->
> <!-- ==================================================================== -->
> <!--
> <mbean code="org.jboss.tm.TransactionManagerService"
>name="DefaultDomain:service=TransactionManager">
> <attribute name="TransactionTimeout">300</attribute>
>
> <attribute name="XidClassName">oracle.jdbc.xa.OracleXid</attribute>
> </mbean>
> Use this attribute if you need to use a specific Xid
> implementation
> -->
> <!--
> Uncomment to use Tyrex (tyrex.exolab.org) transaction manager plugin
> instead of the org.jboss.tm.TransactionManagerService and comment out
> the TransactionManagerService above
> -->
> <mbean code="org.jboss.tm.plugins.tyrex.TransactionManagerService"
>name="DefaultDomain:service=TransactionManager">
> <attribute name="ConfigFileName">../conf/default/domain.xml</attribute>
> </mbean>
>
> <mbean code="org.jboss.tm.usertx.server.ClientUserTransactionService"
>name="DefaultDomain:service=ClientUserTransaction">
> </mbean>
>
>
> <!-- ==================================================================== -->
> <!-- Security -->
> <!-- ==================================================================== -->
>
> ------------------
>
> JBoss errors:
> [JMXAdaptorService] Unable to externalize tpc!
> [JMXAdaptorService] Lost connection to UserTransaction clients: Rolling back 1 a
> ctive transaction(s).
> [Default] java.io.StreamCorruptedException: Connection aborted by peer: socket w
> rite error
> [Default] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.jav
> a:398)
> [Default]
> [Default] at org.jboss.tm.plugins.tyrex.TyrexTxPropagationContext.writeExt
> ernal(TyrexTxPropagationContext.java:95)
> [Default]
> [Default] at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.ja
> va:1172)
> [Default]
> [Default] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.jav
> a:366)
> [Default]
> [Default] at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:268)
> [Default]
> [Default] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.jav
> a:251)
> [Default]
> [Default] at sun.rmi.transport.Transport$1.run(Transport.java:142)
> [Default]
> [Default] at java.security.AccessController.doPrivileged(Native Method)
> [Default]
> [Default] at sun.rmi.transport.Transport.serviceCall(Transport.java:139)
> [Default]
> [Default] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTranspor
> t.java:443)
> [Default]
> [Default] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPT
> ransport.java:643)
> [Default]
> [Default] at java.lang.Thread.run(Thread.java:484)
> [Default]
>
>
>
> Client errors:
> javax.transaction.SystemException: java.rmi.UnmarshalException: error unmarshall
> ing return; nested exception is:
> java.lang.ClassNotFoundException: org.jboss.tm.plugins.tyrex.TyrexTxProp
> agationContext (no security manager: RMI class loader disabled)
>
>
>
> --
> Best regards,
> Eugene Igumnov mailto:[EMAIL PROTECTED] icq://877365
> Russia, Novosibirsk,
> Project Manager (System Architect),
> GeoCad Plus Company http://www.geocad.ru
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user