How To Output Garbage Collection (GC) To Individual Logs When Using Multiple JVMs (Doc ID 743281.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Containers for J2EE - Version 10.1.3.0.0 to 10.1.3.5.0 [Release AS10gR3]
Information in this document applies to any platform.
***Checked for relevance on 31-Oct-2016***


Goal

You have setup an OC4J  instance to use several JVMs. You may have been previously using the option  -Xloggc:/path/logfile  to gather GC ( Garbage Collection) statistics, and the problem now is that all GC information from both JVMs is written to the same file, with no way of distinguishing which is which.




Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms