To enable P6 EPPM to publish target metrics, you must first set the JVM for P6 to allow remote JMX connections. To set the JVM:
Launch the WebLogic Administration Console.
Note: You can open the Administration Console via a web browser using this address: http://serverIP:listenport/console. The default listenport is 7001.
In the Welcome window, log in using the user name and password you created when you created your WebLogic domain.
In the Change Center pane of the Administration Console, click Lock & Edit.
In the Domain Structure pane:
Expand Environment.
Click Servers.
In the Summary of Servers pane, in the Control tab, click the link for the P6 managed server name.
In the Settings for <managed server name> pane, select the Server Start tab.
Locate the Arguments field and add the following to the end of the arguments already in that field (as all one line with a space before the dash):
For Sun Java JDK:
- Dcom.sun.management.jmxremote -
Dcom.sun.management.jmxremote.port=portnumber -
Dcom.sun.management.jmxremote.ssl=false -
Dcom.sun.management.jmxremote.authenticate=false
where portnumber is the JMX/RMI port through which P6 will publish the metrics (for example, port 9999).
Click Save.
In the Change Center pane, click Activate Changes.
Restart your managed server:
In the Domain Structure pane:
Expand Environment.
Click Servers.
In the Summary of Servers pane:
Select the Control tab.
Select the option for your managed server.
Click Shutdown.
Click the down arrow to the right of the Shutdown button.
Click When work completes or Force Shutdown Now.
In the Server Life Cycle Assistant pane, click Yes.
Select the option for your managed server.
Click Start.
In the Server Life Cycle Assistant pane, click Yes.
In the Summary of Servers pane, click the 'Start Refresh' icon in the middle of the pane to see when the State column says 'RUNNING.'