ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)' 异常解决办法

本文介绍了解决WebLogic中线程阻塞问题的方法,包括调整StuckThreadMaxTime参数、增加线程数以及优化应用程序等措施。

ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)' 异常解决办法

weblogic设置修改:
"weblogic.kernel.Default"是从客户端提交请求后产生的线程所在的队列名。这个队列的线程数默认是15个。如果超过15个线程堵塞,则部署的应用将不能访问。同时后台报:
<2008-2-27下午09时37分48秒CST><Error><WebLogicServer><BEA-000337><ExecuteThread:'14'forqueue:'weblogic.kernel.Default'hasbeenbusyfor"1,720"secondsworkingontherequest"HttpRequest:/myapp/test/index.jsp",whichismorethantheconfiguredtime(StuckThreadMaxTime)of"600"seconds.>
2,线程数(TreadCount):七七八八网 http://www.qi788.com 指派到weblogic.kernel.Default队列的线程数。如果你不需要使用超过15个线程(默认),就不必更改这个属性值。

如果发送该请求较多,很有可能会导致weblogic的线程阻塞,严重会引起weblogic挂起现象。
可以通过以下几种方法解决:
1)修改StuckThreadMaxTime参数,将默认的600s改成1200s,或者其它适合的值。
2)增大线程数,防止线程阻塞问题。

3)优化程序,减少处理时间。


可以通过在启动脚本增加如下参数,可以指定默认线程池的最小值、最大值:

-Dweblogic.threadpool.MinPoolSize=100

-Dweblogic.threadpool.MaxPoolSize=500

或者

进入WebLogic控制台——左边窗口的mydomain——servers——点击myserver——Configuration——General——点击Advanced Options的Show链接——最下面的Configure Execute Queues 链接——weblogic.kernel.Default链接——Thread Count参数。的却是隐藏的比较深。修改Thread Count的值,然后重启WebLogic就可以生效了。

七七八八网 http://www.qi788.com


