1 Reply Latest reply on Sep 12, 2008 4:38 AM by Joshua Jackson

    Unable to detect com.jboss.seam.postInitialization

    P C Newbie

      I am trying to get seam to run some initialization code, but I have trouble detecting the "com.jboss.eam.postInitialization" event.  The following is a snippet of my code:

      public class ObserveInitialization
         static private Log log;
         public void observe()
            log.debug("I am here");
            ...other code...

      I never see "I am here" being logged and my code is not being called at all.  Is there anything else I need to do to detect the postInitialization event?  I also set it up the lister in the components.xml file, but to no avail:

      In components.xml:
         <event type="com.jboss.seam.postInitialization">
            <action execute="#{observeInitialization.observe}"/>

      Am I missing something?  Any ideas?

      Environment: SEAM 2.0.0 GA with Tomcat 6.0