myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer" <awi...@gmail.com>
Subject Re: [Trinidad] faces-config.xml error: Document is invalid: no grammar found.
Date Thu, 02 Aug 2007 21:55:22 GMT
On 8/2/07, Jan Linders <jan.linders@home.nl> wrote:
> I have the same issue with the DOCROOT error.
> Allthough the JSF Kickstart sample App is working.
>
> I think it has (in my case) somehow todo with the faces-config.xml file
> within the trinidad-impl-1.2.1.jar file.
> In META-INF there is a faces-config.xml.
>
> First part of the file :
>
> <?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">
>
> I think there is an error in the schemaLocation URL : '
> http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd '
>
> I tried fixing this by changing it too URL : '
> http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd '

No, the schemaLocation is correct.  See:
http://www.w3.org/TR/xmlschema-0/#schemaLocation
... for a description of the schemaLocation attribute.  It's
not just 1 URL, it's N *pairs* of URLs associating namespaces
with schemas.

-- Adam


>
> but the same error is coming allthough now at a different position. Still
> line 2 but column 204 instead of 238.
>
> So the error seems to be in this file, however don't know enough of this to
> pinpoint the root cause.
>
> Perhaps Matthias can shed some light :-)
>
>
>
>
>
> -----Original Message-----
> From: mwessendorf@gmail.com [mailto:mwessendorf@gmail.com]On Behalf Of
> Matthias Wessendorf
> Sent: Thursday, August 02, 2007 6:28 PM
> To: MyFaces Discussion
> Subject: Re: [Trinidad] faces-config.xml error: Document is invalid: no
> grammar found.
>
>
> java.lang.NoClassDefFoundError:
> org/apache/myfaces/trinidad/context/ExternalContextDecorator
>
> do you have the trinidad-API in place ?
>
>
>
> On 8/2/07, Jessica Johnson <jessica@internetmi.com> wrote:
> > The manifest in the my-faces jar file is giving the version as
> > Implementation-Version: 1.1.1 (20051230).
> >
> > I'm not behind a firewall, I'm attempting to deploy locally.  The only
> > changes I have made are the addition of the 2 trinidad jars to Tomcat
> > 5.5/common/lib/.  I originally made the changes to web.xml and
> > faces-config.xml that are given here:
> > http://myfaces.apache.org/trinidad/installation.html within
> > the application that I am trying to deploy   But I removed those changes
> in
> > an attempt to isolate the problem. So it seems that Tomcat is unable to
> > start whenever those jars are in the lib directory.
> >
> > Below is the message log Tomcat is giving on startup.
> >
> > Anyone have an idea whats going on here?
> >
> >  jessica
> >
> > Using CATALINA_BASE:   C:\Program Files\Apache Software Foundation\Tomcat
> > 5.5
> > Using CATALINA_HOME:   C:\Program Files\Apache Software Foundation\Tomcat
> > 5.5
> > Using CATALINA_TMPDIR: C:\Program Files\Apache Software Foundation\Tomcat
> > 5.5\temp
> > Using JAVA_HOME:       C:\Program Files\Java\jrockit-jdk1.5.0_06
> > Listening for transport dt_shmem at address: tomcat_shared_memory_id
> > Aug 2, 2007 10:09:13 AM
> > org.apache.catalina.core.AprLifecycleListener
> > lifecycleEvent
> > INFO: The Apache Tomcat Native library which allows optimal performance in
> > production environments was not found on the java.library.path: C:\Program
> >
> Files\Java\jrockit-jdk1.5.0_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDO
> WS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> > Files\QuickTime\QTSystem\;C:\Program Files\Microsoft SQL
> > Server\80\Tools\BINN;C:\Program Files\Microsoft SQL
> > Server\90\DTS\Binn\;C:\Sun\AppServer\bin
> > Aug 2, 2007 10:09:14 AM
> > org.apache.coyote.http11.Http11BaseProtocol init
> > INFO: Initializing Coyote HTTP/1.1 on http-80
> > Aug 2, 2007 10:09:14 AM
> > org.apache.catalina.startup.Catalina load
> > INFO: Initialization processed in 1766 ms
> > Aug 2, 2007 10:09:14 AM
> > org.apache.catalina.core.StandardService start
> > INFO: Starting service Catalina
> > Aug 2, 2007 10:09:14 AM
> > org.apache.catalina.core.StandardEngine start
> > INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
> > Aug 2, 2007 10:09:14 AM
> > org.apache.catalina.core.StandardHost start
> > INFO: XML validation disabled
> > Aug 2, 2007 10:09:16 AM
> > org.apache.myfaces.config.FacesConfigurator
> > feedStandardConfig
> > INFO: Reading standard config
> > org/apache/myfaces/resource/standard- faces-config.xml
> > Aug 2, 2007 10:09:17 AM
> > org.apache.myfaces.config.FacesConfigurator
> > feedClassloaderConfigurations
> > INFO: Reading config jar:file:/C:/Program Files/Apache Software
> > Foundation/Tomcat 5.5/common/lib/trinidad-
> > impl-1.2.1.jar!/META-INF/faces-config.xml
> > Aug 2, 2007 10:09:17 AM
> > org.apache.commons.digester.Digester error
> >
> > SEVERE: Parse Error at line 2 column 14: Document is invalid: no grammar
> > found.
> > org.xml.sax.SAXParseException : Document is invalid: no grammar found.
> >         at
> >
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseEx
> ception(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(XMLErro
> rReporter.java:382)
> >         at
> > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError
> > (XMLErrorReporter.java:316)
> >         at
> >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartEl
> ement(XMLNSDocumentScannerImpl.java:177)
> >         at
> >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDi
> spatcher.scanRootElementHook
> > (XMLNSDocumentScannerImpl.java:779)
> >         at
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$Fragm
> entContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1794)
> >         at
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanD
> ocument
> > (XMLDocumentFragmentScannerImpl.java:368)
> >         at
> >
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Con
> figuration.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:14
> 8)
> >         at
> >
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractS
> AXParser.java
> > :1242)
> >         at
> > org.apache.commons.digester.Digester.parse(Digester.java:1548)
> >         at
> >
> org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl.
> getFacesConfig(DigesterFacesConfigUnmarshallerImpl.java
> > :183)
> >         at
> >
> org.apache.myfaces.config.FacesConfigurator.feedClassloaderConfigurations(Fa
> cesConfigurator.java:233)
> >         at
> >
> org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java
> :118)
> >          at
> >
> org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupSer
> vletContextListener.java:63)
> >         at
> >
> org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(S
> tartupServletContextListener.java
> > :46)
> >         at
> >
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
> 3729)
> >         at
> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
> >         at
> > org.apache.catalina.core.ContainerBase.addChildInternal
> > (ContainerBase.java:759)
> >         at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
> >         at
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
> >         at
> > org.apache.catalina.startup.HostConfig.deployDescriptor
> > (HostConfig.java:608)
> >         at
> >
> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535
> )
> >         at
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
> > Aug 2, 2007 10:09:17 AM
> > org.apache.commons.digester.Digester error
> >
> > SEVERE: Parse Error at line 2 column 14: Document root element
> > "faces-config", must match DOCTYPE root "null".
> > org.xml.sax.SAXParseException: Document root element "faces-config", must
> > match DOCTYPE root "null".
> >         at
> >
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseEx
> ception(ErrorHandlerWrapper.java:236)
> >         at
> >
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandl
> erWrapper.java
> > :172)
> >         at
> >
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErro
> rReporter.java:382)
> >         at
> >
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErro
> rReporter.java:316)
> >         at
> >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartEl
> ement(XMLNSDocumentScannerImpl.java:183)
> >         at
> >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDi
> spatcher.scanRootElementHook
> > (XMLNSDocumentScannerImpl.java:779)
> >         at
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$Fragm
> entContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1794)
> >         at
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanD
> ocument
> > (XMLDocumentFragmentScannerImpl.java:368)
> >         at
> >
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Con
> figuration.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:14
> 8)
> >         at
> >
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractS
> AXParser.java
> > :1242)
> >         at
> > org.apache.commons.digester.Digester.parse(Digester.java:1548)
> >         at
> >
> org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl.
> getFacesConfig(DigesterFacesConfigUnmarshallerImpl.java
> > :183)
> >         at
> >
> org.apache.myfaces.config.FacesConfigurator.feedClassloaderConfigurations(Fa
> cesConfigurator.java:233)
> >         at
> >
> org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java
> :118)
> >          at
> >
> org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupSer
> vletContextListener.java:63)
> >         at
> >
> org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(S
> tartupServletContextListener.java
> > :46)
> >         at
> >
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
> 3729)
> >         at
> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
> >         at
> > org.apache.catalina.core.ContainerBase.addChildInternal
> > (ContainerBase.java:759)
> >         at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
> >         at
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
> >         at
> > org.apache.catalina.startup.HostConfig.deployDescriptor
> > (HostConfig.java:608)
> >         at
> >
> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535
> )
> >         at
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
> > Aug 2, 2007 10:09:17 AM
> > org.apache.myfaces.config.FacesConfigurator
> > feedClassloaderConfigurations
> > INFO: Reading config
> >
> jar:file:/C:/cygwin/home/Jessica/work/imi/reporting/working/reporting/trunk/
> build/web/WEB-INF/lib/myfaces-all.jar!/META-INF/faces-config.xml
> > Aug 2, 2007 10:09:17 AM
> > org.apache.myfaces.config.FacesConfigurator
> > feedContextSpecifiedConfig
> > INFO: Reading config /WEB-INF/faces-config.xml
> > Aug 2, 2007 10:09:17 AM
> > org.apache.myfaces.config.FacesConfigurator
> > feedWebAppConfig
> > INFO: Reading config /WEB-INF/faces-config.xml
> > Aug 2, 2007 10:09:17 AM
> > org.apache.catalina.core.StandardContext listenerStart
> > SEVERE: Exception sending context initialized event to listener instance
> of
> > class
> > org.apache.myfaces.webapp.StartupServletContextListener
> > java.lang.NoClassDefFoundError:
> > org/apache/myfaces/trinidadinternal/application/NavigationHandlerImpl
> > : javax/faces/application/NavigationHandler
> >         at
> >
> java.lang.ClassLoader.defineClass(Ljava.lang.String;[BIILjava.security.Prote
> ctionDomain
> > ;)Ljava.lang.Class;(Unknown Source)
> >         at
> > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> >         at
> > java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> >         at java.net.URLClassLoader.access$100
> > (URLClassLoader.java:56)
> >         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> >         at
> > java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> >         at java.lang.ClassLoader.loadClass(Ljava.lang.String
> > ;Z)Ljava.lang.Class;(Unknown Source)
> >         at
> >
> java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Unknow
> n
> > Source)
> >         at
> >
> java.lang.ClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(Unknown
> > Source)
> >         at
> >
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
> a:1339)
> >         at
> >
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
> a:1198)
> >         at java.lang.ClassLoader.loadClassFromNative
> > (Ljava.lang.String;)Ljava.lang.Class;(Unknown Source)
> >         at
> >
> java.lang.Class.forName(Ljava.lang.String;ZLjava.lang.ClassLoader;)Ljava.lan
> g.Class;(Unknown
> > Source)
> >         at org.apache.myfaces.util.ClassUtils.classForName
> > (ClassUtils.java:131)
> >         at
> > org.apache.myfaces.util.ClassUtils.simpleClassForName(ClassUtils.java:157)
> >         at
> >
> org.apache.myfaces.config.FacesConfigurator.getApplicationObject(FacesConfig
> urator.java:506)
> >          at
> >
> org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfig
> urator.java:433)
> >         at
> >
> org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java
> :130)
> >         at
> > org.apache.myfaces.webapp.StartupServletContextListener.initFaces
> > (StartupServletContextListener.java:63)
> >         at
> >
> org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(S
> tartupServletContextListener.java:46)
> >         at
> > org.apache.catalina.core.StandardContext.listenerStart
> > (StandardContext.java:3729)
> >         at
> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
> >         at
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
> 59)
> >         at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
> >         at
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
> >         at
> > org.apache.catalina.startup.HostConfig.deployDescriptor
> > (HostConfig.java:608)
> > Aug 2, 2007 10:09:17 AM
> > org.apache.catalina.core.StandardContext start
> > SEVERE: Error listenerStart
> > Aug 2, 2007 10:09:17 AM
> > org.apache.catalina.core.StandardContext start
> > SEVERE: Context [/reporting] startup failed due to previous errors
> > Aug 2, 2007 10:09:17 AM
> > org.apache.catalina.core.StandardContext listenerStop
> > SEVERE: Exception sending context destroyed event to listener instance of
> > class
> > org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl
> > java.lang.NoClassDefFoundError:
> > org/apache/myfaces/trinidad/context/ExternalContextDecorator
> > : javax/faces/context/ExternalContext
> >         at
> >
> java.lang.ClassLoader.defineClass(Ljava.lang.String;[BIILjava.security.Prote
> ctionDomain
> > ;)Ljava.lang.Class;(Unknown Source)
> >         at
> > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> >         at
> > java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> >         at java.net.URLClassLoader.access$100
> > (URLClassLoader.java:56)
> >         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> >         at
> > java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> >         at java.lang.ClassLoader.loadClass(Ljava.lang.String
> > ;Z)Ljava.lang.Class;(Unknown Source)
> >         at
> >
> java.lang.ClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(Unknown
> > Source)
> >         at
> >
> java.lang.ClassLoader.loadClassFromNative(Ljava.lang.String;)Ljava.lang.Clas
> s;(Unknown
> > Source)
> >         at
> >
> java.lang.ClassLoader.defineClass(Ljava.lang.String;[BIILjava.security.Prote
> ctionDomain;)Ljava.lang.Class;(Unknown
> > Source)
> >         at
> > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> >         at
> > java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> >         at
> > java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> >         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> >          at
> > java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> >         at
> >
> java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Unknow
> n
> > Source)
> >         at java.lang.ClassLoader.loadClass(Ljava.lang.String
> > ;)Ljava.lang.Class;(Unknown Source)
> >         at
> >
> java.lang.ClassLoader.loadClassFromNative(Ljava.lang.String;)Ljava.lang.Clas
> s;(Unknown
> > Source)
> >         at
> >
> org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl.contextDestr
> oyed
> > (TrinidadListenerImpl.java:39)
> >         at
> >
> org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3
> 770)
> >         at
> > org.apache.catalina.core.StandardContext.stop(StandardContext.java:4339)
> >         at
> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
> > - Unable to find config file.  Creating new servlet engine config file:
> > /WEB-INF/server-config.wsdd
> > Aug 2, 2007 10:09:20 AM
> > org.apache.catalina.core.ApplicationContext log
> > INFO: ContextListener: contextInitialized()
> > Aug 2, 2007 10:09:20 AM
> > org.apache.catalina.core.ApplicationContext log
> > INFO: SessionListener: contextInitialized()
> > Aug 2, 2007 10:09:21 AM
> > org.apache.catalina.core.ApplicationContext log
> > INFO: ContextListener: contextInitialized()
> > Aug 2, 2007 10:09:21 AM
> > org.apache.catalina.core.ApplicationContext log
> > INFO: SessionListener: contextInitialized()
> > Aug 2, 2007 10:09:21 AM
> > org.apache.coyote.http11.Http11BaseProtocol start
> > INFO: Starting Coyote HTTP/1.1 on http-80
> > Aug 2, 2007 10:09:21 AM org.apache.jk.common.ChannelSocket
> > init
> > INFO: JK: ajp13 listening on /0.0.0.0:8009
> > Aug 2, 2007 10:09:21 AM org.apache.jk.server.JkMain start
> > INFO: Jk running ID=0 time=0/79  config=null
> > Aug 2, 2007 10:09:21 AM
> > org.apache.catalina.storeconfig.StoreLoader load
> > INFO: Find registry server-registry.xml at classpath resource
> > Aug 2, 2007 10:09:21 AM
> > org.apache.catalina.startup.Catalina start
> > INFO: Server startup in 7828 ms
> > Aug 2, 2007 10:09:22 AM
> > org.apache.catalina.core.ApplicationContext log
> > INFO: Manager: init: Associated with Deployer
> > 'Catalina:type=Deployer,host=localhost'
> > Aug 2, 2007 10:09:22 AM
> > org.apache.catalina.core.ApplicationContext log
> > INFO: Manager: init: Global resources are available
> > Aug 2, 2007 10:09:22 AM
> > org.apache.catalina.core.ApplicationContext log
> > INFO: Manager: list: Listing contexts for virtual host 'localhost'
> > Aug 2, 2007 10:09:22 AM
> > org.apache.catalina.core.ApplicationContext log
> > INFO: Manager: list: Listing contexts for virtual host 'localhost'
> > Aug 2, 2007 10:09:22 AM
> > org.apache.catalina.core.ApplicationContext log
> > INFO: Manager: undeploy: Undeploying web application at '/reporting'
> > Aug 2, 2007 10:09:22 AM
> > org.apache.catalina.core.StandardContext stop
> > INFO: Container
> > org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/reporting]
> > has not been started
> > Aug 2, 2007 10:09:22 AM
> > org.apache.catalina.startup.HostConfig checkResources
> > INFO: Undeploying context [/reporting]
> >
> >
> >
> >
> >
> >
> > On 8/1/07, Adam Winer <awiner@gmail.com> wrote:
> > > What version of MyFaces Core are you using?  Also,
> > > are you behind a firewall?
> > >
> > > -- Adam
> > >
> > >
> > > On 8/1/07, Jessica Johnson <jessica@internetmi.com> wrote:
> > > > Hi all,
> > > >
> > > > I am trying to install Trinidad for the first time and am running into
> > > > problems whenever I try to add trinidad-impl-*.jar.  I have tried
> > > > both  trinidad-1.0.1 and  trinidad-1.2.1 with the same
> results...Tomcat
> > > > gives me an error when attempting to deploy my application.
> > > >
> > > > Does anyone have an idea of how I might fix this?  I'd appreciate
> anyone
> > who
> > > > can point me in the right direction here - a google search didn't turn
> > up
> > > > anything useful.
> > > >
> > > > Thanks,
> > > >
> > > > jessica
> > > >
> > > >  INFO: Reading standard config
> > > > org/apache/myfaces/resource/standard-faces-config.xml
> > > > Aug 1, 2007 5:55:38 PM
> > > > org.apache.myfaces.config.FacesConfigurator
> > > > feedClassloaderConfigurations
> > > > INFO: Reading config jar:file:/C:/Program Files/Apache Software
> > > > Foundation/Tomcat
> > > >
> > 5.5/common/lib/trinidad-impl-1.2.1.jar!/META-INF/faces-config.xml
> > > > Aug 1, 2007 5:55:38 PM
> > org.apache.commons.digester.Digester
> > > > error
> > > > SEVERE: Parse Error at line 2 column 14: Document is invalid: no
> grammar
> > > > found.
> > > >  org.xml.sax.SAXParseException: Document is invalid: no grammar found.
> > > >         at
> > > >
> >
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseEx
> ception
> > (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.XMLNSDocumentScannerImpl.scanStartEl
> ement
> > (XMLNSDocumentScannerImpl.java:177)
> > > >         at
> > > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDi
> spatcher.scanRootElementHook
> > > > (XMLNSDocumentScannerImpl.java:779)
> > > >         at
> > > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$Fragm
> entContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1794)
> > > >         at
> > > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanD
> ocument
> > > > (XMLDocumentFragmentScannerImpl.java:368)
> > > >         at
> > > >
> >
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Con
> figuration.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:14
> 8)
> > > >         at
> > > >
> > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
> > (AbstractSAXParser.java
> > > > :1242)
> > > >         at
> > > >
> > org.apache.commons.digester.Digester.parse(Digester.java:1548)
> > > >         at
> > > >
> >
> org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl.
> getFacesConfig
> > (DigesterFacesConfigUnmarshallerImpl.java
> > > > :183)
> > > >         at
> > > >
> >
> org.apache.myfaces.config.FacesConfigurator.feedClassloaderConfigurations(Fa
> cesConfigurator.java:233)
> > > >         at
> > > > org.apache.myfaces.config.FacesConfigurator.configure
> > (FacesConfigurator.java:118)
> > > >          at
> > > >
> >
> org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupSer
> vletContextListener.java:63)
> > > >         at
> > > >
> > org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized
> > (StartupServletContextListener.java
> > > > :46)
> > > >         at
> > > >
> >
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
> 3729)
> > > >         at
> > > > org.apache.catalina.core.StandardContext.start
> > (StandardContext.java:4187)
> > > >         at
> > > > org.apache.catalina.core.ContainerBase.addChildInternal
> > > > (ContainerBase.java:759)
> > > >         at
> > > >
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java
> > :739)
> > > >         at
> > > >
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
> > > >         at
> > > > org.apache.catalina.startup.HostConfig.deployDescriptor
> > > > (HostConfig.java:608)
> > > >         at
> > > >
> >
> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535
> )
> > > >         at
> > > >
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
> > > > Aug 1, 2007 5:55:38 PM
> > org.apache.commons.digester.Digester
> > > > error
> > > > SEVERE: Parse Error at line 2 column 14: Document root element
> > > > "faces-config", must match DOCTYPE root "null".
> > > > org.xml.sax.SAXParseException: Document root element "faces-config",
> > must
> > > > match DOCTYPE root "null".
> > > >         at
> > > >
> >
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseEx
> ception(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(XMLErro
> rReporter.java:382)
> > > >         at
> > > >
> > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError
> > (XMLErrorReporter.java:316)
> > > >         at
> > > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartEl
> ement(XMLNSDocumentScannerImpl.java:183)
> > > >         at
> > > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDi
> spatcher.scanRootElementHook
> > > > (XMLNSDocumentScannerImpl.java:779)
> > > >         at
> > > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$Fragm
> entContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1794)
> > > >         at
> > > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanD
> ocument
> > > > (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(AbstractS
> AXParser.java
> > > > :1242)
> > > >         at
> > > > org.apache.commons.digester.Digester.parse
> > (Digester.java:1548)
> > > >         at
> > > >
> >
> org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl.
> getFacesConfig(DigesterFacesConfigUnmarshallerImpl.java
> > > > :183)
> > > >         at
> > > >
> >
> org.apache.myfaces.config.FacesConfigurator.feedClassloaderConfigurations(Fa
> cesConfigurator.java:233)
> > > >         at
> > > >
> >
> org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java
> :118)
> > > >          at
> > > >
> >
> org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupSer
> vletContextListener.java:63)
> > > >         at
> > > >
> >
> org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(S
> tartupServletContextListener.java
> > > > :46)
> > > >         at
> > > >
> >
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
> 3729)
> > > >         at
> > > >
> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
> > > >         at
> > > > org.apache.catalina.core.ContainerBase.addChildInternal
> > > > (ContainerBase.java:759)
> > > >         at
> > > >
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
> > > >         at
> > > >
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
> > > >         at
> > > > org.apache.catalina.startup.HostConfig.deployDescriptor
> > > > (HostConfig.java:608)
> > > >         at
> > > >
> > org.apache.catalina.startup.HostConfig.deployDescriptors
> > (HostConfig.java:535)
> > > >         at
> > > >
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
> > > >
> > > >
> > >
> >
> >
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> mail: matzew-at-apache-dot-org
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.476 / Virus Database: 269.11.2/931 - Release Date: 8/1/2007
> 4:53 PM
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.476 / Virus Database: 269.11.2/931 - Release Date: 8/1/2007
> 4:53 PM
>
>
>

Mime
View raw message