接手一个项目,运行时报了一些莫名的问题,求答案。
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.   

    java.sql.SQLException: JZ0C0: 连接已关闭。
    数据库是sybase的,昨天还是好用的,连接数初始为50(我现在改为80),报错的时候没有观察连接池是否满。
      

  2.   

     A complete message could not be read on socket: 'weblogic.s
    ervlet.internal.MuxableSocketHTTP
    这个问题,出现在客户端请求往服务器端发送请求数据的在timeout设定时间内没有结束。这时timeout时间已到,到包还没有发送成功。可能你当时网络环境不是很好,或把timeout时间调大一点。详细可看下这哥们总结的。
    http://www.blogjava.net/fjin/archive/2008/12/12/245727.html
      

  3.   

    好像我有一次在tomcat下没有问题,然后一样的源码在weblogic下也有类似的错误
    不过根据你的报错信息来看,还应该是连接方面的故障
      

  4.   


    这个之前看了,HttpCompleteMessageTimeout这个增加时间,增加很多会不会对性能有损害
      

  5.   

    第一次报错时重启就好用,第2次出现的时候,我去weblogic后台查看数据库连接池已使用的连接数为0,并立即测试程序,可以正常查询。跟你所说很是类似,这个应该和程序没什么关系,是什么情况造成的?
      

  6.   

    这里设置<idle-timeout-minutes>是5分钟,但是实际查询的时间查过了5分钟,就造成抛出连接已关闭。
    解决方法:
    1.增大<idle-timeout-minutes>的值。
    2.改善数据库查询性能。
      

  7.   

    HttpCompleteMessageTimeout默认值为60秒,最大值为480秒。
    Server --> Protocols --> General -> Advanced Attributes -> Complete Message Timeout
    将这个值调大,480秒。 
    另外如果传送的文件比较大,还是可能超时,应该捕获这个异常,给出提示,要求重传。
    文件实在大的,考虑其它方式。
      

  8.   

    第2个错误信息:
    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)
    >
      

  9.   

    weblogic.ChunkSize
    在哪设置?