4 Replies Latest reply on Feb 19, 2009 4:44 PM by lvn2000

    RichFaces + Seam

    lvn2000

      Hello,


      I'm sorry for my English..


      I've developed web application with using RichFaces 3.3.0. For debug I've used Tomcat6. Application working fine.
      But , when I try to deploy my application on JBoss 4.2.3.GA I got error:
      java.lang.NullPointerException         org.jboss.seam.jsf.SeamViewHandler.calculateLocale(SeamViewHandler.java:55)


      In server's folder /JBoss/server/default/lib there are files jboss-seam...jar.  When I've removed this files, all working.
      Help me please, -what could I deploy my application with jboss-seam's jars in server's lib folder. (I can't to remove this files)


      Thank you.

        • 1. Re: RichFaces + Seam
          jkronegg

          While I'm not using JBoss AS, it seems to be a classloader issue.


          Try to change your application classloader order from PARENTFIRST (i.e. Seam jars loaded from the server libs) to PARENTLAST (i.e. Seam jars loaded from your web app). Look at JBoss AS documentation, you probably have this option.

          • 2. Re: RichFaces + Seam
            lvn2000

            Thank you for answer, Julien.


            Yes, I think you answer will be solve my problem.


            Best regards
                   Vladimir




            Julien Kronegg wrote on Feb 05, 2009 14:32:


            While I'm not using JBoss AS, it seems to be a classloader issue.

            Try to change your application classloader order from PARENTFIRST (i.e. Seam jars loaded from the server libs) to PARENTLAST (i.e. Seam jars loaded from your web app). Look at JBoss AS documentation, you probably have this option.


            • 3. Re: RichFaces + Seam
              talsitt

              Hello Everyone


              I'm reading your post and I think I have a similar carse.


              could you tell me how to change the application classloader order ?


              Regards

              • 4. Re: RichFaces + Seam
                lvn2000

                Hello



                Extended info you could see this
                http://www.jboss.org/community/docs/DOC-9288


                I hope that I can help you.


                Best regards




                Tarek Al-Sitt wrote on Feb 19, 2009 15:12:


                Hello Everyone

                I'm reading your post and I think I have a similar carse.

                could you tell me how to change the application classloader order ?

                Regards


                Click HELP for text formatting instructions. Then edit this text and check the preview.