remove usage of deprecated API
provide default value for servletContext.DATABASE_ATTRIBUTE, required for war usage