The Java Management Extension (JMX) interface allows you to access SkyVault through a standard JMX console that supports JMX Remoting (JSR-160). This lets you:
- Manage SkyVault subsystems
- Change log levels
- Enable or disable file servers (FTP/CIFS)
- Set server read-only mode
- Set server single-user mode
- Set server maximum user limit, including ability to prevent further logins
- Count user sessions/tickets
- User session/ticket invalidation
Example consoles include:
- JConsole (supplied with Java SE 5.0 and higher)
- MC4J
- JManage
Some of these consoles also provide basic graphs and/or alerts for monitoring JMX-managed attributes.
- Type 1: Properties specified directly in XML files
- For
example:
<bean id="wcm_deployment_receiver" class="org.alfresco.repo.management.subsystems.ChildApplicationContextFactory" <parent="abstractPropertyBackedBean"> <property name="autoStart"> <value>true</value> </property> </bean>
The value for the property autoStart is set to true directly in the wcm-bootstrap-context.xml file.
- Type 2: Properties set by variables in XML files
- For
example:
<bean id="userInstallationURI" class="org.alfresco.util.OpenOfficeURI"> <constructor-arg> <value>${ooo.user}</value> </constructor-arg> </bean>
The value for the property constructor-arg is replaced with a variable ${ooo.user}.
When SkyVault starts up, type 1 properties are read from the XML file; type 2 properties get their values read from all the various property files. Then, the database is checked to see if there are any property values set there, and if any property has been changed, this value is used instead.
Some of the type 2 properties can be viewed and changed by the JMX console, some cannot. For example. ooo.exe can be viewed and changed using the JMX client; index.recovery.mode cannot be viewed or changed using the JMX client.
In a new SkyVault installation, none of these properties are stored in the database. If you set a property using the JMX interface, SkyVault stores the value of the property in the database. If you never use JMX to set the value of a property, you can continue using the SkyVault-global.properties file to set the value of the property. Once you change the property setting using JMX, and it is therefore stored in the database, you cannot use the properties files to change the value of that property.