throw new ServletException("Unable to create profile manager", e);
throw new ServletException("Unable to create profile manager - please check that the " + "userprofile database is available", e);
    private void createProfileManager(ServletContext servletContext, ObjectStore os)        throws ServletException {        try {            Properties props = (Properties) servletContext.getAttribute(Constants.WEB_PROPERTIES);            String userProfileAlias = (String) props.get("webapp.userprofile.os.alias");            ObjectStoreWriter userProfileOS =                ObjectStoreWriterFactory.getObjectStoreWriter(userProfileAlias);            profileManager = new ProfileManager(os, userProfileOS);        } catch (ObjectStoreException e) {            throw new ServletException("Unable to create profile manager", e);        }        servletContext.setAttribute(Constants.PROFILE_MANAGER, profileManager);    }