1 Reply Latest reply on Apr 6, 2007 3:37 PM by Anu Didi

    Timer getInfo returns null?

    Anu Didi Newbie

      I am using EJB2.1 on Jboss 4.0.2.
      I create a timer using
      TimerService ts = sc.getTimerService();
      Timer timer = ts.createTimer(initialExpire, timeout,timerName);

      Later ts.getTimers() returns me a collection of all the created Timers.
      But when I call timer.getInfo() on these timers I get a 'null' instead of the
      timername as expected.
      Has anyone faced this problem before?
      Is there any way to set and later obtain the timername?

      Thanks in advance.