A project that runs fine in Glassfish v3.1, but is extremely slow in v4.1