📘

Attaching the OverOps Agent to a JVM Running Java 10 or 11

When attaching an OverOps Agent to a JVM that is running Java 10 or 11 or any IBM java versions, follow these guidelines:

  1. Turn off Class Sharing: This can be done using the following flags:
    for IBM Java
    ‑Xshareclasses:none
    for HotSpot
    -Xshare:off -XX:-UseTypeSpeculation

  2. Increase ReservedCodeCache to at least 512mb by adding the following flag
    -XX:ReservedCodeCacheSize=512m

  3. The Agent should appear last in the VM arguments list before specifying the main class or jar.

  4. When adding/removing 3rd party packages, the Agent should be restarted.

Additionally, if you wish to upgrade your own compiler to target Java 10/11, then you'll have to upgrade your Collector (SaaS) or Collector + backend (On-Premises) to support it.

❗️

Rootless Agent Installation Method (Linux only)

When Using the Rootless Agent Installation Method replace the
-agentlib:TakipiAgent JVM startup Argument
with
-agentpath:<TAKIPI_HOME>/lib/libTakipiAgent.so JVM startup Argument

The OverOps Agent runs on the JVM. You can launch the JVM with OverOps, using various launchers. When launching the JVM with Eclipse, follow the instructions of the relevant debug configuration:

Java/Scala Application

To launch the JVM using Java Application:

  1. From Eclipse, open Debug Configuration.
  2. From the Arguments tab, in the VM arguments box, add -agentlib:TakipiAgent or respectively -agentpath:<TAKIPI_HOME>/lib/libTakipiAgent.so
618
  1. Click Apply.
  2. Start the application you want OverOps to monitor.
  3. Test your Installation

Tomcat-Eclipse Plugin

Tomcat-Eclipse Plugin

Glassfish-Eclipse Plugin

To launch the JVM using Glassfish:

  1. From Eclipse, open Debug Configurations.
  2. Select Glassfish Application Server --> .
  3. From the Arguments tab, in the VM arguments box, add -agentlib:TakipiAgent or respectively -agentpath:<TAKIPI_HOME>/lib/libTakipiAgent.so
1132
  1. Click Apply.
  2. Restart Glassfish.
  3. Test your Installation

JBoss-Eclipse Plugin

To launch the JVM using JBoss:

  1. From Eclipse, open the Servers window.
  2. Double-click the Wildfly (JBoss) server and then click Open launch configuration.
749
  1. From the Arguments tab, in the VM arguments box, add -agentlib:TakipiAgent or respectively -agentpath:<TAKIPI_HOME>/lib/libTakipiAgent.so
1084
  1. Click OK.
  2. Restart JBoss.
  3. Test your Installation