while i try to start tomcat 4.0 startup.bat file it give this exception... Starting service Tomcat-Standalone Apache Tomcat/4.0.1 PARSE error at line 1 column 9 org.xml.sax.SAXParseException: The XML declaration may only appear at the very beginning of the document. Starting service Tomcat-Apache Apache Tomcat/4.0.1 can any one tell me why it display this msg???
A = HARDWORK B = LUCK/FATE If C=(A+B) then C=SUCCESSFUL IN LIFE else C=FAILURE IN LIFE
SCJP 1.4
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12268
1
posted
0
The XML declaration may only appear at the very beginning of the document.
That means exactly what it says. You have an XML file - either server.xml or web.xml - that has been modified so that the very first character in the file is NOT the < of <?xml - when the parser later runs into <?xml its an error. Probably a blank line got inserted at the very top of your web.xml during editing. Bill