IBM Support

PM15475: OUT.FLUSH() STATEMENTS IN VIEW.JSP IN MANAGEPRINCIPALS.WAR CAUSES PAGE TO RENDER IMPROPERLY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • On a z/OS environment, when trying to create new users in the
    Portal Administration Manage Users and Groups portlet, instead
    of seeing the edit profile portlet to enter in the new user
    information, a page refresh is done.
    
    log showed:
       ExtendedMessage: Flush should not be called on this print
    
     writer.java.lang.Exception: Flush should not be called on this
    print
     wri
     ter.
      at
    com.ibm.wps.engine.HttpServletResponseWrapperOnWriter$ResponsePr
    int
    Writer.flush(HttpServletResponseWrapperOnWriter.java:107)
      at org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl
    .java:233)
      at com.ibm._jsp._view._jspService(_view.java:261)
      at
    com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
      at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper
    .service(ServletWrapper.java:1146)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper
    .handleRequest(ServletWrapper.java:592)
      at com.ibm.ws.wswebcontainer.servlet.ServletWrapper
    .handleRequest(ServletWrapper.java:524)
      at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper
    .handleRequest(GenericServletWrapper.java:122)
      at
    com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrappe
    r
    .handleRequest(AbstractJSPExtensionServletWrapper.java:232)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher
    .include(WebAppRequestDispatcher.java:639)
      at com.ibm.wps.pe.pc.legacy.impl.PortletContextImpl
    .includeDirect(PortletContextImpl.java:251)
      at com.ibm.wps.pe.pc.legacy.impl.PortletContextImpl
    .include(PortletContextImpl.java:203)
      at com.ibm.wps.portlets.manageprincipals.ManagePrincipals
    .doView(ManagePrincipals.java:607)
      at
    org.apache.jetspeed.portlet.PortletAdapter.service(PortletAdapte
    r
    .java:158)
      at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl
    ._dispatch(PortletDelegateImpl.java:347)
      at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl
    .access$200(PortletDelegateImpl.java:70)
      at
    com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl$Contex
    t
    .callPortlet(PortletDelegateImpl.java:550)
      at com.ibm.wps.pe.pc.legacy.services.PortletFilterServiceImpl
    .doFilter(PortletFilterServiceImpl
    

Local fix

  • Comment out all out.flush() statements in view.jsp in the
    manage principals portlet, and then delete the
    compiled .class file in the temp directory to force the page to
    recompile.
    

Problem summary

  • Update Manage Principals portlet JSP to remove unneeded flush.
    

Problem conclusion

  • Update Manage Principals portlet JSP to remove unneeded flush.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM15475

  • Reported component name

    WEBSPHERE PORTA

  • Reported component ID

    5724E7600

  • Reported release

    61A

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-05-28

  • Closed date

    2011-02-16

  • Last modified date

    2011-02-16

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBSPHERE PORTA

  • Fixed component ID

    5724E7600

Applicable component levels

  • R610 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1.0.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
16 February 2011