geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Joysn <joys...@gmail.com>
Subject Re: Geronimo 2.2.1 with JSF 2
Date Tue, 28 Jun 2011 21:30:28 GMT
Hi Daniel,

thanks for your response. and yes, i did exact what u said:

i started with a clean copy of geronimo 2.2.1,
turnedoff the two faces system modules,
deployed my ready build war with the mojarra jsf2 and richfaces 4 libs,
nothing special, just a simple hellp world sample.

"under rapid development" scares me a little bit... ;)

when i do the things mentioned above tehn i get the following log out put.
its
a rather huge log output, but to be honest. it tells me nothing...

furthermore it seems that it is not possible to deploy a maven managed
dynamic web project from Eclipse through the geronimo server adapter
to geronimo. it seems that then the libs are not deployed to geronimo,
so i had to deploy the war through geronimo console.

2011-06-28 23:22:25,719 WARN  [TomcatModuleBuilder] Web application . does
not contain a WEB-INF/geronimo-web.xml deployment plan.  This may or may not
be a problem, depending on whether you have things like resource references
that need to be resolved.  You can also give the deployer a separate
deployment plan file on the command line.
2011-06-28 23:22:27,485 INFO  [config] Mojarra 2.0.4 (FCS b09) für Kontext
'/erp.web-1.0-SNAPSHOT' wird initialisiert.
2011-06-28 23:22:35,947 INFO  [config] Unsanitized stacktrace from failed
start...
java.lang.IllegalArgumentException: factoryName
'javax.faces.context.ExceptionHandlerFactory'
    at javax.faces.FactoryFinder.checkFactoryName(FactoryFinder.java:275)
    at javax.faces.FactoryFinder.setFactory(FactoryFinder.java:217)
    at
com.sun.faces.config.processor.FactoryConfigProcessor.setFactory(FactoryConfigProcessor.java:283)
    at
com.sun.faces.config.processor.FactoryConfigProcessor.processFactories(FactoryConfigProcessor.java:239)
    at
com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:193)
    at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:338)
    at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:226)
    at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4131)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4620)
    at
org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoStandardContext.java:64)
    at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:412)
    at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
    at
org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:264)
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
    at
org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:339)
    at
org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:525)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:953)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:525)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:295)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:539)
    at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:377)
    at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
    at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190)
    at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546)
    at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
    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:597)
    at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
    at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816)
    at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
    at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
    at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
    at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$f4ea9b46.startConfiguration(<generated>)
    at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
    at java.lang.Thread.run(Thread.java:662)
2011-06-28 23:22:35,961 ERROR [config] Critical error during deployment:
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
factoryName 'javax.faces.context.ExceptionHandlerFactory'
    at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:357)
    at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:226)
    at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4131)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4620)
    at
org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoStandardContext.java:64)
    at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:412)
    at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
    at
org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:264)
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
    at
org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:339)
    at
org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:525)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:953)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:525)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:295)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:539)
    at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:377)
    at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
    at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190)
    at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546)
    at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
    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:597)
    at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
    at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816)
    at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
    at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
    at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
    at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$f4ea9b46.startConfiguration(<generated>)
    at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
    at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.IllegalArgumentException: factoryName
'javax.faces.context.ExceptionHandlerFactory'
    at javax.faces.FactoryFinder.checkFactoryName(FactoryFinder.java:275)
    at javax.faces.FactoryFinder.setFactory(FactoryFinder.java:217)
    at
com.sun.faces.config.processor.FactoryConfigProcessor.setFactory(FactoryConfigProcessor.java:283)
    at
com.sun.faces.config.processor.FactoryConfigProcessor.processFactories(FactoryConfigProcessor.java:239)
    at
com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:193)
    at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:338)
    ... 44 more
2011-06-28 23:22:35,962 ERROR [0-SNAPSHOT]] Exception sending context
initialized event to listener instance of class
com.sun.faces.config.ConfigureListener
java.lang.RuntimeException: com.sun.faces.config.ConfigurationException:
CONFIGURATION FAILED! factoryName
'javax.faces.context.ExceptionHandlerFactory'
    at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:294)
    at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4131)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4620)
    at
org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoStandardContext.java:64)
    at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:412)
    at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
    at
org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:264)
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
    at
