7.7 Creating JMX policies for database initialization

You must create JMX policies to ensure that the database for core LiveCycle components initializes correctly.

Complete the following procedures.

7.7.1 Delegating MBean authorization to the realm

Before creating JMX policies, ensure that the security realm is set up to control access to MBeans. For more information, refer to the WebLogic Administration Console documentation.

  1. In the WebLogic Administration Console, click Domain Structure > Security Realms.

  2. Click myrealm from the Realms list on the Summary of Security Realms page.

  3. On the Configuration > General page, ensure that Use Authorization Providers to Protect JMX Access is selected. If this option is not selected, perform the following steps:

    • Click Lock & Edit in the Change Center.

    • Select Use Authorization Providers to Protect JMX Access.

    • Click Save.

    • In the Change Center, click Activate Changes.

    • Restart the admin server and the managed server.

7.7.2 Create JMX policies

  1. In the WebLogic Administration Console, click Domain Structure > Security Realms.

  2. On the Summary of Security Realms page, click the name of the realm for which you want to modify JMX policies.

  3. On the Settings page, click the Roles and Policies tab and then click the Realm Policies sub tab.

  4. In the Name column of the Policies table, click JMX Policy Editor.

  5. On the JMX Policy Editor page, ensure that the GLOBAL SCOPE option is selected. Click Next.

  6. Ensure that the ALL MBEANS TYPES option is selected on the next page. Click Next.

  7. Select the Attributes: Permission to Write option and click Create Policy.

  8. On the Edit JMX Policies page, click Add Conditions.

  9. Select Role from the Predicate List drop-down menu and click Next.

  10. In the Role Argument Name box, enter Anonymous and click Add.

    Note: The Anonymous role is a default WebLogic role for all runtime process users (for example, users required for bootstrapping an application).
  11. Click Finish.

  12. On the Edit JMX Policies page, click Save.

  13. Repeat steps 1 to 6.

  14. On the JMX Policy Editor - Attributes and Operations page, select the Unregister instances of this MBean using MBean server option and click Create Policy.

  15. Repeat steps 8 to 12.

// Ethnio survey code removed