Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-1177

CLONE -Trinidad 1.0.9 fails to run on Tomcat 5.5.26

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.2.7-plugins
    • 1.2.8-plugins
    • Plugins
    • None
    • Fedora Core 8, JDK 1.5.0_11 & Tomcat 5.5.26

    Description

      Deployed the examples web app for Trinidad 1.0.9 on a clean install of Tomcat 5.5.26. The following error is logged while Tomcat starts up, when the Trinidad faces-config.xml inside trinidad-impl-1.0.9.jar is parsed. Same error is logged when Trinidad 1.0.9 is added to one of our web apps.

      INFO: Reading config
      jar:file:/apps/apache-tomcat-5.5.26/webapps/trinidad-demo-1.0.9/WEB-INF/lib/trinidad-impl-1.0.9.jar!/META-INF/faces-config.xml
      Aug 11, 2008 12:46:30 PM org.apache.commons.digester.Digester error
      SEVERE: Parse Error at line 69 column 30: Element type "literal-only"
      must be declared.
      org.xml.sax.SAXParseException: Element type "literal-only" must be
      declared.
      at
      com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
      at
      com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
      at
      com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
      at
      com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
      at
      com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDValidator.java:1960)
      at
      com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:795)
      at
      com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:330)
      at
      com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
      $FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
      at
      com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
      at
      com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
      at
      com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
      at
      com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
      at
      com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
      at org.apache.commons.digester.Digester.parse(Digester.java:1572)
      at
      org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl.getFacesConfig(DigesterFacesConfigUnmarshallerImpl.java:186)
      at
      org.apache.myfaces.config.FacesConfigurator.feedClassloaderConfigurations(FacesConfigurator.java:380)
      at
      org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:131)
      at
      org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:68)
      at
      org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:51)
      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.deployWAR(HostConfig.java:831)
      at
      org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:720)
      at
      org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
      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:585)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

      Attachments

        Issue Links

          Activity

            People

              arobinson74 Andrew Robinson
              arobinson74 Andrew Robinson
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: