3 Replies Latest reply on Nov 9, 2012 8:04 AM by nimo stephan

    @ManagedBean(eager=true) with AS 7.1.1

    nimo stephan Master

      I have a application scoped bean with eager=true and expect that this bean loads during server start. But it does not!



      I am using common code






      public class MyEagerThing implements Serializable {


          private static final long serialVersionUID = -31177492927498099L;


          private static Logger log = Logger.getLogger(MyEagerThing.class);



          private Controller controller;


          public void postConstruct() {

            log.infov("@PostConstruct: {0}", this.getClass().getSimpleName());





      Using Glassfish, "MyEagerThing" is loaded eagerly successfully.

      But with Jboss 7.1.1 FINAL, the eager does not work.


      Is this a bug?