Error From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:10.5.1 500 Internal Server Error 200分解决问题

gxhsnowflower 2008-07-19 12:23:13
原来在测试环境下weblogic9 和tomcat上运行系统都没有问题 可是在正式环境下用最新的weblogic9 mp3 下却出问题了,前台的错误是Error
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.1 500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.

后台日志:<Jul 19, 2008 9:53:02 AM GMT+08:00> <Error> <HTTP> <BEA-101083> <Connection failure.
java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '0' bytes instead of stated: '1880576' bytes.
at weblogic.servlet.internal.ServletOutputStreamImpl.ensureContentLength(ServletOutputStreamImpl.java:410)
at weblogic.servlet.internal.ServletResponseImpl.ensureContentLength(ServletResponseImpl.java:1293)
at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1335)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1375)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
Truncated. see log file for complete stacktrace

<Jul 19, 2008 9:53:02 AM GMT+08:00> <Error> <HTTP> <BEA-101104> <Servlet execution in servlet context "weblogic.servlet.internal.WebAppServletContext@7a8ba4 - appName: 'app', name: 'app',
context-path: '/app'" failed, java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '0' bytes instead of stated: '1880576' bytes..
java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '0' bytes instead of stated: '1880576' bytes.
at weblogic.servlet.internal.ServletOutputStreamImpl.ensureContentLength(ServletOutputStreamImpl.java:410)
at weblogic.servlet.internal.ServletResponseImpl.ensureContentLength(ServletResponseImpl.java:1293)
at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1335)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1375)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
Truncated. see log file for complete stacktrace


到底是什么问题,请大家帮帮忙,着急,能解决问题再追加100分
>
...全文
36891 22 打赏 收藏 转发到动态 举报
写回复
用AI写文章
22 条回复
切换为时间正序
请发表友善的回复…
发表回复
mayanran007 2012-02-20
  • 打赏
  • 举报
回复
[Quote=引用 18 楼 edg_edu 的回复:]

Error 403--Forbidden
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.4 403 Forbidden
The server understood the request, but is refusing to fulfill it. Authorization will not help and ……
[/Quote]
你网址输错了,你在测试里面看下里面的默认网址是什么,然后再重新测试
mayanran007 2012-02-20
  • 打赏
  • 举报
回复
[Quote=引用 18 楼 edg_edu 的回复:]
Error 403--Forbidden
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.4 403 Forbidden
The server understood the request, but is refusing to fulfill it. Authorization will not help and t……
[/Quote]
一样的问题~
greenwater007 2011-11-24
  • 打赏
  • 举报
回复
看看卡看我也出现这样的问题
1598583 2011-09-05
  • 打赏
  • 举报
回复
我用的是weblogic10
1598583 2011-09-05
  • 打赏
  • 举报
回复
Error 403--Forbidden
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.4 403 Forbidden
The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.

1598583 2011-09-05
  • 打赏
  • 举报
回复
请问是怎么解决的呢?请楼主解释一下
feibulao 2011-09-02
  • 打赏
  • 举报
回复
劳驾扣扣帮我弄下,急……;扣扣:1275348476
feibulao 2011-09-02
  • 打赏
  • 举报
回复
hp jdk 是什么……在哪里啊!!!!
Allen_lixl 2011-03-17
  • 打赏
  • 举报
回复
[Quote=引用 12 楼 gxhsnowflower 的回复:]
问题解决了,是hp jdk与sun jdk不同造成的
[/Quote]

问题解决了,也不黑我们个解决方案,楼主.....
airutiii 2011-02-23
  • 打赏
  • 举报
回复
hp jdk 是什么啊?在哪里啊
gxhsnowflower 2008-07-25
  • 打赏
  • 举报
回复
问题解决了,是hp jdk与sun jdk不同造成的
光义 2008-07-20
  • 打赏
  • 举报
回复
顶个...
Jia_Zimo 2008-07-20
  • 打赏
  • 举报
回复
帮你顶吧...
maodie007 2008-07-20
  • 打赏
  • 举报
回复
顶吧
小雨转晴 2008-07-20
  • 打赏
  • 举报
回复
友情帮顶
andywiliang 2008-07-20
  • 打赏
  • 举报
回复
帮顶..................
gxhsnowflower 2008-07-20
  • 打赏
  • 举报
回复
可是在tomcat下和原来的测试的weblogic9.2上也没有出现过问题,怎么这次就出现问题了呢,是不是环境有问题啊
老紫竹 2008-07-20
  • 打赏
  • 举报
回复
java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '0' bytes instead of stated: '1880576' bytes.

从错误信息看,你的程序缺少了
Content-Length

这个文件头。普通的url不会有这个问题,是不是你的自定义的下载功能引起的,或者你的过滤器没有弄好!
wuyanteng1 2008-07-20
  • 打赏
  • 举报
回复
up
gxhsnowflower 2008-07-19
  • 打赏
  • 举报
回复
大家快来帮帮忙啊,有遇到过的嘛?
加载更多回复(1)

67,538

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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