DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37186>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37186





------- Additional Comments From [EMAIL PROTECTED]  2005-10-20 22:02 -------
(In reply to comment #0)
> I accidentally added a blank line to the start of my conf/tomcat-users.xml 
> file (i.e., above the "<?xml" line).  This caused a long stacktrace to 
> logs\stdout[date].log on startup (see below), and failure of "standard" Realm 
> authentication.  This seems a very tiny error to cause a failure, and the 
> error message did not help to find it.

In an XML file, the XML declaration (<?xml ...), if present, has to start at the
beginning of the document and must *not* be preceded by newlines, whitespaces or
something else.
So, what you did was not "a very tiny error" but you destroyed the XML format of
the document. Therefore the XML parser borked and the error message you quoted
says so. I can't see any fault on tomcat's side here.

My proposal is to change this bug's status ro "resolved, invalid". I don't know
whether I'm allowed to do that. So I leave it to the developers to decide.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to