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-21 03:26 -------
(In reply to comment #2)
> declaration having to begin at the first char in the file.  If you have a 
> moment to point me to a webpage that describes this, I would be grateful :)

http://www.w3.org/TR/2004/REC-xml-20040204/#sec-well-formed

> I made three separate suggestions in my original report.  You have responded 
> to point 2 (thank you), but please do not mark the whole 
> report "resolved,invalid" unless all 3 points are invalid.  I don't think 
> that 
> they are ;)

As you can see, I have not changed this bug's status. Since I'm not a tomcat
commiter - I simply proposed to do so. And I simply expressed my opinion (which
is in no way "official") as I do here:
You may have made three suggestions but you made only one bug report ;-). And
that one report is either valid or not. I don't think it is.
IMO you could file your 1st suggestion (report the name of the broken file) in
an enhancement request - or change this bug's status and description 
appropriately.

> PS regarding my point 3, I'm not sure whether the files are re-written by the 
> org.xml.sax classes or by TC classes.  If by org.xml.sax, then obviously 
> there 
> is nothing the TC team can do about it.  If not, I think this would be useful 
> to fix.

This is already fixed. Add the attribute readonly="true" to the Resource element
declaring the UserDatabase:
<Resource name="UserDatabase" auth="Container"
          type="org.apache.catalina.UserDatabase"
   description="User database that can be updated and saved"
       factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
      pathname="conf/tomcat-users.xml"
      readonly="true"/>
I haven't found this documented in the changelog (may be blind) but I seem to
remember that you need some tomcat version > 5.5.9. In 5.5.12 this definitely 
works.


-- 
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