BEA weblogic 处理请求出现错误:Cannot parse POST parameters of request

 

工程在Tomcat6中运行正常,移到BEA Weblogic 10中如果访问其中的一个页面就出现Cannot parse POST parameters of request的异常。分析页面之后原来是因为页面中的js代码在初始化开始的时候请求了"doSth.action",然后在js结束的地方又重新请求了一次"doSth.action",这样会出现第一次的请求没有解析完,第二次请求又到了,这个时候http隧道被第二次占用了,导致第一次的请求非正常关闭,导致WebLogic服务器解析的第一次请求的参数无法读取请求结束符的错误:"EOF after reading only: '0' of: '68' promised bytes, out of which at least: '0' were already buffered".

 

Reference:

"If the client is getting the reset exception it will be the server that is doing the reset. There are several possible reasons for this:

a. It calls Socket.setSoLinger() before closing. Don't.
b. It closes the socket without reading all the data you have sent.
c. An intermediate firewall is misbehaving.
d. The server is using the WINSOCK API and is not calling WSAShutdown() or shutdown() before closing. Some MS products do this."

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值