<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    歲月如哥
    人生非夢
    posts - 50,comments - 144,trackbacks - 0
    在soloaris環境下
    在使用過程中后臺報了很多如下的錯誤,目前還不能確定該錯誤和應用程序的操作有什么關系,并且在
    該錯誤的前后一般都沒有報其他系統異常。

    2007-9-6 0:14:30 org.apache.tomcat.util.net.TcpWorkerThread runIt
    嚴重: Remote Host /172.16.16.94 SocketException: 無效的自變量
    2007-9-6 0:14:30 org.apache.tomcat.util.net.TcpWorkerThread runIt
    嚴重: Remote Host /172.16.16.94 SocketException: 無效的自變量

    目前從網上找到一種說法是給soloaris打補丁,因為2.61的soloaris是最新的,所以還沒有試用該方法。
    不知道大家有什么碰到過?給些意見和經驗


    找到下面這篇文章,基本可以確定這個錯應該忽略,實際使用過程中也沒有因為這個日志錯而導致什么問題出現。
    Tomcat的SEVERE: Remote Host / SocketException: Connection reset原因分析及解決辦法
    引用:
    昨天在測試幫助文件時發現一直打不開,好像是一直再刷新,于是就到服務器上查看Tomcat的日志,就發現了下面的信息:
    Apr 21, 2008 9:27:34 AM org.apache.tomcat.util.net.TcpWorkerThread runIt
    SEVERE: Remote Host /172.16.128.248 SocketException: Connection reset
    并且這兩條信息幾乎是每個1-2秒就出現一次,很是頻繁。于是就搜索了一下,就找到了下面的內容:
    The usual cause is that the browser''s stopped a HTTP request part-way through,
    generally because the user''s navigated to another page before the first page has
    completely downloaded. The browser closes the connection, with the result that
    Tomcat gets an exception when it next tries to write data to the socket.
    Arguably it shouldn''t be logged as a SEVERE error on production systems, but
    getting that log message during development and stress testing can be very
    handy! 于是就查看它引用的JavaScript文件,發現好多不存在。終于明白,是因為有些變量不存在,導致了這里的反復重載。重新加入這些JavaScript文件后,問題解決。

    Fix it by any of the following (in increasing order of difficulty):

    1) Ignore it (and change any log-reading scripts that look for SEVERE errors to
    ignore this one);

    2) Grab the source for 5.0.28, find the line where this is logged and change the
    logging level in the case of a connection reset error, then recompile Tomcat;

    3) Educate your users that they are supposed to sit on their hands until the
    page has completely loaded (by far the hardest ;-) ).

    后面還有別人的補充:
    If it happens that often and you don''t have a high traffic site, it might be a monitor script, that does only check if it can do a TCP connect and drop the connection before a full HTTP request-response cycle has finished.

    不過我的情況和上面所說的都不符合,于是就查看了源文件,發現了如下代碼:



    if (!window.gbWhVer||!window.gbWhUtil||!window.gbWhMsg)
        document.location.reload();
    posted on 2008-09-12 14:11 歲月如歌 閱讀(499) 評論(2)  編輯  收藏 所屬分類: java

    FeedBack:
    # re: soloaris環境下tomcat日志奇怪問題
    2009-01-08 13:45 | 小李子大哥
    小李子趕緊把這個問題解決了啊啊  回復  更多評論
      
    # re: soloaris環境下tomcat日志奇怪問題
    2009-02-02 13:56 | midstr
    @小李子大哥

    這個不是問題。。。
      回復  更多評論
      
    主站蜘蛛池模板: 69视频免费在线观看| 中文字幕不卡亚洲| 未满十八18禁止免费无码网站| 午夜亚洲WWW湿好爽| 911精品国产亚洲日本美国韩国| 四虎成人精品在永久免费| 久久久久久曰本AV免费免费| 国产一级在线免费观看| 美女被羞羞网站免费下载| 亚洲AV成人影视在线观看| 亚洲欧洲日本天天堂在线观看| 久久亚洲国产精品一区二区| 亚洲人AV永久一区二区三区久久| 四虎成人免费大片在线| AV片在线观看免费| 美女视频黄的全免费视频网站| 久久国产乱子伦免费精品| 老司机69精品成免费视频| aa级毛片毛片免费观看久| 一级毛片免费一级直接观看| 精品韩国亚洲av无码不卡区| 亚洲男人的天堂网站| 亚洲中文字幕一区精品自拍| 色婷五月综激情亚洲综合| 亚洲成av人片在线看片| 亚洲神级电影国语版| 亚洲毛片一级带毛片基地| 亚洲精品在线免费看| 亚洲卡一卡2卡三卡4麻豆| 亚洲精品国产情侣av在线| 亚洲精品亚洲人成在线观看麻豆| 亚洲高清资源在线观看| 亚洲国产视频网站| 亚洲AV无码精品蜜桃| 亚洲av无码一区二区三区四区| 亚洲狠狠婷婷综合久久蜜芽| 国产AV日韩A∨亚洲AV电影| 日韩久久无码免费毛片软件| 一级做a爱过程免费视频高清 | 黄瓜视频影院在线观看免费| 国产免费久久精品99re丫y|