org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:339)
    at
org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:525)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:953)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:525)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:295)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:539)
    at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:377)
    at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
    at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190)
    at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546)
    at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
    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:597)
    at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
    at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816)
    at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
    at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
    at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
    at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$f4ea9b46.startConfiguration(<generated>)
    at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
    at java.lang.Thread.run(Thread.java:662)
Caused by: com.sun.faces.config.ConfigurationException: CONFIGURATION
FAILED! factoryName 'javax.faces.context.ExceptionHandlerFactory'
    at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:357)
    at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:226)
    ... 43 more
Caused by: java.lang.IllegalArgumentException: factoryName
'javax.faces.context.ExceptionHandlerFactory'
    at javax.faces.FactoryFinder.checkFactoryName(FactoryFinder.java:275)
    at javax.faces.FactoryFinder.setFactory(FactoryFinder.java:217)
    at
com.sun.faces.config.processor.FactoryConfigProcessor.setFactory(FactoryConfigProcessor.java:283)
    at
com.sun.faces.config.processor.FactoryConfigProcessor.processFactories(FactoryConfigProcessor.java:239)
    at
com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:193)
    at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:338)
    ... 44 more
2011-06-28 23:22:35,963 ERROR [StandardContext] Error listenerStart
2011-06-28 23:22:35,963 ERROR [StandardContext] Context
[/erp.web-1.0-SNAPSHOT] startup failed due to previous errors
2011-06-28 23:22:35,966 ERROR [config] Unexpected exception when attempting
to tear down the Mojarra runtime
java.lang.IllegalStateException: No Factories configured for this
Application. This happens if the faces-initialization does not work at all -
make sure that you properly include all configuration settings necessary for
a basic faces application and that all the necessary libs are included. Also
check the logging output of your web application and your container for any
exceptions!
If you did that and find nothing, the mistake might be due to the fact that
you use some special web-containers which do not support registering
context-listeners via TLD files and a context listener is not setup in your
web.xml.
A typical config looks like this;
<listener>

<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>

    at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:106)
    at
com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:108)
    at
com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:327)
    at
org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4170)
    at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:4843)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4665)
    at
org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoStandardContext.java:64)
    at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:412)
    at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
    at
org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:264)
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
    at
org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:339)
    at
org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:525)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:953)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:525)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:295)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:539)
    at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:377)
    at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
    at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190)
    at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546)
    at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
    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:597)
    at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
    at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816)
    at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
    at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
    at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
    at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$f4ea9b46.startConfiguration(<generated>)
    at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
    at java.lang.Thread.run(Thread.java:662)
2011-06-28 23:22:35,967 ERROR [ContainerBase] ContainerBase.addChild: start:

LifecycleException:  java.io.IOException: Context did not start for an
unknown reason
    at
org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:285)
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
    at
org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:339)
    at
org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:525)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:953)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:525)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:295)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:539)
    at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:377)
    at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
    at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190)
    at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546)
    at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
    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:597)
    at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
    at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816)
    at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
    at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
    at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
    at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$f4ea9b46.startConfiguration(<generated>)
    at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
    at java.lang.Thread.run(Thread.java:662)
2011-06-28 23:22:35,969 WARN  [TomcatWebAppContext] TomcatWebAppContext
failed
2011-06-28 23:22:35,969 ERROR [GBeanInstanceState] Error while starting;
GBean is now in the FAILED state:
abstractName="default/erp.web-1.0-SNAPSHOT/1309296145715/car?J2EEApplication=null,j2eeType=WebModule,name=default/erp.web-1.0-SNAPSHOT/1309296145715/car"
java.lang.IllegalStateException: ContainerBase.addChild: start:
LifecycleException:  java.io.IOException: Context did not start for an
unknown reason
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:795)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
    at
org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:339)
    at
org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:525)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:953)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:525)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
    at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
    at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:295)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
    at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:539)
    at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:377)
    at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
    at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190)
    at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546)
    at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
    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:597)
    at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
    at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816)
    at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
    at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
    at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
    at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$f4ea9b46.startConfiguration(<generated>)
    at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
    at java.lang.Thread.run(Thread.java:662)
