3 Replies Latest reply on Apr 3, 2009 9:30 AM by Ben Cotton

    Can't build org.jboss.txbridge with Arjuna WST 1.1 classes

    Ben Cotton Newbie


      I want to build org.jboss.txbridge with the Arjuna WST 1.1 package. I can build org.jboss.txbridge.* just fine with Arjuna's WST 1.0 package (com.arjuna.mw.wst.*), but JBoss 5.0 GA uses Ajuna's WST 1.1 (with no official backward support for Arjuna WST 1.0 )

      I've plodded around my ../jboss-5.0.0.GA/ installation dirs at length (includng ../jboss-5.0.0.GA/docs/, etc.) ... and have been been totally unsuccessful finding the exact .jar/.sar that contains the WST 1.1 equivalent of com.arjuna.mw.wst.* .

      I need a hand ... can somebody please point me to the the exact .jar/.sar in the ../jboss-5.0.0.GA/ tree that gives me the Arjuna WST 1.1 classes?


        • 1. Re: Can't build org.jboss.txbridge with Arjuna WST 1.1 class
          Andrew Dinn Master

          Hi Ben,

          The public API for XTS 1.1 is all that you need. It is located in the service archive file jbossxts.sar which is the released build product for XTS. Unofrtunately, this build product was not integrated into the AS release process under 5.0.0.GA (this has now been fixed for upcoming AS releases).

          So, to obtain an XTS release you need to build jbossxts.sar youself. Youc an do this by checking out a JBossTS release and building first the JTA and then XTS.

          You should check out the latest tagged JBossTS release which is 4.6.0.CR1.

          Set JBOSS_HOME to point to the root fo your AS build (the directory containing common, server, etc).

          In the root of your JBossTS checkout type

          ant jbossjta

          Then cd to the XTS subdirectory and type

          ant clean install

          You should find the relevant build products in XTS.xts-install


          Note that the api jar is also embedded within the sar file.

          Drop the sar file in $JBOSS_HOME/server//deploy to deploy the XTS services. Alternatively, unzip it (or jar xf ...) to $JBOSS_HOME/server//deploy/jbossxts.sar to provide an exploded sar tree.

          In the former case you can link the bridge code against the api jar in your xts-install tree. In the latter case you can link against the api jar in the exploded sar directory under JBOSS_HOME. The release process for XTS in the latest AS will assume that the sar is deployed exploded so you probably ought to make the bridge code link against the api jar in the exploded sar under JBOSS_HOME.

          • 2. Re: Can't build org.jboss.txbridge with Arjuna WST 1.1 class
            Jonathan Halliday Master

            BTW there is a new version of the bridge for WS-AT 1.1 / AS 5 currently on my workstation. It will get added to trunk after the 4.6.1 release next week.

            • 3. Re: Can't build org.jboss.txbridge with Arjuna WST 1.1 class
              Ben Cotton Newbie

              Thanks for the info Andrew and Jonathan.

              I will now proceed to manually build the full JTA and XTS (1.1), as you indicated, from JBoss 4.6.0.CR1. Then, after exploding this manual build's resulting jbossxts.sar into $JBOSS_HOME/server//deploy/jbossxts.sar, I will then rebuild all of the WS-BusinessActivity Framework (i.e. both org.jboss.ba.demo and org.jboss. txbridge packages).

              The resulting WS-BA Framework should then be fully 1.1 compliant (I will confirm) and should work out of the box with the next EAP 5 point release (which will include XTS 1.1)

              Thanks again!