tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Bucanek <subscri...@gloaming.com>
Subject Parser Errors on startup
Date Sat, 17 Apr 2004 23:40:35 GMT
Tomcat 4.1.xx/Mac OS X Server (BSD)

I'm getting the following errors when I startup Tomcat, and I can't for the life of me figure
out what to do about it:

Starting service Tomcat-Standalone
Apache Tomcat/4.1.29-LE-jdk14
Apr 17, 2004 4:20:24 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Apr 17, 2004 4:20:24 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Apr 17, 2004 4:20:24 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
Apr 17, 2004 4:20:30 PM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 2 column -1: Element type "web-app" is not declared.
org.xml.sax.SAXParseException: Element type "web-app" is not declared.
        at org.apache.crimson.parser.Parser2.error(Parser2.java:3317)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1469)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:634)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:333)
        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
...
Apr 17, 2004 4:20:30 PM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 3 column -1: Element type "display-name" is not declared.
org.xml.sax.SAXParseException: Element type "display-name" is not declared.
        at org.apache.crimson.parser.Parser2.error(Parser2.java:3317)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1469)
...
Apr 17, 2004 4:20:30 PM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 4 column -1: Element type "description" is not declared.
org.xml.sax.SAXParseException: Element type "description" is not declared.
        at org.apache.crimson.parser.Parser2.error(Parser2.java:3317)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1469)
...
Apr 17, 2004 4:20:30 PM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 7 column -1: Element type "context-param" is not declared.
org.xml.sax.SAXParseException: Element type "context-param" is not declared.
        at org.apache.crimson.parser.Parser2.error(Parser2.java:3317)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1469)
 
... and about 18 more.

This appears to have started after I added one additional <Host> declaration to my server.xml
file.  But there are no XML syntax errors in the file (I've parsed it with other tools), and
the <Host> appears to be working.  So why theres errors, and why do they start on line
2?

______________________________________________________
James Bucanek       <mailto:privatereply@gloaming.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message