Sun GlassFish Communications Server 1.5 Release Notes

Solution 2

Increase the DB2 server configuration parameter APPLHEAPSZ. A good value is 4096.