IE 11 访问Cordys BOP 4.3 问题分析

首先感谢Opentext技术支持Tarun Nagalla的指导,排除干扰,深入分析问题。

Cordys BOP 4.3支持IE版本到IE 10(推出Cordys BOP 4.3时,IE11还未推出)[3]

1. 问题现象描述

当用IE 11访问Cordys Explorer(Cordys BOP 4.3)时,IE客户端报500错误(Internal Server Error 服务器发生了不可预期的错误),错误提示如下:

这里写图片描述

查看System Resource Manager中XForms Service Containers的Process-ID,如下图所示PID为14325。

这里写图片描述

通过SecureCRT工具登录到服务器(Linux),使用top命令监控CPU使用情况。

[root@VMXPNSAPP ~]# top

top - 10:24:40 up 153 days, 16:31,  1 user,  load average: 0.41, 0.11, 0.03
Tasks: 234 total,   1 running, 233 sleeping,   0 stopped,   0 zombie
Cpu(s): 25.6%us,  0.3%sy,  0.0%ni, 74.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  33015068k total, 25978364k used,  7036704k free,   626408k buffers
Swap: 16777208k total,   158068k used, 16619140k free, 12098844k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND              
14325 cordysDe  20   0 2705m 190m  17m S 101.0  0.6   1:03.51 java              
10742 cordysDe  20   0 2789m 269m  18m S  0.7  0.8 478:57.16 java           
13054 cordysDe  20   0 2775m 210m  17m S  0.7  0.7 758:01.30 java           
13170 cordysDe  20   0 2702m 143m  17m S  0.7  0.4 615:32.12 java
16270 root      20   0 15040 1336  948 R  0.7  0.0   0:00.04 top

2. 使用Fiddler工具,抓请求和返回包

使用Fiddler工具,抓取发生问题时的请求和返回值,请求过程如下图所示,第4步出现500返回错误,经分析是第3步的返回就已经出现问题了。

这里写图片描述

首先看第3步的请求:

这里写图片描述

其中:Accept-Encoding: gzip,deflate,这条信息代表本地可以接收压缩格式的数据,而服务器在处理时就将大文件压缩再发回客户端,IE在接收完成后在本地对这个文件又进行了解压操作。

第3步返回值。

这里写图片描述
请求返回体(Response body)采用GZIP压缩编码,需要解码。
这里写图片描述

解码后的内容为:

HTTP/1.1 302 Found
Date: Wed, 08 Jun 2016 01:01:50 GMT
Server: Apache/2.2.26 (Unix) DAV/2
Cache-Control: no-cache, no-store
Location: /home/system/com/cordys/cusp/cusp.caf?
Vary: Accept-Encoding
X-UA-Compatible: IE=EmulateIE8,IE=EmulateIE10
Keep-Alive: timeout=5, max=99
Connection: Keep-Alive
Content-Type: text/html;charset=UTF-8
Content-Length: 245

<html>
  <head>
    <title>Moved Temporarily</title>
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <h1>Moved Temporarily</h1>
    The document has moved <a href="/home/system/com/cordys/cusp/cusp.caf?">here</a>.
  </body>
</html>

3. 延长超时时间

修改配置文件:wcp.properties
路径:=/opt/Cordys/defaultInst/config

bus.vm.options.default=-Xmx256M -XX\:PermSize\=5m
cordys.home=/opt/Cordys/defaultInst
bus.ldap.processor.password=******
bus.xml.nom.preservecomments=true
cordys.installation.configuration=Server
bus.bdf.manager.timeout=180000
com.eibus.web.gateway.timeout=180000

反馈邮件内容:

Hi, Tarun Nagalla !

       I have increased the value to 3 minutes for the "com.eibus.web.soap.Gateway.wcp" property in CMC.
       bus.bdf.manager.timeout=180000
       com.eibus.web.gateway.timeout=180000 

       In IE 11, the issue occurring.

       It's not the issue occurring in  IE9, IE10.

          thanks.

          Yongwei Xiao
          2016-06-15  18:55:46

4. 设置Debug模式,收集相关日志

把XForm服务容器设置为Debug模式,监控XForm、Gateway服务,并收集相关日志[4]反馈给技术支撑人员。

详见博客:《Cordys Web Gateway与XForm的监控及log文件下载(SecureCRT)》

5. 新的任务

Hi Yongwei Xiao,

Please provide us the following information:

1) Is that the issue occurring only in your system or in all the systems, if you haven't tried the issue in other systems please try it and update us the status.
2) As we see "Response not received in time" error in the fiddler , to confirm that the issue is not with the timeout, please increase the value to 5 minutes for the "com.eibus.web.soap.Gateway.wcp" property in CMC, restart the monitor service and try to open the cordys in IE11 browser and check whether it is opening or not. If it is not opening please share us the Fiddler session of the issue occurrence. Please revert back the changes after taking the fiddler logs.
3) Try to open the "gatewayperformance.htm"(http:<machine name>:<port>/home/system/wcp/debugger/gatewayperformance.htm) and fire the request what you see in the Request Message tab and update us the response what you have received.

Thank you.

Regards,
Tarun Nagalla
OpenText Support Team

*****************************************************

Hi Yongwei xiao,

We have analyzed the logs sent by you and we found the errors like "no client, response was not received in time and unable to reset audit configuration cache" and many other errors inmonitor log file. So please do the following:

1) Please stop the monitor and webserver.
2) take the back up of the all existing logs.
3) Delete the existing logs.
4) Start the webserver and monitor.
5) Now reproduce the issue and share us the newly generated logs.
6) And also provide us the information what we asked in the previous mail.

Regards,
Tarun Nagalla
OpenText Support Team

周末将继续!

参考:

1.《Accept-Encoding: gzip,deflate》 cnblogs . linyawen 2011

2.《HTTP 协议详解与HTTP 协议压缩》 csdn . lky5387的专栏 2013

3.《Cordys对浏览器支持信息(Support information on latest browsers)》 译 肖永威 2016.01

4.《Cordys Web Gateway与XForm的监控及log文件下载(SecureCRT)》 肖永威 2016.06

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

肖永威

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值