A couple of Glassfish Gotchas!
Logs! I had a server pulling 5.2 million records and joining them together from a set of database servers. Ran fine for about 2 weeks then fell over. Could I get it to work? No, thats because Glassfish servers have their logs set to rotate at 200000 k or something strange, which means the server just simply ran out of disk space… it was a console based Solaris box so it didn’t TELL me what was wrong!
Connections to the Database Server – If you have a lot of users make sure your maximum connections are set high enough in the EJB, if not you’ll find it works fine with 5 users but slows down or even breaks if not!