3 Replies Latest reply on Mar 14, 2011 5:11 PM by dan.j.allen

    Seam Servlet doesn't automatically register its servlet components on Tomcat 7

    mkouba

      Seam Servlet module does not automatically register its servlet components on servlet 3.0 container Tomcat 7. Most probably because of relative ordering in its web-fragment.xml:


      <ordering>
      <after>
      <name>WeldServlet</name>
      </after>
      <before>
      <others/>
      </before>
      </ordering>



      According to https://issues.jboss.org/browse/WELD-718 stable version of weld has no web-fragment.xml yet. Tomcat probably skips registering, because WeldServlet does not exist. I'm not sure whether it's issue of Tomcat or Seam. Tried to find out in Servlet Specification with no success. At the moment it's necessary to setup components manually.