To configure management rules in the Admin Console:
In the developer profile, go to Configuration -> Management Rules
In the cluster and enterprise profiles, go to Configurations -> Configuration -> Management Rules
On this page, check All Rules Enabled to enable management rules globally. If management rules are not enabled globally, none of the management rules are executed.
In addition, to enable a individual management rule, you must enable the rule on this page by clicking the box next to the rule and clicking Enable.
A rule's MBeans must also be enabled on a target. To enable MBeans, go to Custom MBeans -> MBean. On the Edit Custom MBean page, click the Target tab to access the Custom MBean Targets page, where you can enable the MBeans on some or all of the targets.
For details, see the online help.
To create management rules from the command line, use the create-management-rule command. To set properties of the management rules, use the get and set commands. To list and delete management rules, use list-management-rules and delete-management-rule. For more information, see the online help for these commands, or Sun Java System Application Server 9.1 Reference Manual.