JetspeedLogger jsLogger = JetspeedLoggerUtil.getSharedLogger(getClass());
jsLogger.info(STOP_MSG + contextName);
getServletContext().log(STOP_MSG + contextName);
try
{
pam.stopPortletApplication(contextName);
}
catch (Exception e)
{
jsLogger.error(STOP_FAILED_MSG + contextName, e);
getServletContext().log(STOP_FAILED_MSG + contextName, e);