R
Rogelio
I have Tomcat 3.2.3 with IIS5.0 on a w2k box. Fresh install.
When I start up the Tomcat startup script I get the following error
immediately. I am a newbie to Tomcat and I haven't made any changes to
web.xml so I do not know why this is erroring out. It's not liking the
web.xml for some reason. There is no output in tomcat.log
Any ideas?
Thank you for your help.
Roger
*********************
Starting tomcat. Check logs/tomcat.log for error messages
2004-04-09 09:39:11 - ContextManager: Adding context Ctx( /examples )
2004-04-09 09:39:11 - ContextManager: Adding context Ctx( /admin )
2004-04-09 09:39:11 - ContextManager: Adding context Ctx( )
2004-04-09 09:39:11 - ContextManager: Adding context Ctx( /test )
ERROR reading D:\Tomcat\webapps\ROOT\WEB-INF\web.xml
At The content of elements must consist of well-formed character data
or markup.
ERROR reading D:\Tomcat\webapps\ROOT\WEB-INF\web.xml
org.xml.sax.SAXParseException: The content of elements must consist of
well-form
ed character data or markup.
at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1067
)
at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XM
LDocumentScanner.java:626)
at org.apache.xerces.framework.XMLDocumentScanner.abortMarkup(XMLDocumen
tScanner.java:680)
at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp
atch(XMLDocumentScanner.java:1250)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
canner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:952)
at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:350)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:293)
at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:214)
at org.apache.tomcat.context.WebXmlReader.processWebXmlFile(WebXmlReader
..java:202)
at org.apache.tomcat.context.WebXmlReader.contextInit(WebXmlReader.java:
109)
at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java
:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:240)
2004-04-09 09:39:17 - PoolTcpConnector: Starting HttpConnectionHandler
on 8080
2004-04-09 09:39:18 - PoolTcpConnector: Starting
Ajp12ConnectionHandler on 8007
When I start up the Tomcat startup script I get the following error
immediately. I am a newbie to Tomcat and I haven't made any changes to
web.xml so I do not know why this is erroring out. It's not liking the
web.xml for some reason. There is no output in tomcat.log
Any ideas?
Thank you for your help.
Roger
*********************
Starting tomcat. Check logs/tomcat.log for error messages
2004-04-09 09:39:11 - ContextManager: Adding context Ctx( /examples )
2004-04-09 09:39:11 - ContextManager: Adding context Ctx( /admin )
2004-04-09 09:39:11 - ContextManager: Adding context Ctx( )
2004-04-09 09:39:11 - ContextManager: Adding context Ctx( /test )
ERROR reading D:\Tomcat\webapps\ROOT\WEB-INF\web.xml
At The content of elements must consist of well-formed character data
or markup.
ERROR reading D:\Tomcat\webapps\ROOT\WEB-INF\web.xml
org.xml.sax.SAXParseException: The content of elements must consist of
well-form
ed character data or markup.
at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1067
)
at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XM
LDocumentScanner.java:626)
at org.apache.xerces.framework.XMLDocumentScanner.abortMarkup(XMLDocumen
tScanner.java:680)
at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp
atch(XMLDocumentScanner.java:1250)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
canner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:952)
at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:350)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:293)
at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:214)
at org.apache.tomcat.context.WebXmlReader.processWebXmlFile(WebXmlReader
..java:202)
at org.apache.tomcat.context.WebXmlReader.contextInit(WebXmlReader.java:
109)
at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java
:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:240)
2004-04-09 09:39:17 - PoolTcpConnector: Starting HttpConnectionHandler
on 8080
2004-04-09 09:39:18 - PoolTcpConnector: Starting
Ajp12ConnectionHandler on 8007