3 Replies Latest reply on May 12, 2011 6:56 PM by Jason Porter

    Web Application Bootstrap

    Todd Morrison Newbie

      What is the correct way to bootstrap code in Seam 3/Weld?

      I have tried creating a bean marked as


      and executing container code during the @PostConstruct call, but this is faulty.

      When debugging, the @PostConstruct gets a transaction and full CDI support. But, in release there is a

      java.lang.RuntimeException: Could not invoke PostConstruct on the newly created bean instance
           at org.jboss.ejb3.singleton.impl.container.SingletonEJBInstanceManagerImpl.create

      This isn't helpful.

      Any advice?