Prevent Glassfish from loosing messages