0 Replies Latest reply on Feb 9, 2010 12:33 PM by Kariem Hussein

    JAR file containing components in WAR not picked up

    Kariem Hussein Newbie

      I am trying to deploy a WAR to a servlet container and want to have the authentication part at a central location in a separate jar. The application is packaged according to the documentation on packaging as WAR:


      my-webapp.war/
          META-INF/
              MANIFEST.MF
          WEB-INF/
              web.xml
              components.xml
              lib/
                  ...
                  my-app.jar/
                      META-INF/
                         components.xml
                         MANIFEST.MF
                      seam.properties
                ...
          ...
      



      Classes are configured in my-app.jar/META-INF/components.xml, but are not annotated with @Name. Is there a way to find out why I cannot see the configuration of my-app being picked up?


      I used to package the application as EAR, with a WAR and several EJB JARs that were correctly processed. Is there something I should not forget in the only-WAR packaging scenario?




      Thank you,


      Kariem