0 Replies Latest reply on Jun 10, 2003 1:18 PM by Nigel Birch

    Long time taken to return from a SB remote method

    Nigel Birch Newbie


      My configuration is:
      JBoss 3.0.2, EJB 1.1 CMP
      Linux RH7.3
      Pentium III, 500MHz
      JBoss heap: min:32M max:256M

      I'm measuring the time taken for a simple loop that calls a Session Bean remote method to update an attribute in a EntityBean. 90% of the total loop time is spend just returning from the Session Bean remote method (~300ms)! There is no application code being executed, its just the return.

      The Session Bean remote method in question has its
      transaction attribute set to RequiresNew, and the
      Entity Bean being updated has its CMP commit option set to "A".

      Even though its a remote interface call, its all on the same machine so I thought that JBoss makes local calls instead of using RMI.

      What is taking so long?