6 Replies Latest reply on Apr 18, 2006 5:40 AM by Mark Little

    JBoss Transactions 4.2 and JacORB

    Kevin Conner Master

      Continuing discussion from Jboss Tramsactions 4.2 Released

        • 1. Re: JBoss Transactions 4.2 and JacORB
          Kevin Conner Master

          Hiya Rogerio.

          The scripts that you are looking at are for running standalone and not embedding within the applicaiton server. Is this what you intend to do?

          Thanks,
          Kev

          • 2. Re: JBoss Transactions 4.2 and JacORB
            Kevin Conner Master

            Hiya Rogerio.

            I have just checked and the jars do exist in the JBoss AS, just with slightly different names.

            Can you please make the following changes

            rreplace the definition of JACORB_HOME with JBOSS_HOME and initialise it with your JBoss AS installation directory
            remove the line containing idl.jar
            change JACORB_HOME/lib to JBOSS_HOME/client for all entries
            change logkit-1.2.jar to logkit.jar
            change avalon-framework-4.1.5.jar to avalon-framework.jar

            This should setup the environment for standalone usage of JBossTS against the JBoss AS libraries.

            I have created a JIRA task to track these issues.

            Thanks,
            Kev

            • 3. Re: JBoss Transactions 4.2 and JacORB
              Rogério Rondini Newbie

              Thanks Kevin, now it is working.

              Well, now I'm trying to running standalone.
              I'am reading available documents (installing JBossTS, Admin Guide, User Guide...) to know the features and how JBossTS work.

              After that, I will make tests with distributed transactions in our application running with JBoss in diferente machines.


              Thanks
              Rogerio.

              • 4. Re: JBoss Transactions 4.2 and JacORB
                Kevin Conner Master

                Glad to have helped but sorry you had this trouble.

                Please let me know how you get on with the rest of your tests.

                Thanks,
                Kev

                • 5. Re: JBoss Transactions 4.2 and JacORB
                  Rogério Rondini Newbie

                  Well,

                  We have two j2ee applications running in diferent machines. The application A begin a transaction and call method in appllication B. If not wrong occurs, application A commit transaction. So, it's a typical computational problem. Currently, this transaction not work well; the application B commit your transaction and if an error occur in application A, application B doesn't make roll back.
                  Now, our goal is make test with JBossTS in this scenario, and use this solution.

                  I made configuration of the JBossTS in JBoss 4.0.3SP1. When I execute application and a run time exception occurs, which would cause one rollback, an error is throws, as showed below...

                  java.rmi.ServerException: RuntimeException; nested exception is:
                  java.lang.IllegalStateException: Wrong transaction association: expected TransactionImple < ac, BasicAction: aca0d60:c5c:443eab87:b5 status: 4 > was null
                  at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:386)


                  P.S. JBossTS and JBoss 4.0.3SP1 was configured as INSTALL file located JBossTS installation


                  Thanks
                  Rogerio

                  • 6. Re: JBoss Transactions 4.2 and JacORB
                    Mark Little Master

                    Have you confirmed that your JBossTS standalone setup is correct? Trying a distributed transaction using the system outside of the application server.