5 Replies Latest reply on Jan 29, 2011 5:14 AM by Pieter Martin

    Servlet Lifecycle event not firing in ear

    Pieter Martin Novice

      Hi,


      I am running an ear application on jboss.6.0.0.Final. Both seam-servlet-api-3.0.0.Alpha3.jar and seam-servlet-impl-3.0.0.Alpha3.jar is in the lib directory. I have the following bean



      public class StartUp {
           public void startup(@Observes @Initialized ServletContext ctx) {
                System.out.println("Ssssssssssssssssssssssss");
           }
      


      The method never gets called.


      I have a arquillian test case deploying a war archive and then it works.


      Is this a bug or is some configuration missing?


      Thanks
      Pieter