Lifecycle Management Work Request Fails With Message "Missing External Plug-in"

You need to have the Java Management Service plugin enabled on your managed instance to perform Java Runtime lifecycle management operations. Follow these steps to enable the plugin in the managed instance.

  1. You have set up the lifecycle management related policies described in Setting Up Oracle Cloud Infrastructure for Fleets.
  2. To enable Java Runtime Lifecycle management operations on your compute instance:
    1. For Linux: Sudoers are necessary only for on-prem installations. Edit the /etc/sudoers file and add the following to the end of the file:
      #To change ownership of the Java Management Service plugin to root mgmt_agent ALL=(ALL) NOPASSWD:/opt/oracle/mgmt_agent/agent_inst/bin/ 
      #To run the Java Management Service plugin under root user mgmt_agent ALL=(root) NOPASSWD: ALL
    2. Deploy the service plug-in named Java Management Service, as described in Deploy a Plug-in Using the Agents Page.