File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Apache Tomcat 5.5 under Debian Etch - Fatal Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache Tomcat 5.5 under Debian Etch - Fatal Error" Watch "Apache Tomcat 5.5 under Debian Etch - Fatal Error" New topic
Author

Apache Tomcat 5.5 under Debian Etch - Fatal Error

Pablo Arga�aras
Greenhorn

Joined: Sep 23, 2008
Posts: 6
Please, can anybody help me to correct what my file catalina.2009-03-15.log says?:

org.apache.tomcat.util.digester.Digester fatalError
SEVERE: Parse Fatal Error at line 12 column 10: Element type "Valve" must be followed by either attribute specifications, ">" or "/>".
org.xml.sax.SAXParseException: Element type "Valve" must be followed by either attribute specifications, ">" or "/>".
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1545)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:565)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1190)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:292)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1305)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558)
at java.lang.Thread.run(Thread.java:595)
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8964
    
    9

Welcome to the JavaRanch.
It sounds like your configuration file is not correctly formed.


[How To Ask Questions On JavaRanch]
Pablo Arga�aras
Greenhorn

Joined: Sep 23, 2008
Posts: 6
Joe Ess wrote:Welcome to the JavaRanch.
It sounds like your configuration file is not correctly formed.


========================================================================================

Yes, I know, but I was searching in my configuration files and I couldn't find which is the wrong
configuration file, and where is it. Any help?. Thanks.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8964
    
    9

Well, the error mentions a "Valve" element and I believe the only file that has that element is server.xml.
Pablo Arga�aras
Greenhorn

Joined: Sep 23, 2008
Posts: 6
Thanks a lot! I could solve the problem. There was a line with Valve, which was wrong.

Joe Ess wrote:Well, the error mentions a "Valve" element and I believe the only file that has that element is server.xml.
 
Consider Paul's rocket mass heater.
 
subject: Apache Tomcat 5.5 under Debian Etch - Fatal Error