1 Reply Latest reply on Jun 12, 2008 6:29 PM by Steve Austin

    RichFaces 3.2.1 TLD Migration error: TLD conform to standard

    Burt Prior Newbie

      Hi Richfaces team,

      I need a bit of help here.

      I'm attempting to migrate from richfaces 3.1 to the latest 3.2.1. (I simply overwrote the 3 richfaces jars.


      During deployment, I get a huge amount of errors, with a tail listed below:

      ...
      var
      <deferred-value>
      java.lang.String
      </deferred-value>


      Virtual earth version, Default value is "6".
      version
      <deferred-value>
      java.lang.String
      </deferred-value>


      Initial zoom level as a number between 1 and 18. Default value is "17".
      zoom
      <deferred-value>
      java.lang.String
      </deferred-value>





      at org.apache.geronimo.deployment.xmlbeans.XmlBeansUtil.validateDD(XmlBeansUtil.java:187)
      at org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.convertToTaglibSchema(JspModuleBuilderExtension.java:674)
      at org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.parseTldFile(JspModuleBuilderExtension.java:439)
      at org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.getListenerClasses(JspModuleBuilderExtension.java:424)
      at org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.createJspClassFinder(JspModuleBuilderExtension.java:180)
      at org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.addGBeans(JspModuleBuilderExtension.java:149)
      at org.apache.geronimo.jetty6.deployment.JettyModuleBuilder.addGBeans(JettyModuleBuilder.java:518)
      at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:165)
      at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:647)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
      at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
      at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
      at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
      at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
      at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
      at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
      at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(Unknown Source)
      at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(Unknown Source)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
      at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Source)
      at javax.management.remote.rmi.RMIConnectionImpl.access$100(Unknown Source)
      at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown Source)
      at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown Source)
      at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
      at sun.rmi.transport.Transport$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Unknown Source)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Jun 10, 2008 1:34:29 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/geronimo-jetty6-javaee5-2.1/repository/default/ElvisUIWar/1.0/ElvisUIWar-1.0.car/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
      Jun 10, 2008 1:34:29 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/geronimo-jetty6-javaee5-2.1/repository/default/ElvisUIWar/1.0/ElvisUIWar-1.0.car/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
      Jun 10, 2008 1:34:30 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/geronimo-jetty6-javaee5-2.1/repository/default/ElvisUIWar/1.0/ElvisUIWar-1.0.car/WEB-INF/lib/richfaces-ui-3.2.1.GA.jar!/META-INF/rich.taglib.xml
      Jun 10, 2008 1:34:30 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/geronimo-jetty6-javaee5-2.1/repository/default/ElvisUIWar/1.0/ElvisUIWar-1.0.car/WEB-INF/lib/richfaces-ui-3.2.1.GA.jar!/META-INF/a4j.taglib.xml
      Jun 10, 2008 1:34:30 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/geronimo-jetty6-javaee5-2.1/repository/default/ElvisUIWar/1.0/ElvisUIWar-1.0.car/WEB-INF/lib/richfaces-ui-3.2.1.GA.jar!/META-INF/ajax4jsf.taglib.xml
      Jun 10, 2008 1:34:30 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/geronimo-jetty6-javaee5-2.1/repository/default/ElvisUIWar/1.0/ElvisUIWar-1.0.car/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
      Jun 10, 2008 1:34:30 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/geronimo-jetty6-javaee5-2.1/repository/default/ElvisUIWar/1.0/ElvisUIWar-1.0.car/WEB-INF/lib/richfaces-ui-3.2.1.GA.jar!/META-INF/jsp.taglib.xml
      Jun 10, 2008 1:34:30 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/geronimo-jetty6-javaee5-2.1/repository/default/ElvisUIWar/1.0/ElvisUIWar-1.0.car/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
      Jun 10, 2008 1:34:30 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/geronimo-jetty6-javaee5-2.1/repository/default/ElvisUIWar/1.0/ElvisUIWar-1.0.car/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
      Jun 10, 2008 1:34:30 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/geronimo-jetty6-javaee5-2.1/repository/default/ElvisUIWar/1.0/ElvisUIWar-1.0.car/WEB-INF/lib/richfaces-ui-3.2.1.GA.jar!/META-INF/richfaces.taglib.xml
      ...

      The error appears to display the entire xml (which is considerable) then the error.

      After the huge error display (which must be the entire taglib xml) the application appears to run normally, and the latest 3.2.1 components are available.

      When I swap out the 3.2.1 jars with the 3.1 jars, no errors occur.

      Question:

      Specifically, the 'function' elements must appear after the 'tag' elements according to the schema file but in the included .tld file the 'function' elements appear first.


      Could I ask for your help in understanding what's going on, and a possible way to resolve it?


      I'm using:

      Geronimo 2.1
      Facelets/JSF/RichFaces

      Thanks for your help and time.
      .Burt