Making a Domain Read-Only

In a production environment, you may wish to ensure that no one can edit the domain configuration by making run-time changes. You can set the appropriate attributes of the JMXMBean to disable the WebLogic editing service. The EditMBeanServerEnabled attribute of the JMXMBean controls whether JMX clients can access the runtime MBeans as well as read-only configuration MBeans when connecting to a server's Domain Runtime MBean Server. Here's how to use this attribute to disable configuration editing of the Examples Server domain:

1. Make sure the Admin Server is running.

2. Open a command prompt, and set the environment with the following command:

 C:\MyOra\Middleware\wlserver_10.3\samples\domains\wl_server\bin>setDomainEnv.cmd ...

Get Oracle WebLogic Server 11g Administration Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.