Follow the steps below to run the repository using a JMX client such as JConsole.
- Login to JConsole.
- Using the MBean tab, go to JMX MBeans > Alfresco > Configuration > sysAdmin > Attributes.
- Set the value of the server.allowWrite=false attribute to read-only.
- Click Refresh.