Speeding up glassfish on Windows
Okay okay, WHY? would one want to run Glassfish on Windows????
Well sometimes we have to, I do a lot of building applications that need to run on existing servers because the customer doesn’t want to buy a new server. However given the choice I would always run Glassfish on Solaris on a Sun box (one of the small ones is fine).
So being tied down to a Windows server there are two things I do to make the server run faster that are basic but useful to know.
1. Control Panel, System, Performance, Give Priority to Background Applications
2. Make sure the Glassfish server is set up as a SERVICE (otherwise if you are remote desktoping in to start the server when you quit the session your server will stop).
3. Set the application server to PRECOMPILE JSPs, check out the Application Server tab in the Glassfish admin console.
That should put the wind up your server quite nicely.