Minh Hoang TO created GTNPORTAL-2418:
----------------------------------------
Summary: Add a try/catch block to PortalRequestHandler
Key: GTNPORTAL-2418
URL:
https://issues.jboss.org/browse/GTNPORTAL-2418
Project: GateIn Portal
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Reporter: Minh Hoang TO
Assignee: Minh Hoang TO
In PortalRequestHandler class the block
{code:java}
Safe.close(context.getWriter());
{code}
should become
{code:java}
try
{
Safe.close(context.getWriter());
}
catch(IllegalStateException ex)
{
Safe.close(context.getResponse().getOutputStream());
}
{code}
In application server such as GlassFish 3.1.2, calling sendRedirect on HttpServletResponse
object would invoke the getWriter on the object and that results in IllegalStateException
on GateIn side
http://java.net/projects/glassfish/sources/svn/content/tags/3.1.2/web/web...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira