websphere 7 管理控制台中的 cookie 接受测试在哪里?

发布于 2024-12-13 10:00:54 字数 546 浏览 2 评论 0原文

我在 SystemOut 日志中收到以下错误:

[11/11/4 2:53:13:876 ZZZ] 00000245 srt W com.ibm.ws.webcontainer.srt.SRTServletResponse setStatus 警告: 无法设置状态。响应已提交。

[11/11/4 2:53:13:876 ZZZ] 00000245 srt W com.ibm.ws.webcontainer.srt.SRTServletResponse addHeader 警告: 无法设置标题。响应已提交。

一些搜索让我来到这里: http://www-01.ibm .com/support/docview.wss?uid=swg21316420

这里讨论的解决方案说我们应该禁用“Cookie 接受测试”。但我无法找出管理控制台中该复选框的确切位置。

I am getting the following errors in SystemOut logs:

[11/4/11 2:53:13:876 ZZZ] 00000245 srt W
com.ibm.ws.webcontainer.srt.SRTServletResponse setStatus WARNING:
Cannot set status. Response already committed.

[11/4/11 2:53:13:876 ZZZ] 00000245 srt W
com.ibm.ws.webcontainer.srt.SRTServletResponse addHeader WARNING:
Cannot set header. Response already committed.

A bit of searching got me here: http://www-01.ibm.com/support/docview.wss?uid=swg21316420

The solution talked about here says that we should disable "Cookie Acceptance test". But i am not able to find out where exactly is that checkbox in admin console.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

琉璃梦幻 2024-12-20 10:00:54

您引用的技术说明适用于特定应用程序(WebSphere Commerce)。如果您在自己的应用程序中收到这些警告,则该技术说明不适用。这些警告的含义是,您有一个 JSP 或 servlet 在将太多输出写入响应后调用 setStatus 或 addHeader。您需要确定发生这种情况的位置,然后修复代码或增加输出缓冲区大小。

The technote you are referring to is for a specific application (WebSphere Commerce). If you are getting these warnings with your own application, then the technote doesn't apply. What these warnings mean is that you have a JSP or servlet that calls setStatus or addHeader after too much output has already been written to the response. You need to determine where this happens and either fix your code or increase the output buffer size.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文