JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Sun GlassFish Enterprise Server v2.1.1 Release Notes

Document Information

1.  Overview

2.  About Sun GlassFish Enterprise Server

What's New in Sun GlassFish Enterprise Server v2.1.1

Sun GlassFish Enterprise Server Features

Hardware and Software Requirements

Supported Platforms

System Virtualization Support

Important Patch Information

Solaris Patch Requirements

JDK Version

To Switch to the Supported Java SE Version

Apache Ant Version

JDBC Drivers and Databases

Using the Bundled Java DB Database

Starting and Stopping the Java DB Database

Java DB Utility Scripts

Message Queue Versions

Web Servers for the Load Balancing Plugin

Browsers

HADB Requirements and Supported Platforms

Supported Platforms

HADB Server Host Requirements

HADB Management Host Requirements

HADB Client Host Requirements

Upgrading the Enterprise Server

Required Free Ports

Other Requirements

Java EE 5 Platform APIs

Java EE 5 SDK

Switching to Another Supported Java Version

To Switch to Another Supported Java Version

Known Java ES 5 Compatibility Issues

Oracle Access Manager Integration

Web Stack Support

Front-ending Enterprise Server with Apache httpd and mod_jk

Features Not Supported on All Operating Systems

Features Not Supported on the AIX Operating System

Features Not Supported on the Linux Operating System

Features Not Supported on the Ubuntu Operating System

Sun GlassFish Enterprise Manger

Using the Update Center

To Use the Update Center

Upgrading the Enterprise Server on the Ubuntu Operating System

Enabling Multilevel Relationship Prefetching

Setting the Interval for Rotating a Node Agent's Log File

To Set the Interval for Rotating a Node Agent's Log File

More About WSIT Integration

3.  Known Issues and Limitations

Setting the Interval for Rotating a Node Agent's Log File

By default, Enterprise Server rotates a node agent's log file when the size of file exceeds a specified limit. This limit is set by the value of the log-rotation-limit-in-bytes attribute of the node agent's log-service element.

When you set an interval for rotating a node agent's log file, Enterprise Server rotates the log file periodically, regardless of the file's size.

To prevent unnecessary rotations of the log file, Enterprise Server determines whether to rotate the log file as follows:

To Set the Interval for Rotating a Node Agent's Log File

  1. Ensure that the DAS for the domain that contains the node agent is running.
  2. Set the log-rotation-timelimit-in-minutes attribute of the node agent's log-service element to the interval in minutes that you require.
    asadmin> set domain.node-agent.node-agent-name.log-service.log-rotation-timelimit-in-minutes=interval
    node-agent-name

    The name of the node agent for which you are setting the interval for rotating the log file.

    interval

    A positive integer that specifies the required interval in minutes.


    Note - If interval is 0, Enterprise Server rotates the node agent's log file on the basis of the file's size, not periodically.


  3. Restart the DAS for the domain that contains the node agent.

Example 2-1 Setting the Interval for Rotating a Node Agent's Log File

This example sets the interval for rotating the log file of the node agent n1 to one hour.

asadmin> set domain.node-agent.n1.log-service.log-rotation-timelimit-in-minutes=60
domain.node-agent.n1.log-service.log-rotation-timelimit-in-minutes = 60