When Do the Files in the tx Directory in GlassFish Server Get Cleared? (Doc ID 1605237.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle GlassFish Server - Version 3.1.2 to 3.1.2 [Release 3.1]
Information in this document applies to any platform.

Goal

In GlassFish Server, there is a directory named logs/tx under each instance directory. This directory holds a bunch of files which are the transaction logs files when XA transaction is used and and the transaction logs set are of type file (and not database). This directory for example may contain the following

This article will provide some information the following :-

o When do transaction files get automatically cleaned up?
o How to remove them from the tx directory?
o Normally, how many tx files in the directry when GlassFish Server is shutdown?
 

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