dev@javaserverfaces.java.net

1.2_05 RC5 (and further) com.sun.faces.config.ConfigurationException in Tomcat 5.5

From: Alex Stepovenko <astepovenko_at_saga.cv.ua>
Date: Fri, 05 Oct 2007 10:07:19 +0300

Hi,

As soon as I switched to 1.2_05 RC5, I started getting the following
exception when deploying the web application which uses faces RI. I then
tried the nightly builds, with the same result. Here's the tomcat log:

INFO: Initializing Sun's JavaServer Faces implementation
(1.2_05-20071003-NIGHTLY) for context 'Investit Server'
ERROR [/server] - Exception sending context initialized event to
listener instance of class com.sun.faces.config.ConfigureListener
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!Unable
to parse document 'file:/C:/develop/Java/Tomcat
-5.5.25/work/Catalina/localhost/server/loader/com/sun/faces/jsf-ri-runtime.xml':
This parser does not support specificat
ion "null" version "null"
        at
com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212)
        at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:174)
        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
        at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
        at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
        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.catalina.startup.Bootstrap.start(Bootstrap.java:295)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: com.sun.faces.config.ConfigurationException: Unable to parse
document 'file:/C:/develop/Java/Tomcat-5.5.25/wo
rk/Catalina/localhost/server/loader/com/sun/faces/jsf-ri-runtime.xml':
This parser does not support specification "null"
 version "null"
        at
com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:409)
        at
com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:353)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)

Am I the only one that gets this kind of exception?