PORTAL_CONFIG_DIR can be set as a context parameter in web.xml