5 Replies Latest reply on Oct 13, 2010 1:12 AM by Joshua D

    Seam does not instantiate components after redeploy under load

    Thomas Gerhards Newbie
      Hi,

      If I redeploy while the application is still getting requests then Seam does not instantiate some components (and will not until I redeploy again).

      Example:
      Normally the SLSB below is constructed ("bookDetails constructed" appears in the log), outjects a Book and the xhtml page displays it.

      When I redeploay under load then the page does not display the book and there is no construction message in the log. Repeating the request does not help, the SLSB will not be constructed and the page remains empty.


      --- SLSB ---

      @Stateless
      @Name("bookDetails")
      @Scope(ScopeType.EVENT)
      public class BookDetailsAction implements BookDetails {
      ...
      @Out
      private Book book;
      ...
      @PostConstruct
      public void construct(){ log.info("bookDetails constructed"); }
      ..
      }

      --- bookDetails.xhtml ---

      ...
      #{book.title}
      ...


      Has anyone else encountered this issue (and maybe even knows why this happens)?