0 Replies Latest reply on Dec 2, 2008 8:48 PM by Felix Khazin

    Asynchronous e-mail on Startup

    Felix Khazin Newbie


      I'm trying to start a task that scheduled to run every hour or so that will e-mail my users.

      I've used
           public void sendReport(@IntervalDuration long duration)


      public void observe()
                email.sendReport(120 * 1000l);

      Problem is i keep getting this error:

      java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory

      Anyone know what could be wrong?

      I've seen this example posted here: http://relation.to/2640.lace so it should work.