added debug mode for j2ee container