3 Replies Latest reply on Aug 30, 2008 6:13 PM by pmuir

    Multiple SeamPhaseListeners

    blabno

      I do exploded deployment and I get


      [SeamPhaseListener] There should only be one Seam phase listener per application



      And later I get other exceptions but related to this.


      It disappears when I deploy packaged ear. What can be the reason ?

        • 1. Re: Multiple SeamPhaseListeners
          blabno

          BTW. I know this is happens only to my app. Seam examples work fine even if exploded.

          • 2. Re: Multiple SeamPhaseListeners
            blabno

            Solved ! The problem was that my EJB module had jboss-seam.jar in Class-Path attribute in MANIFEST.MF. That is no problem when I deploy application as packaged archive, but when I deploy it as exploded directory jboss-seam.jar gets loaded twice or something like that.
            Could anybody explain it a bit?


            • 3. Re: Multiple SeamPhaseListeners
              pmuir

              It means that JSF finds Seam twice on the classpath. We don't recommend using MANIFEST.MF Class-Path with Seam, but people are complaining about that, so please file a JIRA issue, so we can at least document it better.