How to redirect verbose garbage collection of a bwengine process output to a file on AIX.

How to redirect verbose garbage collection of a bwengine process output to a file on AIX.

book

Article ID: KB0090823

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Description
========
How to redirect verbose garbage collection of a bwengine process output to a file on AIX.

Environment:
========
AIX

Description:
========
On Windows, the following property can be added to the  application tra file:

============
java.extended.properties=-verbose:gc -Xloggc:<TIBCO_HOME>/tra/domain/<DOMAINNAME>/application/<APP>/gc.log
============

However, this does not work on AIX. Verbose gc will be displayed on the console instead of being written to gc.log.

Resolution:
========
On AIX, use the option -Xverbosegclog instead of -Xloggc as follows:

===========
java.extended.properties=-verbose:gc -Xverbosegclog:/support/bw/tibco/tra/domain/domainName/APP/APPname/message.txt
===========

Issue/Introduction

How to redirect verbose garbage collection of a bwengine process output to a file on AIX.