1 Reply Latest reply on Jan 16, 2004 1:48 PM by mandarm

    Different behaviour seen on Windows and Linux

    mandarm

      Hi,
      We are seeing some different behaviour when a session bean method throws an appliction exception.

      JBoss: 3.2.1
      Windows 2000/XP
      Linux: RedHat 8.0

      EJB Transaction setting : NotSupported

      Code snippet

      try{
      doSomething()
      }
      catch (BizException e ){
      1) logErrorToLog file using log4j

      2) log record to database (sql server)

      throw e;
      }


      On windows machine, steps 1 and 2 run very fast without any issues. On linux machine, it takes a lot of time (3 minutes 10 seconds) to go from step 1 to step 2.

      1) and 2) are both methods. I cannot see even the first line of the method (2) being reached. So, it is not a database issue. Also both the windows and linux machine go to the same sql server database.

      Any ideas why this could happen ?

      Thanks
      Mandar







        • 1. Re: Different behaviour seen on Windows and Linux
          mandarm

          I also tried this using TX_SUPPORTED setting for the transaction of all the beans.

          Also using Jboss 3.2.3 now.

          Why is this delay of 3 minutes 10 seconds on linux ? Is this some transaction timeout setting in Jboss ?

          Thanks in advance for your help.

          Regards
          Mandar