Configuring JMX settings on the WebLogic managed server

Enable JMX on the WebLogic

  1. Open the startWebLogic.bat file in a text editor.

  2. Find the JAVA_OPTS line and add the following:

    -Dcom.sun.management.jmxremote 
    -Dcom.sun.management.jmxremote.port=8888-Dcom.sun.management.jmxremote.authenticate=false 
    -Dcom.sun.management.jmxremote.ssl=false
  3. Restart WebLogic.

Configure non-secure JMX connection requirements

In each of the plugin files (LiveCycle_Foundation-plugin.xml, LiveCycle_Process-plugin.xml, and LiveCycle_Services-plugin.xml) edit the following section. Change localhost to the IP address of the Agent computer. Change port number 8888 to the JMX port number specified in your startWebLogic.bat file.

<property name="PROC_QUERY" value="State.Name.eq=java,Args.*.ct=8888"/> 
<config> 
    <option name="jmx.url" description="JMX URL to MBeanServer" default="service:jmx:rmi:///jndi/rmi://localhost:8888/jmxrmi"/> 
    <option name="jmx.username" description="JMX username" optional="true" default=""/> 
    <option name="jmx.password" description="JMX password" optional="true" default="" type="secret"/> 
    <option name="process.query" description="PTQL for Java Process" default="State.Name.eq=java,Args.*.ct=8888"/> 
</config>

Configure secure JMX connection requirements

  1. Set up JMX for WebLogic. See Configuring WebLogic for Oracle Real-Time Decisions.

  2. Adjust the jmxjboss.password security setting. See How to Secure Password File on Microsoft Windows Systems.

  3. In the jmxremote.access file, delete anything after “controlRole readwrite” at the end of the file.

  4. In the LiveCycle_Foundation-plugin.xml file on the Agent computer, insert your JMX user name and JMX password. For example:

    <option name="jmx.username" description="JMX username" optional="true" default="monitorRole"/> 
    <option name="jmx.password" description="JMX password" optional="true" default="admin"/>
  5. In the LiveCycle_Process-plugin.xml file on the Agent computer, edit the settings in the PROC_QUERY section to match the setting in the LiveCycle_Foundation-plugin.xml file.

  6. In the LiveCycle_Services-plugin.xml file on the Agent computer, edit the settings in the PROC_QUERY section to match the setting in the LiveCycle_Foundation-plugin.xml file.

// Ethnio survey code removed