2011-06-28 23:22:36,013 ERROR [DeploymentPortlet] The application was not
successfully started.
start of default/erp.web-1.0-SNAPSHOT/1309296145715/car failed
org.apache.geronimo.kernel.config.LifecycleException: start of
default/erp.web-1.0-SNAPSHOT/1309296145715/car failed
    at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562)
    at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
    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:597)
    at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
    at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816)
    at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
    at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
    at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
    at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$f4ea9b46.startConfiguration(<generated>)
    at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
    at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown
start exception
    at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:522)
    at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190)
    at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546)
    ... 14 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
Configuration default/erp.web-1.0-SNAPSHOT/1309296145715/car failed to start
due to the following reasons:
  The service
J2EEApplication=null,j2eeType=WebModule,name=default/erp.web-1.0-SNAPSHOT/1309296145715/car
did not start because ContainerBase.addChild: start: LifecycleException:
java.io.IOException: Context did not start for an unknown reason

    at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:485)
    ... 16 more

2011-06-28 23:22:36,025 INFO  [SupportedModesServiceImpl] Portlet mode
'edit' not found for portletId: '/plugin.Deployment!-87374526|0'

2011/6/27 David Jencks <david_jencks@yahoo.com>

> Hi Chris,
>
> I'm not sure what order you did things in.
>
> If you:
> start out with a clean copy of geronimo
> turn off the myfaces-deployer and myfaces configs as you did
> include the jsf2 implementation of your choice in your web app
>
> then deploy your web app on this modified geronimo server you might avoid
> this problem.
>
> However its possible that even with these changes your web app will see the
> jsf 1.2 api classes from geronimo which may prevent it from working.
>  There's a possible fix for this, but lets find out if its necessary first.
>
> While it is still under rapid development you might also consider trying
> trunk which supports jsf2 already.
>
> thanks
> david jencks
>
> On Jun 26, 2011, at 1:56 PM, Chris Joysn wrote:
>
> > Hello,
> >
> > i am a newbie on Geronimo and tried to get a JSF2 webapp up and running,
> > but it seems that i have some troubles with the Geronimo provided MyFaces
> > configuration.
> >
> > yesterday i found a page where one wrote that the MyFaces components
> > in Geronimo should be deactivated because they are JSF 1.2 based.
> > But due to my deactivated browser history i can not find this page again
> > and so i tried to stop the system modules from the Geronimo console:
> >
> > Stopped application
> > org.apache.geronimo.configs/myfaces-deployer/2.2.1/car
> > org.apache.geronimo.configs/myfaces/2.2.1/car
> >
> > Unfortunately i get another exception from Geronimo when i try to deploy
> > the webapp:
> >
> > 2011-06-26 21:32:47,432 ERROR [web]] StandardWrapper.Throwable
> > java.lang.IllegalStateException: No Factories configured for this
> Application. This happens if the faces-initialization does not work at all -
> make sure that you properly include all configuration settings necessary for
> a basic faces application and that all the necessary libs are included. Also
> check the logging output of your web application and your container for any
> exceptions!
> > If you did that and find nothing, the mistake might be due to the fact
> that you use some special web-containers which do not support registering
> context-listeners via TLD files and a context listener is not setup in your
> web.xml.
> > A typical config looks like this;
> > <listener>
> >
> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
> > </listener>
> >
> >     at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:106)
> >     at javax.faces.webapp.FacesServlet.init(FacesServlet.java:132)
> >     at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1065)
> >     at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:967)
> >     at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4343)
> >     at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4649)
> >
> > I dont know how to deal with that issue now...
> > Maybe the problem results from the way i deploy the webapp to Geronimo?
> >
> > I use Eclipse 3.6.2 and the Geronimo 2.2.1 server adapter for deploying
> the
> > webapp. The webapp is a Maven based project which i imported to Eclipse
> > and then i set the facet Dynamic web module to the project.
> >
> > If i look at the directory
> $WORKSPACE/.plugins/org.apache.geronimo.st.v21.core then i find
> > a war file but there are no libs in the folder WEB-INF/lib...
> >
> > Are they not deployed to Geronimo? Does Geronimo get the projects
> classpath
> > then i deploy the webapp to it?
> >
> > Or am i wrong and i have another issue with Geronimo and JSF 2?
> >
> > thanks in advance
> >
> > Joysn
>
>

Mime
View raw message