首页 > 其他分享 >Websphere - WSVR0605W 错误

Websphere - WSVR0605W 错误

时间:2023-11-17 09:00:38浏览次数:30  
标签:java ibm 错误 Websphere WSVR0605W thread hung run com

官方连接:https://www.ibm.com/support/pages/wsvr0605w-thread-may-be-hung-message-logs

WSVR0605W - "Thread may be hung" message in the logs
Troubleshooting

Problem
A WSVR0605W message in the SystemOut.log might be misleading because this message normally indicates a "hung thread" situation. However, when a JCA adapter is set up for polling, the same message might occur in the log because, at the interval between polling, the adapter changes its state from polling to "sleep" and does not wake up until the next polling cycle starts. This adapter behavior is working as designed.

Symptom
The SystemOut.log file shows:

ThreadMonitor W WSVR0605W: Thread "Default : 0" () has been active for xxx milliseconds and may be hung. There is/are 1 thread(s) in total in the server that may be hung.
at java.lang.Thread.sleep(Native Method)
at java.lang.Thread.sleep(Thread.java:939)
at com.ibm.j2ca.base.internal.PollEventManagerWorker.run(PollEventManagerWorker.java:96)
at com.ibm.ejs.j2c.work.WorkProxy.run(WorkProxy.java:419)
at com.ibm.ejs.j2c.work.AsyncWorkProxy.run(AsyncWorkProxy.java:136)
at com.ibm.ws.asynchbeans.J2EEContext\(RunProxy.run(J2EEContext.java:268) at java.security.AccessController.doPrivileged(AccessController.java:192) at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:768) at com.ibm.ws.asynchbeans.ExecutionContextImpl.go(ExecutionContextImpl.java:85) at com.ibm.ejs.j2c.work.AsyncWorkProxy.run(AsyncWorkProxy.java:90) at com.ibm.ws.util.ThreadPool\)Worker.run(ThreadPool.java:1497)

Cause
The resource adapter has one mechanism poll period. It is considered the rate (in milliseconds) at which to poll the enterprise information system (EIS) event store for new inbound events. The poll cycle is established at a fixed rate, meaning that if execution of the poll cycle is delayed for any reason, the next cycle will occur immediately to “catch up”. During the poll period, the polling thread will be sleeping.

Once the time is calculated to 60000 milliseconds, the WebSphere Application Server thread monitor regards this polling thread as hung and throws the exception.

Resolving The Problem
To avoid the misleading WSVR0605W messages, use the following workaround to disable the thread monitor/thread hang detection on WebSphere Application Server:

From the administrative console, click Servers > Application Servers > server_name.
Under Server Infrastructure, click Administration > Custom Properties.
Click New.
Add the following property to disable the hang detection option:
For Name, type: com.ibm.websphere.threadmonitor.interval
For Value, enter a value less than or equal to 0.
Click Apply.
Click OK.
Save the changes. Make sure a file synchronization is performed before restarting the servers.
Restart the Application Server for the changes to take effect.

NOTE: Disabling the thread monitor affects ALL threads on the server, not just the JCA adapter threads. Therefore, hung threads will not be detected at all. There is no option available to filter the activity that will be monitored.

A fix is available for the Email Adapter. For more information, see JR38440: HUNG THREAD MESSAGE IN EMAIL ADAPTER.

标签:java,ibm,错误,Websphere,WSVR0605W,thread,hung,run,com
From: https://www.cnblogs.com/lihw-study/p/17837824.html

相关文章

  • 已成功与服务器建立连接,但是在登录过程中发生错误。
    已成功与服务器建立连接,但是在登录过程中发生错误。(provider:TCP提供程序,error:0-指定的网络名不再可用。)(MicrosoftSQLServer,错误:64)————————————————版权声明:本文为CSDN博主「ComputerInBook」的原创文章,遵循CC4.0BY-SA版权协议,转载请附上原文出处链接......
  • 504 与413错误处理
    报504错误,我们可以从ngxin上找找看是否是nginx访问超时导致的错误。proxy_connect_timeout1000;proxy_send_timeout1000;proxy_read_timeout1000;send_timeout1000;如果还是不行,那么很可能是fastcgi请求超时导致了程序访问超时fastcgi_connect_timeout1000......
  • gin-vue-admin 接口错误Error: Request failed with status code 500
    本地运行以后登录出现:控制台检查发现是请求getMenu出现500错误,并且后端出现"Error1071(42000):Specifiedkeywastoolong;maxkeylengthis1000bytes"错误,那就是数据库casbin_rule的表引擎不是InnoDB,更改成InnoDB即可。ALTERTABLEcasbin_ruleENGINE=InnoDB;......
  • ASPNET项目打包时遇到错误:无法生成项目输出组内容文件来自Web(活动)
    试试在“解决方案资源管理器”中,刷新目标项目,看看项目中有没有一些文件丢失(以感叹号标识,如下图所示),如果有,将所有这些文件补上或者“从项目中排除”,然后再重新生成安装包。1.检查文件中是否有文件未包括到项目中,2。检查是否项目中有文件前面含有感叹号,特别是图像文件。他们可能是......
  • 文章《Semantic Kernel -- LangChain 的替代品?》的错误和疑问 探讨
    微信公众号文章SemanticKernel——LangChain的替代品?[1],它使用的示例代码是Python,他却发了这么一个疑问:支持的语言对比(因为SemanticKernel是用C#开发的,所以它对C#比较支持)如上所示。不清楚SemanticKernel为什么要用C#来开发,C#相比Python和JavaScript来说使用......
  • 袋外错误率
    袋外错误率(Out-of-BagError)是在使用自助采样(BootstrapSampling)构建集成模型时的一个重要评估指标,尤其是在随机森林中常被使用。在自助采样中,由于每个模型的训练集都是通过有放回地从原始数据集中采样得到的,一部分样本可能没有被采样到,这部分未被采样到的样本称为袋外样本(Out-of-......
  • 容器中sh脚本明明存在,为何会报"no such file or directory"的错误?
    小伙伴碰到一起奇怪的事故,从gitlab上拉取的docker镜像项目,在本地开发机上进行dockerbuild后,启动容器会报错如下:exec/app/run.sh:nosuchfileordirectory /app/run.sh文件是ENTRYPOINT启动的,注释掉ENTRYPOINT,直接进入容器后可以看到/app/run.sh好好在那儿,文件的可执......
  • 在python开发过程中常见的异常错误
    下面这些也是常见的异常错误,在报错的时候不要害怕,记住这些常见的单词。AttributeError尝试访问未知的对象属性EOFError用户输入文件末尾标志EOF(Ctrl+d)FloatingPointError浮点计算错误GeneratorExitgenerator.close()方法被调用的时候ImportError导入模块失败的时候KeyboardInte......
  • MySQL Shell连接数据库报MySQL Error 1045 (28000)错误浅析
    这里简单总结一下mysqlshell访问数据库时报MySQLError1045(28000):Accessdeniedforuser'root'@'::1'(usingpassword:YES)的原因以及如何解决这个问题这里测试的环境为MySQL8.0.35,我们先来看看报错案例:$ mysqlsh -h localhost -P 7306 -u root -pPlease pr......
  • requests库验证错误解决方法
    用户在使用requests库进行http请求时,遇到了一个AuthenticationRequired(身份验证必须)的错误。但是,当使用urllib.request.urlopen进行相同的操作时,却能够成功。同时,用户提供了自己的系统信息,包括Python版本、操作系统等。        #解决方案       ......