Tuning Tips for Specic Types of EJB Components ............................................................... 42
JDBC and Database Access ......................................................................................................... 46
Tuning Message-Driven Beans .................................................................................................. 47
3 Tuningthe 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
Contents
SunGlassFishEnterpriseServer2.1PerformanceTuningGuide • January20094