]
Lukas Fryc commented on RF-10271:
---------------------------------
I have committed temporary workaround to allow tests pass on CI.
Metamer can't start on Tomcat6 without validation-api and impl on
classpath
---------------------------------------------------------------------------
Key: RF-10271
URL:
https://issues.jboss.org/browse/RF-10271
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.0.0.Milestone5
Environment: RichFaces 4.0.0-SNAPSHOT r.21137
Metamer 4.0.0-SNAPSHOT r.21133
Mojarra 2.0.3-FCS
Apache Tomcat 6.0.29
OpenJDK Runtime Environment 1.6.0_20-b20 @ Linux
Reporter: Lukas Fryc
Assignee: Alexander Smirnov
Priority: Critical
Fix For: 4.0.0.CR1
INFO: Starting service Catalina
Jan 21, 2011 1:09:35 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
Jan 21, 2011 1:09:36 PM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Mojarra 2.0.3 (FCS b03) for context '/metamer'
Jan 21, 2011 1:09:38 PM com.sun.faces.config.ConfigManager initialize
INFO: Unsanitized stacktrace from failed start...
javax.faces.FacesException: Class for component not found
at
org.richfaces.javascript.ClientServiceConfigParser.parse(ClientServiceConfigParser.java:71)
at
org.richfaces.javascript.ClientServiceConfigParser.parseConfig(ClientServiceConfigParser.java:45)
at
org.richfaces.application.ValidatorModule.createClientScriptService(ValidatorModule.java:71)
at org.richfaces.application.ValidatorModule.configure(ValidatorModule.java:65)
at org.richfaces.application.ServicesFactoryImpl.init(ServicesFactoryImpl.java:28)
at
org.richfaces.application.InitializationListener.createFactory(InitializationListener.java:136)
at
org.richfaces.application.InitializationListener.onStart(InitializationListener.java:110)
at
org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:152)
at javax.faces.event.SystemEvent.processListener(SystemEvent.java:102)
at
com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2040)
at
com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2016)
at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:298)
at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:598)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:341)
at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:220)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.ClassNotFoundException: javax.validation.constraints.NotNull
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
at
org.richfaces.javascript.ClientServiceConfigParser.parse(ClientServiceConfigParser.java:58)
... 29 more
Jan 21, 2011 1:09:38 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class
com.sun.faces.config.ConfigureListener
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
javax.validation.constraints.NotNull
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:351)
at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:220)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.ClassNotFoundException: javax.validation.constraints.NotNull
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
at
org.richfaces.javascript.ClientServiceConfigParser.parse(ClientServiceConfigParser.java:58)
at
org.richfaces.javascript.ClientServiceConfigParser.parseConfig(ClientServiceConfigParser.java:45)
at
org.richfaces.application.ValidatorModule.createClientScriptService(ValidatorModule.java:71)
at org.richfaces.application.ValidatorModule.configure(ValidatorModule.java:65)
at org.richfaces.application.ServicesFactoryImpl.init(ServicesFactoryImpl.java:28)
at
org.richfaces.application.InitializationListener.createFactory(InitializationListener.java:136)
at
org.richfaces.application.InitializationListener.onStart(InitializationListener.java:110)
at
org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:152)
at javax.faces.event.SystemEvent.processListener(SystemEvent.java:102)
at
com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2040)
at
com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2016)
at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:298)
at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:598)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:341)
... 16 more
Jan 21, 2011 1:09:38 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jan 21, 2011 1:09:38 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/metamer] startup failed due to previous errors
Jan 21, 2011 1:09:39 PM com.sun.faces.config.ConfigureListener contextDestroyed
SEVERE: Unexpected exception when attempting to tear down the Mojarra runtime
java.lang.IllegalStateException: Application was not properly initialized at startup,
could not find Factory: javax.faces.application.ApplicationFactory
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:800)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:302)
at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:104)
at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:312)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4174)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4778)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4675)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Jan 21, 2011 1:09:39 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/metamer] created a ThreadLocal with key of type [null]
(value [com.sun.faces.util.Util$1@27059a9a]) and a value of type [java.util.HashMap]
(value [{com.sun.faces.patternCache={ = }}]) but failed to remove it when the web
application was stopped. This is very likely to create a memory leak.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: