2 Replies Latest reply on May 31, 2010 7:51 AM by Naga Brahmam

    Problem with Jboss 5.1.0.GA and (JSF 1.2 or JSF2.0)

    Naga Brahmam Newbie

      Iam getting the follwoing exception when i run the application.

      What is the problem.How can i run JSF1.2 or JSF2.0  on Jboss 5.1.0.GA ?

       

      The exception is      :

       

      14:25:39,687 ERROR [0]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
      java.lang.ClassCastException: com.sun.faces.config.WebConfiguration
              at com.sun.faces.config.WebConfiguration.getInstance(WebConfiguration.java:154)
              at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:145)
              at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:60)
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
              at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
              at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
              at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
              at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
              at $Proxy38.start(Unknown Source)
              at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
              at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
              at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
              at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
              at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51).....and so on.

        • 1. Re: Problem with Jboss 5.1.0.GA and (JSF 1.2 or JSF2.0)
          Stan Silvert Master

          Are you bundling JSF with your WAR?  You don't need to do that.

           

          See JBossFaces

           

          Stan

          1 of 1 people found this helpful
          • 2. Re: Problem with Jboss 5.1.0.GA and (JSF 1.2 or JSF2.0)
            Naga Brahmam Newbie

            Hi Stan,

             

            Thanks for the reply.

            I have removed the jar files from WAR as told.

            Again iam getting the following exception.

            Please tell me the way out.

             

            Thanx.

             

            17:18:12,113 SEVERE [event] Received 'org.apache.jasper.el.JspPropertyNotFoundException' when invoking action listener '#{HRAAdminTechnologyMasterBeanInfo.addListener}' for component 'j_id_jsp_1952177827_2'
            17:18:12,113 SEVERE [event] org.apache.jasper.el.JspPropertyNotFoundException: /admin/HRAAdminTechnologyMasterShow.jsp(58,12) '#{HRAAdminTechnologyMasterBeanInfo.addListener}' Target Unreachable, identifier 'HRAAdminTechnologyMasterBeanInfo' resolved to null
                    at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:74)
                    at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:99)
                    at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
                    at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:771)
                    at javax.faces.component.UICommand.broadcast(UICommand.java:372)
                    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
                    at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:541)

             

                    at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78)
                    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
                    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
                    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
                    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
                    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
                    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
                    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
                    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
                    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
                    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
                    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
                    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                    at java.lang.Thread.run(Thread.java:595)