2 Replies Latest reply on Jun 26, 2002 4:14 PM by Pete Marsden

    Getter method call of CMP entity hanging

    Pete Marsden Newbie

      I am getting this problem consistently. I making this call hundreds of time in other place. The call just hangs and later times out. Code:

      LocalScenarioHome home = (the local home interface)

      Collection coll = home.findAllByUserID(userName);

      if(coll == null)
      return null;

      Iterator enum = coll.iterator();

      if(!enum.hasNext()) {
      return null;

      while (enum.hasNext()) {
      LocalScenario scen = (LocalScenario)enum.next();
      System.out.println("HAVE SCENARIO: " + scen);
      System.out.println("HAVE SCENARIO NAME: " + scen.getName());


      The HAVE SCENARIO output shows that there is an object of the type I expect but the next line hangs.