users@glassfish.java.net

ConfigurationException

From: <glassfish_at_javadesktop.org>
Date: Mon, 17 Mar 2008 23:31:20 PST

Tomorrow i restart GlassFish (9.1_01 (build b09d-fcs) and i got an ConfigurationException for one application.

[#|2008-03-18T06:00:18.038+0100|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;_RequestID=bb5073a4-8b98-424c-93dc-b01a9a29e167;|WebModule[]PWC1275: 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 'jndi:/PrimaFloraVS/WEB-INF/faces/enterprise.xml': cvc-enumeration-valid: Value '1.2' is not facet-valid with respect to enumeration '[1.1]'. It must be a value from the enumeration.
        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:4523)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:5184)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:326)
        at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
        at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
        at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
        at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:192)
        at com.sun.enterprise.web.VirtualServer.startChildren(VirtualServer.java:1672)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1231)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:955)
        at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
        at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
        at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
        at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:192)
        at com.sun.enterprise.web.EmbeddedWebContainer$WebEngine.startChildren(EmbeddedWebContainer.java:453)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1231)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:533)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:936)
        at com.sun.enterprise.web.WebContainer.start(WebContainer.java:873)
        at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:790)
        at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:84)
        at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:442)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:120)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:411)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
        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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
Caused by: com.sun.faces.config.ConfigurationException: Unable to parse document 'jndi:/PrimaFloraVS/WEB-INF/faces/enterprise.xml': cvc-enumeration-valid: Value '1.2' is not facet-valid with respect to enumeration '[1.1]'. It must be a value from the enumeration.
        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)


The current version of this application is running one week without any problem.
After that exception i deployed it new and everything is working ok as before.


Also the source "enterprise.xml" is used in several web application, which all start correct. The header of this JSF configuration file is:
<?xml version="1.0" encoding="UTF-8"?>
<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
              version="1.2">
[Message sent by forum member 'hammoud' (hammoud)]

http://forums.java.net/jive/thread.jspa?messageID=264536