IBM Tivoli Composite Application Manager for Application Diagnostics, Version

Suppress verbose garbage collection output in data collectors with a Sun JDK

For Sun JDKs, the data collector configuration enables verbose garbage collection output using the -Xloggc generic JVM argument. By default, the -Xloggc causes the JVM to generate class loading and unloading events to the native standard output stream. The process might fill the log files and consume excessive disk space.

To suppress class loading and unloading events, add the -XX:-TraceClassUnloading -XX:-TraceClassLoading options to the JVM arguments of the application server. Perform the following procedure:

  1. Log into the WAS administrative console for the instance of the application server.

  2. Click Server > Application Servers and select the server_name.

  3. In the Configuration tab, navigate to Server Infrastructure > Java and Process Management > Process Definition > Additional Properties: Java Virtual Machine.

  4. In the Generic JVM arguments field, add the following string of text:
    -XX:-TraceClassUnloading -XX:-TraceClassLoading

  5. Click Apply.

  6. In the Messages dialog box, click Save.

  7. In the Save to Master Configuration dialog box:

    • If you are under a Network Deployment environment, be sure the check box Synchronize changes with Nodes is selected and then click Save.

    • If you are not under a Network Deployment environment, click Save.

  8. Restart the instance of the application server monitored by the data collector.

Parent topic:

Customization and advanced configuration for the data collector