users@glassfish.java.net

upgrading jsf in glassfish.

From: <glassfish_at_javadesktop.org>
Date: Tue, 08 Jul 2008 01:43:20 PDT

Hello everibody, and sorry for my bad english.

I just try to upgrade the JSF implementation used by glassfish to the last mojarra version

This is "official" instructions (https://javaserverfaces.dev.java.net/nonav/rlnotes/1.2_09/releasenotes.html):
    * download the 1.2_09 BETA1 binary bundle from the project page
    * backup your existing jsf-impl.jar found in GF_HOME/lib
    * copy the new jsf-api and jsf-impl JARs to GF_HOME/lib
    * edit your GF_HOME/domains/<domain-name>/config/domain.xml and add 'classpath-prefix="${com.sun.aas.installRoot}/lib/jsf-api.jar" to the java-config element
    * restart your server

So I did this, and when I start glassfish, I have the following error:

Initializing Mojarra (1.2_09-b01-BETA1) for context '/SIMPLE-war'
WebModule[/SIMPLE-war]PWC1275: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! This parser does not support specification "null" version "null"
        at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212)
        at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4523)
...
...
...


Any ideas?
I imagine there is maybe something to do with JAXP, but I don't know what, and I don't find enough information on the web. It is certainly not so hard to upgrade JSF...

Thanks in advance.
[Message sent by forum member 'rageice' (rageice)]

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