My Oracle Support Banner

Server.log File Removal May Cause A Hang If Log File Rotation is On In GlassFish Server 3.1 (Doc ID 1339977.1)

Last updated on AUGUST 08, 2023

Applies to:

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


A running Oracle GlassFish Server 3.1 process stops responding after it's server.log file is removed.
Using the Java jstack on the GlassFish process to trace the issue, the process is hung in logging code:



This symptom can happen only if the GlassFish server.log file is removed while GlassFish Server 3.1 is in started up and there is a thread writing extensively to the server.log file.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.