Environment Discovery
In order for a target to be monitored, it must first be discovered and promoted. Discovery is the process of making a target instance known to OEM. Once this has been done, the target needs to be promoted from an unmanaged to a managed state. This process requires some prerequisite steps.
Note:
Oracle recommends after upgrading the plugin, delete existing targets and re-discover.- All components of the environment should be up, namely, the web application, the web service and batch servers.
-
JMX should be configured on the target environment. To test this, use jconsole and connect to the JMX servers using the JMX URLs. You can search the WebLogic log for the Web and EJB JMX URLs. Examples:
service:jmx:rmi:///jndi/rmi://{host}:{ejbJmxPort}/oracle/ouaf/ejbAppConnector service:jmx:rmi:///jndi/rmi://{host}:{webJmxPort}/oracle/ouaf/webAppConnectorThe threadpoolworker logs would have the batch JMX URLs. For example,
service:jmx:rmi:///jndi/rmi://{host}:{batchJmxPort}/oracle/ouaf/batchConnectorIn FW 2.2, this would be
service:jmx:rmi:///jndi/rmi://{host}:{batchJmxPort}/spl/fw/jmxConnectorMake sure you can connect to the URLs and that the OEMTargetsBean is present, as illustrated in the following image:
Note:
Here, the host should be fully qualified domain name.
Expand the OEMTargetsBean, click Operations, then click the toXML button. A window should popup and return the XML of the targets that will be discovered. Do this for each JMX connection.

-
Target monitoring can be performed via JMX or REST API. You can prefer to use REST API option, if you have any firewall restrictions. Details, to enable "JMX over REST" feature, are available below.
-
Run configreEnv using FW menu options, choose option 57 and provide appropriate values for the displayed variables.
-
JMX_REST_SERVICE_FLAG: This flag in the Menu options is to enable the REST API. If this is false, then the communication happens using via JMX, the old way of the plugin communication.
-
JMX_REST_SERVICE_FLAG is true and JMX_HTTPSSL_FLAG false, the communication happens over the HTTP. JMX_REST_SERVICE_FLAG is true and JMX_HTTPSSL_FLAG true, the communication happens over the HTTPS.
-
More details are available in respective Utilities FW product documentation.
-
-
The WebLogic domain/Fusion middleware must be discovered. To do this, perform the following:
- The WebLogic admin server must be started. Verify that it is by logging into the WebLogic console.
-
Discover the WebLogic domain and Fusion middleware using guided discovery. On the grid console, go to . Select the following options on the page:

-
Click Add Using Guided Process, enter the entries for the WebLogic admin server, then continue until the WebLogic domain/Fusion middleware is discovered.
If WebLogic is configured with SSL, use the t3s protocol.

To discover OUAF target environments:





