Contents

Tuning Tips for Specific Types of EJB Components

42

JDBC and Database Access

46

Tuning Message-Driven Beans

47

3 Tuning the Enterprise Server

49

Deployment Settings

49

Disable Auto-deployment

50

Use Pre-compiled JavaServer Pages

50

Disable Dynamic Application Reloading

50

Logger Settings

50

General Settings

51

Log Levels

51

Web Container Settings

51

Session Properties: Session Timeout

51

Manager Properties: Reap Interval

52

Disable Dynamic JSP Reloading

52

EJB Container Settings

53

Monitoring the EJB Container

53

Tuning the EJB Container

53

Java Message Service Settings

58

Transaction Service Settings

58

Monitoring the Transaction Service

58

Tuning the Transaction Service

59

HTTP Service Settings

60

Monitoring the HTTP Service

60

Connection Queue

64

Tuning the HTTP Service

64

Tuning HTTP Listener Settings

69

ORB Settings

70

Overview

70

How a Client Connects to the ORB

70

Monitoring the ORB

70

Tuning the ORB

71

Thread Pool Sizing

74

Examining IIOP Messages

74

4

Sun GlassFish Enterprise Server 2.1 Performance Tuning Guide • January 2009

Page 4
Image 4
Sun Microsystems 820434310 manual Tuning the Enterprise Server