+

Search Tips   |   Advanced Search


Remove the virtualizer from BEA WebLogic Server

collect profiling data not supported by the data collection infrastructure, remove the virtualizer from the server.

To remove the virtualizer from WebLogic Server, perform these tasks:

  1. Change to the appropriate directory.

    • If you instrumented the startup script of the server, change directories to the location of the startup script.

    • If you used the -nodeManaged option to instrument the server, change directories to the location of the config.xml file.

    Typically, the startup script and the config.xml file are located under the same directory

  2. Back up the startup script or config.xml file.

  3. Open the startup script or the config.xml file for editing.

  4. Search for the string beginning with -Xrunvirt.

  5. Edit the string to reflect the type of profiling data you want to collect.

    • To run the TPTP piAgent, remove the agent=jvmpi portion of the configuration string, and replace the virt portion of the string with piAgent and the remaining part of the string.

      For example, if the string is:

      -Xrunvirt:agent=jvmpi:C:\PROGRA~1\IBM\DCI\rpa_prod\TIVOLI~1\app\instrument\61\appServers\server1_100\config\jiti.properties,agent=piAgent:server=enabled

      replace it with:

      -XrunpiAgent:server=enabled

    • To run the Tivoli jiti instrumenter (in other words, the performance and problem analysis tools), remove the agent=piAgent portion of the string, and replace the virt portion of the string with jvmpi and the remaning part of the string.

      For example, if the string is:

      -Xrunvirt:agent=jvmpi:C:\PROGRA~1\IBM\DCI\rpa_prod\TIVOLI~1\app\instrument\61\appServers\server1_100\config\jiti.properties,agent=piAgent:server=enabled

      replace it with:

      -Xrunjvmpi:C:\PROGRA~1\IBM\DCI\rpa_prod\TIVOLI~1\app\instrument\61\appServers\server1_100\config\jiti.properties

  6. Save the startup script or config.xml file, and then restart the server.


What to do next

You can now collect other types of profiling data.

To use the performance and problem analysis tools to collect Java EE Performance Analysis or Memory Analysis data again, restore the backed up copy of the startup script or config.xml file. You must also restore the backed up copy of the startup script or config.xml file before removing instrumentation from the server.