5 Replies Latest reply on Feb 23, 2009 7:08 PM by foochal

    When deploying a jBPM,a exception about jsf throwed

    frankzhy

      I downloaded jBPM source code and created as a web project in eclipse(3.3),then I deploy this web app to jboss4.2,but throw folloing exception when started:

      11:16:38,503 FATAL [application] JSF1029: The specified InjectionProvider implementation 'org.jboss.web.jsf.integration.injection.JBossInjectionProvider' does not implement the InjectionProvider interface.
      11:16:38,503 WARN [application] JSF1033: Resource injection is DISABLED.
      11:16:39,025 ERROR [[/jBPM-Console]] 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:135)
       at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228)
       at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)
       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
       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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
       at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310)
       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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
      

      I don't know enough about jsf, any response hoped,thanks a lot.

        • 1. Re: When deploying a jBPM,a exception about jsf throwed
          pjmorce

          I am having a similar problem.
          A netbeans web application deploiement to JBoss 4.2.2 fails with the following error:

          ...
          12:11:11,171 ERROR [[/faces-tutorial2]] 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:135)
          at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228)
          at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)

          ...

          • 2. Re: When deploying a jBPM,a exception about jsf throwed
            evster

            Has anyone figured this out?

            • 3. Re: When deploying a jBPM,a exception about jsf throwed
              manoogim

              did anyone figure out what the problem was? i am deploying to EnterprisePlatform-4.3.0.GA. getting this exception:
              2:30:56,946 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
              12:30:57,008 INFO [TomcatDeployer] deploy, ctxPath=/rft-new, warUrl=.../deploy/rft-new.war/
              12:30:58,099 FATAL [application] JSF1029: The specified InjectionProvider implementation 'org.jboss.web.jsf.integration.injection.JBossInjectionProvider' does not implement the InjectionProvider interface.
              12:30:58,099 INFO [application] JSF1048: PostConstruct/PreDestroy annotations present. ManagedBeans methods marked with these annotations will have said annotations processed.
              12:30:58,770 ERROR [ContainerBase] Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
              java.lang.LinkageError: Class javax/el/ELResolver violates loader constraints
              at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:397)
              at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:189)
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:4352)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:732)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)


              and later:
              12:30:58,770 ERROR [ContainerBase] 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:135)
              at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228)
              at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:4352)

              • 4. Re: When deploying a jBPM,a exception about jsf throwed
                kukeltje

                only the first poster talks about deploying the jBPM webconsole. That error is related to having some backported classes (for jsf 1.2) in jBPM and deploying to a jsf 1.2 compliant server. So look at how to deploy jbpm 3.2.x to jboss 4.2.x if that is what you do. Otherwise the question is in the wrong forum

                • 5. Re: When deploying a jBPM,a exception about jsf throwed
                  foochal

                  It is because of multiple jsf jars, one from your application dependencies and one from the container runtime.

                  See this page for full details: FATAL application JSF1029: The specified InjectionProvider implementation 'org.jboss.web.jsf.integration.injection.JBossInjectionProvider' does not implement the InjectionProvider interface.