0 Replies Latest reply on Mar 5, 2013 9:18 AM by Gregor Keller

    Seam 2.3, Icefaces 3.2, JBoss As 7.1.1 Deployment Problem

    Gregor Keller Newbie

      Hi everyone!


      I'm quite new to seam. At the moment I have to migrate an EAR-project which is built in Seam 2.2 with ICEfaces 1.8 to Seam 2.3 and ICEfaces 3.2.

      At the moment I stuck at a point where I get the exception, that the SeamPhaseListener is initialized twice. I made some researches in other forums where I found that the reason has to be the jboss-seam.jar which is deployed at the EAR-root and in the WEB-INF/lib folder. When I just put it in the EAR-root and NOT in the WEB-INF/lib the deployment doesn't end.

      My question is:

      What do I have to do, to allow the access of the WAR to the jboss-seam.jar in the EAR folder?

      Which files have to be used to configure that?


      I already declared the jboss-seam.jar as a module in the application.xml and there's NO entry about it in the MANIFEST.MF. It's neither in the deployed-jars-*.xml's. What is missing?


      The project structure is simple:


      - EAR

          -> META-INF

                -> application.xml

                -> ejb-jar.xml

                -> jboss-deployment-structure.xml

                -> persistence-dev.xml

                -> persistence-prod.xml

                -> persistence-test.xml


           - WAR

                -> WEB-INF

                     -> components.xml

                     -> faces-config.xml

                     -> MANIFEST.MF

                     -> pages.xml

                     -> web.xml

           - JAR

                -> ejb's


      Every help is welcome!


      Thanks in advance