tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49436] New: Cannot use JMX to save changes to tomcat-users.xml
Date Mon, 14 Jun 2010 18:03:58 GMT

           Summary: Cannot use JMX to save changes to tomcat-users.xml
           Product: Tomcat 6
           Version: 6.0.26
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina

In version 6.0.26 org.apache.catalina.users.MemoryUserDatabase sets readonly =
true. In version 5.5.29 org.apache.catalina.users.MemoryUserDatabase sets
readonly = false. This means that the save method will default to logging an
error message rather than saving the user database file.

    public void save()
        throws Exception

The message that is displayed in 6.0.26 is:
memoryUserDatabase.readOnly=User database has been configured to be read only.
Changes cannot be saved

I cannot find any documentation or a JMX management bean to set readonly =
Hence the save method I was using in Tomcat 5.0.28 and tomcat 5.5.29 no longer

David Tugby

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message