BEA weblogic 处理请求出现错误:Cannot parse POST parameters of request
来源:互联网 发布:人工智能的发展历史 编辑:程序博客网 时间:2024/05/16 17:46
- weblogic.utils.NestedRuntimeException: Cannot parse POST parameters of request: '/doSth.action'
- at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.mergePostParams(ServletRequestImpl.java:1816)
- at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.parseQueryParams(ServletRequestImpl.java:1703)
- at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.getQueryParams(ServletRequestImpl.java:1656)
- at weblogic.servlet.internal.ServletRequestImpl.getParameter(ServletRequestImpl.java:756)
- at org.apache.struts2.dispatcher.Dispatcher.prepare(Dispatcher.java:669)
- at org.apache.struts2.dispatcher.FilterDispatcher.prepareDispatcherAndWrapRequest(FilterDispatcher.java:319)
- at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:367)
- at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
- at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
- at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:102)
- at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
- at com.gisecur.webapp.intercepter.SessionFilter.doFilter(SessionFilter.java:71)
- at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
- at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
- at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
- at weblogic.security.service.SecurityManager.runAs(Unknown Source)
- at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
- at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
- at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
- at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
- at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
- Caused by: java.net.ProtocolException: EOF after reading only: '0' of: '68' promised bytes, out of which at least: '0' were already buffered
- at weblogic.servlet.internal.PostInputStream.complain(PostInputStream.java:93)
- at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:179)
- at weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStreamImpl.java:222)
- at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.mergePostParams(ServletRequestImpl.java:1791)
- ... 22 more
工程在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."
- BEA weblogic 处理请求出现错误:Cannot parse POST parameters of request
- BEA weblogic 处理请求出现错误:Cannot parse POST parameters of request
- weblogic Cannot parse POST parameters of request
- weblogic.utils.NestedRuntimeException: Cannot parse POST parameters of request:
- WebLogic之Cannot parse POST parameters of request解决方法
- 关于weblogic10.3下weblogic.utils.NestedRuntimeException: Cannot parse POST parameters of request问题
- Python3.x执行POST请求是出现POST data should be bytes or an iterable of bytes. It cannot be of type str.错误
- WebLogic错误: BEA-001153
- Weblogic 错误 <BEA-000403> <BEA-000438>解决办法
- Weblogic 错误 <BEA-000403> <BEA-000438>解决办法
- JBWEB002004: More than the maximum number of request parameters (GET plus POST) for a single request
- curl发送post请求出现:Request method 'post' not supported
- django POST请求出现403错误
- 集群部署weblogic+sup错误BEA-141274
- weblogic集群部署 bea-000141错误解决
- weblogic的BEA-000438错误解决
- WebLogic 报 web.xml BEA-160197 错误
- weblogic启动报<BEA-090782>错误
- Linux 文件系统
- 字符集编码详解
- C#_Queue实例
- linux shell编程学习记录
- Unity Application Block 1.0系列(6): 杜绝循环引用
- BEA weblogic 处理请求出现错误:Cannot parse POST parameters of request
- Unity Application Block 1.0系列(7): Lifetime Managers
- 其他字符集相关
- Hadoop 1.x 启动脚本学习(3)
- UVa 11489 Integer Game (博弈&想法题)
- 递归查询
- 阿里巴巴笔试题
- 四、android的单元测试
- android 在win7的cmd中输入adb shell提示不是内部或外部命令