接手一个项目,运行时报了一些莫名的问题,求答案。
1. <2012-7-10 上午10时01分56秒 CST> <Error> <HTTP> <BEA-101215> <Malformed Request
". Request parsing failed, Code: -10>2. java.io.IOException: A complete message could not be read on socket: 'weblogic.s
ervlet.internal.MuxableSocketHTTP@627be9 - idle timeout: '30000' ms, socket time
out: '5000' ms', in the configured timeout period of '60' secs
3. java.sql.SQLException: JZ0C0: 连接已关闭。4. 网站下载程序,给的是相对路径,直接链过去的(能正常下载),为什么会报“文件名 目录名或卷标语法不正确”?
1. <2012-7-10 上午10时01分56秒 CST> <Error> <HTTP> <BEA-101215> <Malformed Request
". Request parsing failed, Code: -10>2. java.io.IOException: A complete message could not be read on socket: 'weblogic.s
ervlet.internal.MuxableSocketHTTP@627be9 - idle timeout: '30000' ms, socket time
out: '5000' ms', in the configured timeout period of '60' secs
3. java.sql.SQLException: JZ0C0: 连接已关闭。4. 网站下载程序,给的是相对路径,直接链过去的(能正常下载),为什么会报“文件名 目录名或卷标语法不正确”?
数据库是sybase的,昨天还是好用的,连接数初始为50(我现在改为80),报错的时候没有观察连接池是否满。
ervlet.internal.MuxableSocketHTTP
这个问题,出现在客户端请求往服务器端发送请求数据的在timeout设定时间内没有结束。这时timeout时间已到,到包还没有发送成功。可能你当时网络环境不是很好,或把timeout时间调大一点。详细可看下这哥们总结的。
http://www.blogjava.net/fjin/archive/2008/12/12/245727.html
不过根据你的报错信息来看,还应该是连接方面的故障
这个之前看了,HttpCompleteMessageTimeout这个增加时间,增加很多会不会对性能有损害
解决方法:
1.增大<idle-timeout-minutes>的值。
2.改善数据库查询性能。
Server --> Protocols --> General -> Advanced Attributes -> Complete Message Timeout
将这个值调大,480秒。
另外如果传送的文件比较大,还是可能超时,应该捕获这个异常,给出提示,要求重传。
文件实在大的,考虑其它方式。
java.io.IOException: A complete message could not be read on socket: 'weblogic.s
ervlet.internal.MuxableSocketHTTP@74c1e3 - idle timeout: '30000' ms, socket time
out: '5000' ms', in the configured timeout period of '480' secs
at weblogic.socket.SocketMuxer$TimeoutTrigger.trigger(SocketMuxer.java:8
12)
at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.j
ava:243)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
121)
at weblogic.time.common.internal.ScheduledTrigger.executeLocally(Schedul
edTrigger.java:229)
at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigg
er.java:223)
at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:5
0)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
>
在哪设置?