简体   繁体   English

IBM Websphere Portal服务器8.5模拟

[英]IBM Websphere Portal server 8.5 Impersonation

Getting below error in the logs after successful impersonation. 成功模拟后,日志中的错误将降至以下水平。

[12/21/16 15:27:03:732 IST] 0000015b ActionRespons E com.ibm.ws.portletcontainer.core.impl.ActionResponseImpl setRenderParameter EJPPC0161E: Cannot set RenderParameter after sendRedirect has been called
[12/21/16 15:27:03:732 IST] 0000015b SystemOut     O 2016-12-21 
[12/21/16 15:27:03:733 IST] 0000015b SystemOut     O 2016-12-21 15:27:03.732[WebContainer : 5][ERROR] com.portal.base.FacesPortlet - Can't invoke setRenderParameter() after sendRedirect() has been called
java.lang.IllegalStateException: Can't invoke setRenderParameter() after sendRedirect() has been called
    at com.ibm.ws.portletcontainer.core.impl.ActionResponseImpl.setRenderParameter(ActionResponseImpl.java:109)
    at com.ibm.faces.portlet.httpbridge.ActionResponseWrapper.setRenderParameter(ActionResponseWrapper.java:38)
    at com.ibm.faces.portlet.FacesPortlet.encodeObject(FacesPortlet.java:888)
    at com.ibm.faces.portlet.FacesPortlet.saveViewState(FacesPortlet.java:953)
    at com.ibm.faces.portlet.FacesPortlet.saveViewState(FacesPortlet.java:961)
    at com.ibm.faces.portlet.FacesPortlet.processAction(FacesPortlet.java:284)

Are you using the ibm impersonation portlet and is the full stack coming from there. 您是否正在使用ibm模拟Portlet,并且整个堆栈都来自那里? if so open a PMR with IBM otherwise that is a valid response, you cannot set parameters after issuing a send redirect because portal commits the response and you end up with that error 如果这样,请与IBM一起打开PMR,否则将是有效的响应,您将无法在发出发送重定向后设置参数,因为门户网站会提交响应并且您最终会收到该错误

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM