0 Replies Latest reply on Oct 25, 2007 11:48 AM by nm-156

    JSF - StartupServletContextListener takes a long time to ini

    nm-156

      JBoss AS 4.0.5
      JSF 1.1

      Does anybody know why there is such a long delay with the deployment of JSF applications? When I look in the log, it appears that StartupServletContextListener (which is configured in my web xml) is taking a long time (3 - 4 minutes) to initialize (see timestamps 11:24 to 11:27):

      web.xml:

      .

      <!-- The following directive is needed for JSF deployment on JBoss 4.0.5 -->
      
      <listener>
       <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
      </listener>


      Application server log:

      11:24:34,200 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
      11:24:34,271 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
      11:27:43,315 INFO [StartupServletContextListener] ServletContext '/usr/local/just4test/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp50741CoreJSFBookCh4TextFields.ear-contents/CoreJSFBookCh4TextFields-exp.war/' initialized.
      11:27:43,315 INFO [StartupServletContextListener] Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
      


      Thanks