为什么websphere5.1上的jsp页面访问的时候经常会出现java.lang.IllegalStateException: xx response bytes written, but Content-Length

wdydt163 2005-03-18 03:59:04
我有一个在websphere5.1上的应用,经常当机,在看日志的时候发现了大量的异常信息,类似下面的信信息:
[05-3-17 13:26:36:649 CST] cb1594 TraceNLS u No message text associated with key HttpConnection.run:.java.lang.IllegalStateException:.32768.response.bytes.written,.but.Content-Length.header.equals.66186 in bundle com.ibm.ejs.resources.seriousMessages
[05-3-17 13:26:36:649 CST] cb1594 HttpConnectio E HttpConnection.run: java.lang.IllegalStateException: 32768 response bytes written, but Content-Length header equals 66186
[05-3-17 13:26:36:658 CST] cb1594 SystemOut O java.lang.IllegalStateException: 32768 response bytes written, but Content-Length header equals 66186
[05-3-17 13:26:36:659 CST] cb1594 SystemOut O at com.ibm.ws.http.HttpResponse.finish(HttpResponse.java:103)
[05-3-17 13:26:36:659 CST] cb1594 SystemOut O at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:684)
[05-3-17 13:26:36:660 CST] cb1594 SystemOut O at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
[05-3-17 13:26:36:660 CST] cb1594 SystemOut O at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:912)
[05-3-17 13:26:39:426 CST] e7fa43 TraceNLS u No message text associated with key HttpConnection.run:.java.lang.IllegalStateException:.32768.response.bytes.written,.but.Content-Length.header.equals.66186 in bundle com.ibm.ejs.resources.seriousMessages
[05-3-17 13:26:39:425 CST] e7fa43 HttpConnectio E HttpConnection.run: java.lang.IllegalStateException: 32768 response bytes written, but Content-Length header equals 66186
[05-3-17 13:26:39:437 CST] e7fa43 SystemOut O java.lang.IllegalStateException: 32768 response bytes written, but Content-Length header equals 66186
[05-3-17 13:26:39:437 CST] e7fa43 SystemOut O at com.ibm.ws.http.HttpResponse.finish(HttpResponse.java:103)
[05-3-17 13:26:39:438 CST] e7fa43 SystemOut O at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:684)
[05-3-17 13:26:39:438 CST] e7fa43 SystemOut O at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
[05-3-17 13:26:39:438 CST] e7fa43 SystemOut O at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:912)

在ibm的网站上找了半天的资料,也没有找到,请问大家遇到过类似的情况吗?谢谢。
...全文
264 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
txranger 2005-04-27
  • 打赏
  • 举报
回复
Not sure if you have fixed the problem. If not, you might want to trace into your code to see if there is any place where you've already sent the response back but trying to send some more.
lydong 2005-03-21
  • 打赏
  • 举报
回复
查看Web 服务器插件配置文件plugin-cfg.xml ,是否有"Content"相关设置(Content-Length)
或查看用户应用中的web.xml中有无此类设置
手工配置,把它改为忽略Content项
wdydt163 2005-03-18
  • 打赏
  • 举报
回复
顶也行:)这个问题已经好久了,一直没有解决掉。还有没有高人可以指点一下:)
Iamcoolriver 2005-03-18
  • 打赏
  • 举报
回复
不会,顶

2,633

社区成员

发帖
与我相关
我的任务
社区描述
WebSphere 是 IBM 的软件平台。它包含了编写、运行和监视全天候的工业强度的随需应变 Web 应用程序和跨平台、跨产品解决方案所需要的整个中间件基础设施,如服务器、服务和工具。
社区管理员
  • WebSphere社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