project_key: JBEPP see GTNPORTAL-2332
Link: Added: This issue depends GTNPORTAL-2332
When a portlet serveResource() call throws an exception, the portal ignores the exception and the portal page acts as if nothing happened. A possible workaround is for the portlet, or Portlet Bridge, to catch the exception and call the following to set the HTTP response code for the Browser: this.resp.setProperty(ResourceResponse.HTTP_STATUS_CODE, Integer.toString(status)); The original problem relating to Session timeout triggers this scenario because a JSF portlet throws a ViewExpiredException on Session timeout. It's worth noting that this error doesn't occur on Session timeout when the user is not authenticated. The general integration issues of the portal and portlets around exceptions and proper handling is intended to be addressed by Julien for GateIn 4.0, which would mean changes to EPP 6.