changes for GlassFish 4