This is an error in your xml file. Sometimes I get the error when I accidentally hit a key in the top of my file and put a character outside of my xml. Just go to the top of the file and start looking for characters outside of the tags. Hope that helps.Thanks for the tip Doug, I will try to do like this, and I guess I will eventually find out what's wrong.
Raymond
-----Message d'origine----- De : Parsons Technical Services [mailto:[EMAIL PROTECTED] Envoyé : mardi 4 mai 2004 09:19 À : Tomcat Users List Objet : Re: Strange message : [Fatal Error] :2:1: Content is not allowed in prolog.
Raymond,
I don't know the meaning, sorry. But:
If I were in your shoes I would replace the server.xml and web.xml with default. And I would do it one at a time. If it fixes it then add your changes a section at a time and continue until you find it.
Also a trick is to use a xml viewer like Internet Explorer to colorize the file and help you pick up on any format errors.
Doug www.parsonstechnical.com
----- Original Message ----- From: "STOCKHOLM, Raymond" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, May 04, 2004 3:03 AM
Subject: Strange message : [Fatal Error] :2:1: Content is not allowed in
prolog.
I am having this strange message when starting my tomcat : Apache Tomcat/4.1.30 [Fatal Error] :2:1: Content is not allowed in prolog.
Everything else works fine.
I read that it was related to a SAXParseException, and it seems to be related to tomcat itself, and not any of my webapps (I removed them and I still have the message).
I have been customizing server.xml, web.xml, but they seem OK.
Does anybody knows what it means.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Wade
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]