myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Weßendorf (JIRA) <...@myfaces.apache.org>
Subject [jira] Commented: (TRINIDAD-1174) Trinidad 1.0.9 fails to run on Tomcat 5.5.26
Date Tue, 12 Aug 2008 08:42:44 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621733#action_12621733
] 

Matthias Weßendorf commented on TRINIDAD-1174:
----------------------------------------------

temporary fix was already committed. We now use on the JSF 1.1 version of Trinidad an "old"
(not outdated) plugin => 1.2.6 (instead of 1.2.7).

> Trinidad 1.0.9 fails to run on Tomcat 5.5.26
> --------------------------------------------
>
>                 Key: TRINIDAD-1174
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1174
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 1.0.9-core
>         Environment: Fedora Core 8, JDK 1.5.0_11 & Tomcat 5.5.26
>            Reporter: Jon Bullock
>            Assignee: Matthias Weßendorf
>            Priority: Critical
>
> 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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message