1 Reply Latest reply on Apr 25, 2007 3:23 PM by Vinicius Carvalho

    problems with Sun JSF implementation

    Vinicius Carvalho Apprentice

      Hi there! I've seen ppl discussing this here before. I'm having problems when deploying the jbpm-console on a instance (4.0.5-ejb3) that has a seam 1.2.1 app. If I take out the app, the console is deployed, if not I get the following exception:

      09:32:00,236 ERROR [STDERR] Apr 25, 2007 9:32:00 AM com.sun.faces.config.ConfigureListener contextInitialized
      INFO: Initializing Sun's JavaServer Faces implementation (1.2_03-b09-FCS) for context 'null'
      09:32:00,504 ERROR [STDERR] javax.faces.FacesException: org.jboss.seam.jsf.SeamApplicationFactory
      09:32:00,505 ERROR [STDERR] at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:587)
      09:32:00,506 ERROR [STDERR] at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:460)
      09:32:00,506 ERROR [STDERR] at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:256)
      09:32:00,507 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.application(ConfigureListener.java:520)
      09:32:00,507 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:568)
      09:32:00,507 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:542)
      09:32:00,508 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:438)
      09:32:00,508 ERROR [STDERR] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
      09:32:00,509 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
      09:32:00,509 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
      09:32:00,509 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
      09:32:00,510 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
      09:32:00,510 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      09:32:00,511 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      09:32:00,511 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      09:32:00,512 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      09:32:00,512 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      09:32:00,513 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
      09:32:00,513 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      09:32:00,514 ERROR [STDERR] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
      09:32:00,514 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      09:32:00,515 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      09:32:00,515 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      09:32:00,516 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      09:32:00,516 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      09:32:00,516 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
      09:32:00,517 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      09:32:00,517 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
      09:32:00,518 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
      09:32:00,518 ERROR [STDERR] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
      09:32:00,519 ERROR [STDERR] at org.jboss.web.WebModule.startModule(WebModule.java:83)
      09:32:00,519 ERROR [STDERR] at org.jboss.web.WebModule.startService(WebModule.java:61)
      09:32:00,520 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      09:32:00,520 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      09:32:00,521 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      09:32:00,521 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      09:32:00,522 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      09:32:00,522 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      09:32:00,522 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      09:32:00,523 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      09:32:00,523 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      09:32:00,524 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      09:32:00,524 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      09:32:00,525 ERROR [STDERR] at $Proxy0.start(Unknown Source)
      09:32:00,525 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
      09:32:00,525 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      09:32:00,526 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      09:32:00,526 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      09:32:00,527 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      09:32:00,531 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      09:32:00,532 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      09:32:00,532 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      09:32:00,532 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      09:32:00,534 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      09:32:00,534 ERROR [STDERR] at $Proxy49.start(Unknown Source)
      09:32:00,535 ERROR [STDERR] at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
      09:32:00,535 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      09:32:00,535 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      09:32:00,536 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      09:32:00,536 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      09:32:00,537 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      09:32:00,537 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      09:32:00,538 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      09:32:00,538 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      09:32:00,538 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      09:32:00,539 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
      09:32:00,539 ERROR [STDERR] at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
      09:32:00,540 ERROR [STDERR] at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
      09:32:00,540 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
      09:32:00,541 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
      09:32:00,541 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      09:32:00,541 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      09:32:00,542 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      09:32:00,542 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      09:32:00,543 ERROR [STDERR] at $Proxy50.start(Unknown Source)
      09:32:00,544 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      09:32:00,544 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
      09:32:00,545 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      09:32:00,545 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      09:32:00,545 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
      09:32:00,546 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      09:32:00,546 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      09:32:00,547 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      09:32:00,547 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      09:32:00,548 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      09:32:00,548 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      09:32:00,548 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      09:32:00,549 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      09:32:00,549 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      09:32:00,550 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      09:32:00,550 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      09:32:00,554 ERROR [STDERR] at $Proxy8.deploy(Unknown Source)
      09:32:00,555 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
      09:32:00,555 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
      09:32:00,573 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
      09:32:00,573 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
      09:32:00,573 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      09:32:00,574 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      09:32:00,574 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      09:32:00,575 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      09:32:00,575 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      09:32:00,576 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      09:32:00,576 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      09:32:00,577 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      09:32:00,577 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      09:32:00,577 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      09:32:00,578 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      09:32:00,579 ERROR [STDERR] at $Proxy0.start(Unknown Source)
      09:32:00,579 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
      09:32:00,580 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      09:32:00,580 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      09:32:00,581 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      09:32:00,581 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      09:32:00,581 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      09:32:00,582 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      09:32:00,582 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      09:32:00,583 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      09:32:00,583 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      09:32:00,584 ERROR [STDERR] at $Proxy4.start(Unknown Source)
      09:32:00,584 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      09:32:00,585 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      09:32:00,585 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      09:32:00,586 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      09:32:00,586 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
      09:32:00,587 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      09:32:00,587 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      09:32:00,588 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      09:32:00,588 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      09:32:00,589 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      09:32:00,589 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      09:32:00,590 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      09:32:00,590 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      09:32:00,591 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      09:32:00,591 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      09:32:00,595 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      09:32:00,596 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      09:32:00,596 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      09:32:00,597 ERROR [STDERR] at $Proxy5.deploy(Unknown Source)
      09:32:00,597 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
      09:32:00,597 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
      09:32:00,598 ERROR [STDERR] at org.jboss.Main.boot(Main.java:200)
      09:32:00,598 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:490)
      09:32:00,599 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
      09:32:00,600 ERROR [STDERR] Caused by: java.lang.InstantiationException: org.jboss.seam.jsf.SeamApplicationFactory
      09:32:00,601 ERROR [STDERR] at java.lang.Class.newInstance0(Class.java:340)
      09:32:00,601 ERROR [STDERR] at java.lang.Class.newInstance(Class.java:308)
      09:32:00,614 ERROR [STDERR] at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:585)
      09:32:00,614 ERROR [STDERR] ... 142 more
      


      I tried to isolate the classloader through jboss-app and jboss-web configurations and did not work.
      Any ideas?

      Regards