// have to store the status messages in the portlet session
// because the buffer size for render parameters is sometimes not big enough
actionRequest.getPortletSession().setAttribute(FULL_STATUS_PARM, fullStatusMessage);
actionRequest.getPortletSession().setAttribute(ABBR_STATUS_PARM, abbrStatusMessage);
} finally {
mgr.release();
if (fis!=null) fis.close();
if(moduleFile != null && moduleFile.exists()) {
if(!moduleFile.delete()) {
log.debug("Unable to delete temporary file "+moduleFile);
moduleFile.deleteOnExit();