1 2 Previous Next 17 Replies Latest reply on Aug 22, 2011 2:35 AM by Nitin Khekare Go to original post
      • 15. Re: Deploying Simple JSF 1.2 application in jboss 7
        Nitin Khekare Newbie

        Hi Stan

         

        I am getting one error like     

         

        10:35:47,967 WARNING [javax.enterprise.resource.webcontainer.jsf.lifecycle] (http--127.0.0.1-8080-1) Can't find bundle for base name javax.faces.Messages, locale en_US: java.util.MissingResourceException: Can't find bundle for base name javax.faces.Messages, locale en_US

                at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427) [:1.6.0_22]

                at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250) [:1.6.0_22]

                at java.util.ResourceBundle.getBundle(ResourceBundle.java:952) [:1.6.0_22]

                at javax.faces.component.MessageFactory.getMessage(MessageFactory.java:174) [jsf-api.jar:1.2_09-b01-BETA1]

                at javax.faces.component.MessageFactory.getMessage(MessageFactory.java:231) [jsf-api.jar:1.2_09-b01-BETA1]

                at javax.faces.component.UIInput.validateValue(UIInput.java:1005) [jsf-api.jar:1.2_09-b01-BETA1]

                at javax.faces.component.UIInput.validate(UIInput.java:875) [jsf-api.jar:1.2_09-b01-BETA1]

                at javax.faces.component.UIInput.executeValidate(UIInput.java:1072) [jsf-api.jar:1.2_09-b01-BETA1]

                at javax.faces.component.UIInput.processValidators(UIInput.java:672) [jsf-api.jar:1.2_09-b01-BETA1]

                at javax.faces.component.UIForm.processValidators(UIForm.java:235) [jsf-api.jar:1.2_09-b01-BETA1]

                at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1058) [jsf-api.jar:1.2_09-b01-BETA1]

                at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:699) [jsf-api.jar:1.2_09-b01-BETA1]

                at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76) [jsf-impl-1.2_13.jar:1.2_13-b01-FCS]

                at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) [jsf-impl-1.2_13.jar:1.2_13-b01-FCS]

                at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) [jsf-impl-1.2_13.jar:1.2_13-b01-FCS]

                at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) [jsf-api.jar:1.2_09-b01-BETA1]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.0.Final.jar:7.0.0.Final]

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]

         

        10:35:47,983 SEVERE [javax.enterprise.resource.webcontainer.jsf.lifecycle] (http--127.0.0.1-8080-1) JSF1054: (Phase ID: PROCESS_VALIDATIONS 3, View ID: /inputname.jsp) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@7fbe19]

        10:35:47,983 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jsfa].[Faces Servlet]] (http--127.0.0.1-8080-1) Servlet.service() for servlet Faces Servlet threw exception: java.util.MissingResourceException: Can't find bundle for base name javax.faces.Messages, locale en_US

                at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427) [:1.6.0_22]

                at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250) [:1.6.0_22]

                at java.util.ResourceBundle.getBundle(ResourceBundle.java:952) [:1.6.0_22]

                at javax.faces.component.MessageFactory.getMessage(MessageFactory.java:174) [jsf-api.jar:1.2_09-b01-BETA1]

                at javax.faces.component.MessageFactory.getMessage(MessageFactory.java:231) [jsf-api.jar:1.2_09-b01-BETA1]

                at javax.faces.component.UIInput.validateValue(UIInput.java:1005) [jsf-api.jar:1.2_09-b01-BETA1]

                at javax.faces.component.UIInput.validate(UIInput.java:875) [jsf-api.jar:1.2_09-b01-BETA1]

                at javax.faces.component.UIInput.executeValidate(UIInput.java:1072) [jsf-api.jar:1.2_09-b01-BETA1]

                at javax.faces.component.UIInput.processValidators(UIInput.java:672) [jsf-api.jar:1.2_09-b01-BETA1]

                at javax.faces.component.UIForm.processValidators(UIForm.java:235) [jsf-api.jar:1.2_09-b01-BETA1]

                at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1058) [jsf-api.jar:1.2_09-b01-BETA1]

                at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:699) [jsf-api.jar:1.2_09-b01-BETA1]

                at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76) [jsf-impl-1.2_13.jar:1.2_13-b01-FCS]

                at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) [jsf-impl-1.2_13.jar:1.2_13-b01-FCS]

                at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) [jsf-impl-1.2_13.jar:1.2_13-b01-FCS]

                at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) [jsf-api.jar:1.2_09-b01-BETA1]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.0.Final.jar:7.0.0.Final]

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]

         

         

        Actually I have changed the same working jar -

        And the changes I have done in inputname.jsp, I have just added required attribute to the inputtext.

        No changes other than this.

         

        And if I submit the page without entering the name I get the above mentioned error. I am not using any resourcebundle.

         

        Can you please help me in this ?

         

        Thanks

        • 17. Re: Deploying Simple JSF 1.2 application in jboss 7
          Nitin Khekare Newbie

          There was some jar problem, after updating the jar files the problem is no more now.

           

          Thanks

          1 2 Previous Next