2025-11-05 13:16:54.068 INFO 25365 --- [[ACTIVE] ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 请求Url : http://sbsfn.smecs.com:80/coa/chart/listParameterNameByMaterialNo 2025-11-05 13:16:54.068 INFO 25365 --- [[ACTIVE] ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 请求ip : 10.190.84.236 2025-11-05 13:16:54.069 INFO 25365 --- [[ACTIVE] ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 浏览器 : CHROME11 2025-11-05 13:16:54.069 INFO 25365 --- [[ACTIVE] ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 浏览器版本 : 117.0.0.0 2025-11-05 13:16:54.069 INFO 25365 --- [[ACTIVE] ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.g.apps.logging.aspect.LoggingAspect : 方法规则式拦截: listParameterNameByMaterialNo 2025-11-05 13:16:54.089 INFO 25365 --- [[ACTIVE] ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 请求耗时 : 21 2025-11-05 13:16:56.516 INFO 25365 --- [[ACTIVE] ExecuteThread: '91' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 请求Url : http://sbsfn.smecs.com:80/coa/chart/listParameterNameByMaterialNo 2025-11-05 13:16:56.516 INFO 25365 --- [[ACTIVE] ExecuteThread: '91' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 请求ip : 10.190.84.236 2025-11-05 13:16:56.516 INFO 25365 --- [[ACTIVE] ExecuteThread: '91' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 浏览器 : CHROME11 2025-11-05 13:16:56.516 INFO 25365 --- [[ACTIVE] ExecuteThread: '91' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 浏览器版本 : 117.0.0.0 2025-11-05 13:16:56.516 INFO 25365 --- [[ACTIVE] ExecuteThread: '91' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.g.apps.logging.aspect.LoggingAspect : 方法规则式拦截: listParameterNameByMaterialNo 2025-11-05 13:16:56.534 INFO 25365 --- [[ACTIVE] ExecuteThread: '91' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 请求耗时 : 18 2025-11-05 13:17:12.110 INFO 25365 --- [[ACTIVE] ExecuteThread: '57' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 请求Url : http://sbsfn.smecs.com:80/coa/chart/listParameterNameByMaterialNo 2025-11-05 13:17:12.111 INFO 25365 --- [[ACTIVE] ExecuteThread: '57' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 请求ip : 10.190.84.236 2025-11-05 13:17:12.111 INFO 25365 --- [[ACTIVE] ExecuteThread: '57' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 浏览器 : CHROME11 2025-11-05 13:17:12.111 INFO 25365 --- [[ACTIVE] ExecuteThread: '57' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 浏览器版本 : 117.0.0.0 2025-11-05 13:17:12.111 INFO 25365 --- [[ACTIVE] ExecuteThread: '57' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.g.apps.logging.aspect.LoggingAspect : 方法规则式拦截: listParameterNameByMaterialNo 2025-11-05 13:17:12.133 INFO 25365 --- [[ACTIVE] ExecuteThread: '57' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 请求耗时 : 23 2025-11-05 13:18:21.364 INFO 25365 --- [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 请求Url : http://sbsfn.smecs.com:80/coa/chart/supplier 2025-11-05 13:18:21.364 INFO 25365 --- [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 请求ip : 10.190.84.236 2025-11-05 13:18:21.364 INFO 25365 --- [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 浏览器 : CHROME11 2025-11-05 13:18:21.364 INFO 25365 --- [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 浏览器版本 : 117.0.0.0 2025-11-05 13:18:21.364 INFO 25365 --- [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.g.apps.logging.aspect.LoggingAspect : 方法规则式拦截: supplierAvg 2025-11-05 13:18:29.109 INFO 25365 --- [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 请求Url : http://sbsfn.smecs.com:80/coa/chart/supplier 2025-11-05 13:18:29.109 INFO 25365 --- [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 请求ip : 10.190.84.236 2025-11-05 13:18:29.109 INFO 25365 --- [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 浏览器 : CHROME11 2025-11-05 13:18:29.110 INFO 25365 --- [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 浏览器版本 : 117.0.0.0 2025-11-05 13:18:29.110 INFO 25365 --- [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.g.apps.logging.aspect.LoggingAspect : 方法规则式拦截: supplierAvg 2025-11-05 13:18:33.504 ERROR 25365 --- [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 抛出异常 : null 2025-11-05 13:18:33.503 ERROR 25365 --- [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 抛出异常 : null 2025-11-05 13:18:33.517 ERROR 25365 --- [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.g.a.c.c.e.Error500Controller : 捕获到错误: NullPointerException: null 2025-11-05 13:18:33.517 ERROR 25365 --- [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.g.a.c.c.e.Error500Controller : 捕获到错误: NullPointerException: null 2025-11-05 13:19:05.280 INFO 25365 --- [[ACTIVE] ExecuteThread: '72' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 请求Url : http://sbsfn.smecs.com:80/coa/chart/listParameterNameByMaterialNo 2025-11-05 13:19:05.281 INFO 25365 --- [[ACTIVE] ExecuteThread: '72' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 请求ip : 10.190.84.236 2025-11-05 13:19:05.281 INFO 25365 --- [[ACTIVE] ExecuteThread: '72' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 浏览器 : CHROME11 2025-11-05 13:19:05.281 INFO 25365 --- [[ACTIVE] ExecuteThread: '72' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 浏览器版本 : 117.0.0.0 2025-11-05 13:19:05.281 INFO 25365 --- [[ACTIVE] ExecuteThread: '72' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.g.apps.logging.aspect.LoggingAspect : 方法规则式拦截: listParameterNameByMaterialNo 2025-11-05 13:19:05.301 INFO 25365 --- [[ACTIVE] ExecuteThread: '72' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 请求耗时 : 21 2025-11-05 13:19:05.363 INFO 25365 --- [[ACTIVE] ExecuteThread: '91' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 请求Url : http://sbsfn.smecs.com:80/coa/chart/listParameterNameByMaterialNo 2025-11-05 13:19:05.363 INFO 25365 --- [[ACTIVE] ExecuteThread: '91' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 请求ip : 10.190.84.236 2025-11-05 13:19:05.363 INFO 25365 --- [[ACTIVE] ExecuteThread: '91' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 浏览器 : CHROME11 2025-11-05 13:19:05.363 INFO 25365 --- [[ACTIVE] ExecuteThread: '91' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 浏览器版本 : 117.0.0.0 2025-11-05 13:19:05.364 INFO 25365 --- [[ACTIVE] ExecuteThread: '91' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.g.apps.logging.aspect.LoggingAspect : 方法规则式拦截: listParameterNameByMaterialNo 2025-11-05 13:19:05.385 INFO 25365 --- [[ACTIVE] ExecuteThread: '91' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 请求耗时 : 22 2025-11-05 13:20:00.002 INFO 25365 --- [scheduling-1] com.smec.apps.coa.schedule.SendCoaTask : sendPpapToSrm running 2025-11-05 13:20:00.010 INFO 25365 --- [scheduling-1] com.smec.apps.coa.schedule.SendCoaTask : sendPpapToSrm end 2025-11-05 13:20:00.014 INFO 25365 --- [scheduling-1] com.smec.apps.coa.schedule.SendCoaTask : sendSrmoPpap running 2025-11-05 13:20:00.043 INFO 25365 --- [scheduling-1] com.smec.apps.coa.schedule.SendCoaTask : sendSrmoPpap end 2025-11-05 13:20:00.142 INFO 25365 --- [xxl-job, EmbedServer bizThreadPool-2022988647] c.xxl.job.core.executor.XxlJobExecutor : >>>>>>>>>>> xxl-job regist JobThread success, jobId:77, handler:com.xxl.job.core.handler.impl.MethodJobHandler@3d2ac102[class com.smec.apps.coa.schedule.SendCoaTask$$EnhancerBySpringCGLIB$$4b1c261a#getPortalCoa] 2025-11-05 13:20:00.143 INFO 25365 --- [xxl-job, JobThread-77-1762320000141] com.smec.apps.coa.schedule.SendCoaTask : getPortalCoaTimerTask running 2025-11-05 13:20:00.175 INFO 25365 --- [xxl-job, JobThread-77-1762320000141] com.smec.apps.coa.schedule.SendCoaTask : getPortalCoaTimerTask end 2025-11-05 13:21:33.864 INFO 25365 --- [xxl-job, JobThread-77-1762320000141] com.xxl.job.core.thread.JobThread : >>>>>>>>>>> xxl-job JobThread stoped, hashCode:Thread[xxl-job, JobThread-77-1762320000141,10,Pooled Threads]为什么前端会报空指针异常
最新发布
11-06
2025-10-24 16:08:39.967 INFO 25365 --- [[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'] com.smec.apps.coa.sap.SAPInterface : call method ZIF_SBS_GET_DROPDOWN,call success 2025-10-24 16:08:39.978 INFO 25365 --- [[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'] c.s.a.c.s.impl.CoaVendorServiceImpl : sapGetDropDown listMaterialGroupFromSap Message:Get Material Group successful. 2025-10-24 16:08:39.983 INFO 25365 --- [[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 请求耗时 : 75 2025-10-24 16:10:00.002 INFO 25365 --- [scheduling-1] com.smec.apps.coa.schedule.SendCoaTask : sendSrmoPpap running 2025-10-24 16:10:00.100 INFO 25365 --- [xxl-job, EmbedServer bizThreadPool-1516323981] c.xxl.job.core.executor.XxlJobExecutor : >>>>>>>>>>> xxl-job regist JobThread success, jobId:77, handler:com.xxl.job.core.handler.impl.MethodJobHandler@50b2a544[class com.smec.apps.coa.schedule.SendCoaTask$$EnhancerBySpringCGLIB$$7be8c19a#getPortalCoa] 2025-10-24 16:10:00.109 INFO 25365 --- [xxl-job, JobThread-77-1761293400100] com.smec.apps.coa.schedule.SendCoaTask : getPortalCoaTimerTask running 2025-10-24 16:10:00.114 INFO 25365 --- [scheduling-1] com.smec.apps.coa.schedule.SendCoaTask : sendSrmoPpap end 2025-10-24 16:10:00.114 INFO 25365 --- [scheduling-1] com.smec.apps.coa.schedule.SendCoaTask : sendPpapToSrm running 2025-10-24 16:10:00.121 INFO 25365 --- [scheduling-1] com.smec.apps.coa.schedule.SendCoaTask : sendPpapToSrm end 2025-10-24 16:10:00.143 INFO 25365 --- [xxl-job, JobThread-77-1761293400100] com.smec.apps.coa.schedule.SendCoaTask : getPortalCoaTimerTask end 2025-10-24 16:11:33.705 INFO 25365 --- [xxl-job, JobThread-77-1761293400100] com.xxl.job.core.thread.JobThread : >>>>>>>>>>> xxl-job JobThread stoped, hashCode:Thread[xxl-job, JobThread-77-1761293400100,10,Pooled Threads] 2025-10-24 16:14:04.055 INFO 25365 --- [[ACTIVE] ExecuteThread: '90' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.g.apps.logging.aspect.LoggingAspect : 方法规则式拦截: importCoaMaterialParameterResultList 2025-10-24 16:14:04.057 INFO 25365 --- [[ACTIVE] ExecuteThread: '90' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 请求Url : http://sbsfn.smecs.com:80/coa/material/importCoaMaterialParameterResultList 2025-10-24 16:14:04.057 INFO 25365 --- [[ACTIVE] ExecuteThread: '90' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 请求ip : 10.190.84.236 2025-10-24 16:14:04.058 INFO 25365 --- [[ACTIVE] ExecuteThread: '90' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 浏览器 : CHROME14 2025-10-24 16:14:04.058 INFO 25365 --- [[ACTIVE] ExecuteThread: '90' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 浏览器版本 : 141.0.0.0 2025-10-24 16:14:04.101 INFO 25365 --- [[ACTIVE] ExecuteThread: '90' for queue: 'weblogic.kernel.Default (self-tuning)'] c.o.group.apps.core.aop.ConsolePrintAop : 请求耗时 : 44 啥问题
10-25
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值