4 Replies Latest reply on May 17, 2004 8:47 AM by anny_lut

    Tyrex Plugin

    Thomas Armstrong Newbie

      I have altered jboss-service.xml to make use of the Tyrex transaction manager plugin, however I get the following error on startup:

      org.jboss.deployment.DeploymentException: TransactionPropagationContextExporter
      not bound; - nested throwable: (javax.naming.NameNotFoundException: TransactionPropagationContextExporter not bound)

      When I substitute tyrex-1.0.jar, downloaded from http://tyrex.exolab.org/download.html, for tyrex.jar I get a different error:

      javax.naming.OperationNotSupportedException: Context is read-only

      Do I need a particular version of the tyrex jar to move forward? (I am using jboss-3.0.0_tomcat-4.0.3)

        • 1. Re: Tyrex Plugin
          Brian Johnson Newbie

          I was able to get tyrex working on jboss 3.x by doing the following:
          1. uncomment tyrex plugin in varia/build.xml in source code
          2. build jboss 3.x
          3. download tyrex 1.0 and remove jndi.properties from jar file
          4. copy tyrex.jar and xerces.jar from tyrex distribution to server/default/lib
          5. copy tyrex plug-in jar from varia/output/lib to server/default/lib
          5. uncomment tyrex plug-in and comment out default transaction service (leave XID factory in place)
          I haven't done extensive testing with it, but everything starts up OK

          • 2. Re: Tyrex Plugin
            Brian Johnson Newbie

            You also need the domain.xml file from jboss 2.4

            • 3. Re: Tyrex Plugin
              Manuel Elaraj Newbie

              This will make the tyrex transaction manager to start successfully, but does not work correctly when attempting a distributed transaction. This means calling a bean on jboss server 1 which in turn calls another session bean that resides on a deifferent jboss server. If you attempt this you will get an exception.

              Someone needs to take a look at this very important issue.

              Manuel

              • 4. Re: Tyrex Plugin
                anny_lut Newbie

                 

                "johnsbrn" wrote:
                I was able to get tyrex working on jboss 3.x by doing the following:
                1. uncomment tyrex plugin in varia/build.xml in source code
                2. build jboss 3.x
                3. download tyrex 1.0 and remove jndi.properties from jar file
                4. copy tyrex.jar and xerces.jar from tyrex distribution to server/default/lib
                5. copy tyrex plug-in jar from varia/output/lib to server/default/lib
                5. uncomment tyrex plug-in and comment out default transaction service (leave XID factory in place)
                I haven't done extensive testing with it, but everything starts up OK


                ------------------------------------
                Thanks for your reply about how to use Tyrex impl. in JBOSS.( it clear's some steps for me, but I have some questions:
                1) I have JBOSS 3.2.1 - and there are no any "transaction" implementation description in file jboss-service.xml, default JBOSS transaction impl. resides in transaction-service.xml file.
                Is it correct to put such lines:


                ../conf/default/domain.xml

                in transaction-service.xml file for JBOSS 3.2.1 ?

                2) Is it possible to put only tyrex-tm-plugin.jar to /lib without building JBOSS? ( and where can I get the source for tyrex-tm-plugin.jar?)

                Tnaks for any reply .....