1 2 Previous Next 19 Replies Latest reply on Oct 26, 2005 5:01 AM by xiangya Go to original post
      • 15. Re: Anyone seen this problem?
        xiangya

        sorry for my missing.

        • 16. Re: Anyone seen this problem?
          soshah

          Are you saying that the issue is a missing seam.properties files? I do have an empty seam.properties file at the root level of my ear file that contains my SEAM-JSF application as a war file. Is there a problem with packaging the application in this manner? Should have some configuration information in the seam.properties file that will stop the SeamPhaseListener from being registered twice?

          • 17. Re: Anyone seen this problem?
            patrick_ibg

            the seam.properties should be in the root directory of the jar which contains your seam component classes. try putting it in the root dir of your war file.

            • 18. Re: Anyone seen this problem?
              rpochet

              If you specify the following in the web.xml:

               <context-param>
              <param-name>javax.faces.CONFIG_FILES</param-name>
              <param-value>/WEB-INF/faces-config.xml</param-value>
              </context-param>
              


              MyFaces wil try to feed the settings twice. It results in the following log:

              INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
              INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
              

              compared to the demo where only one line is displayed.

              I remove this entry and everything works fine (until now). In a previous try to make it working, I removed the phase listener defintion entry in the faces-config file but now I can redeine it without any problem.

              PS:
              In my case, the seam.properties is in the root directory of my ejb3 file

              • 19. Re: Anyone seen this problem?
                xiangya

                hi,
                Are you using sun jsf-impl1.2 with myfaces 1.1 impl but not , it's likely .
                if this, I'm finding way to 1.2.

                1 2 Previous Next