-
Bug
-
Resolution: Done
-
Minor
-
JWS 3.1.0 DR3
-
None
-
Documentation (Ref Guide, User Guide, etc.), Release Notes
-
-
-
-
-
-
Not Yet Documented
Output format of manager JMX Query differs for JWS-3.1.0 from JWS-3.0.3 and older.
Request:
/manager/jmxproxy?qry=*%3Atype=UserDatabase%2c*
JWS-3.0.3 result (see not quoted rolenames):
... OK - Number of results: 1 Name: Users:type=UserDatabase,database=UserDatabase modelerType: org.apache.catalina.mbeans.MemoryUserDatabaseMBean users: Array[java.lang.String] of length 3 Users:type=User,username="both",database=UserDatabase Users:type=User,username="tomcat",database=UserDatabase Users:type=User,username="role1",database=UserDatabase roles: Array[java.lang.String] of length 7 Users:type=Role,rolename=manager-status,database=UserDatabase Users:type=Role,rolename=manager-jmx,database=UserDatabase Users:type=Role,rolename=tomcat,database=UserDatabase Users:type=Role,rolename=manager-script,database=UserDatabase Users:type=Role,rolename=admin-gui,database=UserDatabase Users:type=Role,rolename=manager-gui,database=UserDatabase Users:type=Role,rolename=role1,database=UserDatabase writeable: true pathname: conf/tomcat-users.xml readonly: true groups: Array[java.lang.String] of length 0 ...
JWS-3.1.0-DR3 - see quoted rolenames:
OK - Number of results: 1 Name: Users:type=UserDatabase,database=UserDatabase modelerType: org.apache.catalina.mbeans.MemoryUserDatabaseMBean users: Array[java.lang.String] of length 3 Users:type=User,username="both",database=UserDatabase Users:type=User,username="tomcat",database=UserDatabase Users:type=User,username="role1",database=UserDatabase roles: Array[java.lang.String] of length 7 Users:type=Role,rolename="manager-status",database=UserDatabase Users:type=Role,rolename="manager-jmx",database=UserDatabase Users:type=Role,rolename="tomcat",database=UserDatabase Users:type=Role,rolename="manager-script",database=UserDatabase Users:type=Role,rolename="admin-gui",database=UserDatabase Users:type=Role,rolename="manager-gui",database=UserDatabase Users:type=Role,rolename="role1",database=UserDatabase writeable: true pathname: conf/tomcat-users.xml readonly: true groups: Array[java.lang.String] of length 0
Slight difference, but a code can depend of the strict format.