22.7 Optional: Disabling Domain Agent

Domain Agent, which runs on the Administration Server and all Managed Servers in the Oracle Identity Management domain, automatically detects the existence of a Webgate in the request flow. You do not need to disable the Domain Agent. However, if you want to disable the out-of-the-box Domain Agent, you can complete the following steps:

  1. From your present working directory, move to the <MW_HOME>/user_projects/domains/<name_of_your_WebLogic_domain> directory (On UNIX). On Windows, move to the <MW_HOME>\user_projects\domains\<name_of_your_WebLogic_domain> directory.

  2. To disable the Domain Agent running on the Administration Server, start the WebLogic Administration Server on the command line as follows:

    On UNIX:

    ./startWebLogic.sh -DWLSAGENT_DISABLED=true

    On Windows:

    startWebLogic.cmd -DWLSAGENT_DISABLED=true

  3. From your present working directory, move to the <MW_HOME>/user_projects/domains/<name_of_your_WebLogic_domain>/bin directory (On UNIX). On Windows, move to the <MW_HOME>\user_projects\domains\<name_of_your_WebLogic_domain</bin directory.

  4. To disable the Domain Agent running on Managed Servers in the domain, start the Managed Servers on the command line as follows:

    On UNIX:

    ./startManagedWebLogic.sh <name_of_your_Managed_Server> -DWLSAGENT_DISABLED=true

    On Windows:

    startManagedWebLogic.cmd <name_of_your_Managed_Server> -DWLSAGENT_DISABLED=true