上次我只是把原来我们集群的shiro抄袭成nutzwk的单机模式集成,就开始莫名其妙问题,下面是很多线程blocked的日志
看上去是死锁了
Thread 22785: (state = BLOCKED)
- sun.misc.Unsafe.park(boolean, long) @bci=0 (Compiled frame; information may be imprecise)
- java.util.concurrent.locks.LockSupport.park(java.lang.Object) @bci=14, line=175 (Interpreted frame)
- java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await() @bci=42, line=2039 (Interpreted frame)
- org.apache.commons.pool2.impl.LinkedBlockingDeque.takeFirst() @bci=20, line=583 (Interpreted frame)
- org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(long) @bci=119, line=442 (Interpreted frame)
- org.apache.commons.pool2.impl.GenericObjectPool.borrowObject() @bci=5, line=363 (Interpreted frame)
- redis.clients.util.Pool.getResource() @bci=4, line=49 (Interpreted frame)
- redis.clients.jedis.JedisPool.getResource() @bci=1, line=99 (Interpreted frame)
- redis.clients.jedis.JedisPool.getResource() @bci=1, line=12 (Interpreted frame)
- org.nutz.integration.jedis.JedisAgent.jedis() @bci=54, line=49 (Interpreted frame)
- org.nutz.integration.jedis.JedisAgent.getResource() @bci=1, line=54 (Interpreted frame)
- cn.wizzer.modules.back.wx.services.WxConfigService.getWxApi3(java.lang.String) @bci=66, line=42 (Interpreted frame)
- cn.wizzer.common.services.wx.MvSearchHandler.searchHitOneProcess(org.nutz.weixin.bean.WxInMsg, cn.wizzer.modules.back.wx.models.Wx_user, cn.wizzer.modules.back.wx.models.Wx_msg, java.util.List, cn.wizzer.modules.back.wx.models.Wx_config) @bci=635, line=294 (Interpreted frame)
- cn.wizzer.common.services.wx.MvSearchHandler.searchProcess(org.nutz.weixin.bean.WxInMsg, java.lang.String, cn.wizzer.modules.back.wx.models.Wx_user, cn.wizzer.modules.back.wx.models.Wx_msg, cn.wizzer.modules.back.wx.models.Wx_config) @bci=286, line=114 (Compiled frame)
- cn.wizzer.common.services.wx.WxMoiveHandler.text(org.nutz.weixin.bean.WxInMsg) @bci=503, line=187 (Compiled frame)
- org.nutz.weixin.util.Wxs.handle(org.nutz.weixin.bean.WxInMsg, org.nutz.weixin.spi.WxHandler) @bci=66, line=268 (Compiled frame)
- org.nutz.weixin.impl.AbstractWxHandler.handle(org.nutz.weixin.bean.WxInMsg) @bci=2, line=93 (Compiled frame)
- org.nutz.weixin.util.Wxs.handle(org.nutz.weixin.spi.WxHandler, javax.servlet.http.HttpServletRequest, java.lang.String) @bci=259, line=699 (Compiled frame)
- cn.wizzer.modules.open.wx.WeixinController.msgIn(java.lang.String, javax.servlet.http.HttpServletRequest) @bci=26, line=98 (Compiled frame)
- cn.wizzer.modules.open.wx.WeixinController$FM$msgIn$27c97e22e67171286f22b22ae0b702a1.invoke(java.lang.Object, java.lang.Object[]) @bci=17 (Compiled frame)
- org.nutz.mvc.impl.processor.MethodInvokeProcessor.process(org.nutz.mvc.ActionContext) @bci=50, line=31 (Compiled frame)
- org.nutz.mvc.impl.processor.AbstractProcessor.doNext(org.nutz.mvc.ActionContext) @bci=13, line=44 (Compiled frame)
- org.nutz.mvc.impl.processor.AdaptorProcessor.process(org.nutz.mvc.ActionContext) @bci=53, line=33 (Compiled frame)
- org.nutz.mvc.impl.processor.AbstractProcessor.doNext(org.nutz.mvc.ActionContext) @bci=13, line=44 (Compiled frame)
- org.nutz.mvc.impl.processor.ActionFiltersProcessor.process(org.nutz.mvc.ActionContext) @bci=69, line=58 (Compiled frame)
- org.nutz.mvc.impl.processor.AbstractProcessor.doNext(org.nutz.mvc.ActionContext) @bci=13, line=44 (Compiled frame)
- cn.wizzer.common.processor.NutShiroProcessor.process(org.nutz.mvc.ActionContext) @bci=35, line=52 (Compiled frame)
- org.nutz.mvc.impl.processor.AbstractProcessor.doNext(org.nutz.mvc.ActionContext) @bci=13, line=44 (Compiled frame)
- org.nutz.mvc.impl.processor.ModuleProcessor.process(org.nutz.mvc.ActionContext) @bci=169, line=123 (Compiled frame)
- org.nutz.mvc.impl.processor.AbstractProcessor.doNext(org.nutz.mvc.ActionContext) @bci=13, line=44 (Compiled frame)
- org.nutz.mvc.impl.processor.EncodingProcessor.process(org.nutz.mvc.ActionContext) @bci=28, line=27 (Compiled frame)
- org.nutz.mvc.impl.processor.AbstractProcessor.doNext(org.nutz.mvc.ActionContext) @bci=13, line=44 (Compiled frame)
- org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor.process(org.nutz.mvc.ActionContext) @bci=9, line=15 (Compiled frame)
- org.nutz.mvc.impl.processor.AbstractProcessor.doNext(org.nutz.mvc.ActionContext) @bci=13, line=44 (Compiled frame)
- cn.wizzer.common.processor.GlobalsSettingProcessor.process(org.nutz.mvc.ActionContext) @bci=202, line=37 (Compiled frame)
- org.nutz.mvc.impl.NutActionChain.doChain(org.nutz.mvc.ActionContext) @bci=13, line=44 (Compiled frame)
- org.nutz.mvc.impl.ActionInvoker.invoke(org.nutz.mvc.ActionContext) @bci=58, line=67 (Compiled frame)
- org.nutz.mvc.ActionHandler.handle(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) @bci=57, line=31 (Compiled frame)
- org.nutz.mvc.NutFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain) @bci=215, line=202 (Compiled frame)
- org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) @bci=151, line=240 (Compiled frame)
- org.apache.catalina.core.ApplicationFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) @bci=101, line=207 (Compiled frame)
- cn.wizzer.common.filter.RouteFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain) @bci=112, line=34 (Compiled frame)
- org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) @bci=151, line=240 (Compiled frame)
- org.apache.catalina.core.ApplicationFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) @bci=101, line=207 (Compiled frame)
- org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) @bci=50, line=61 (Compiled frame)
- org.apache.shiro.web.servlet.AdviceFilter.executeChain(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain) @bci=3, line=108 (Compiled frame)
- org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain) @bci=64, line=137 (Compiled frame)
- org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain) @bci=113, line=125 (Compiled frame)
- org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) @bci=130, line=66 (Compiled frame)
- org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain) @bci=13, line=449 (Compiled frame)
- org.apache.shiro.web.servlet.AbstractShiroFilter$1.call() @bci=31, line=365 (Compiled frame)
- org.apache.shiro.subject.support.SubjectCallable.doCall(java.util.concurrent.Callable) @bci=1, line=90 (Compiled frame)
- org.apache.shiro.subject.support.SubjectCallable.call() @bci=14, line=83 (Compiled frame)
- org.apache.shiro.subject.support.DelegatingSubject.execute(java.util.concurrent.Callable) @bci=7, line=383 (Compiled frame)
- org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain) @bci=47, line=362 (Compiled frame)
- org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain) @bci=113, line=125 (Compiled frame)
- org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) @bci=151, line=240 (Compiled frame)
- org.apache.catalina.core.ApplicationFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) @bci=101, line=207 (Compiled frame)
- org.apache.catalina.core.StandardWrapperValve.invoke(org.apache.catalina.connector.Request, org.apache.catalina.connector.Response) @bci=756, line=212 (Compiled frame)
- org.apache.catalina.core.StandardContextValve.invoke(org.apache.catalina.connector.Request, org.apache.catalina.connector.Response) @bci=166, line=106 (Compiled frame)
- org.apache.catalina.authenticator.AuthenticatorBase.invoke(org.apache.catalina.connector.Request, org.apache.catalina.connector.Response) @bci=417, line=502 (Compiled frame)
- org.apache.catalina.core.StandardHostValve.invoke(org.apache.catalina.connector.Request, org.apache.catalina.connector.Response) @bci=135, line=141 (Compiled frame)
- org.apache.catalina.valves.ErrorReportValve.invoke(org.apache.catalina.connector.Request, org.apache.catalina.connector.Response) @bci=6, line=79 (Compiled frame)
- org.apache.catalina.valves.AbstractAccessLogValve.invoke(org.apache.catalina.connector.Request, org.apache.catalina.connector.Response) @bci=6, line=616 (Compiled frame)
- org.apache.catalina.core.StandardEngineValve.invoke(org.apache.catalina.connector.Request, org.apache.catalina.connector.Response) @bci=71, line=88 (Compiled frame)
- org.apache.catalina.connector.CoyoteAdapter.service(org.apache.coyote.Request, org.apache.coyote.Response) @bci=202, line=528 (Compiled frame)
- org.apache.coyote.http11.AbstractHttp11Processor.process(org.apache.tomcat.util.net.SocketWrapper) @bci=626, line=1099 (Compiled frame)
- org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(org.apache.tomcat.util.net.SocketWrapper, org.apache.tomcat.util.net.SocketStatus) @bci=330, line=670 (Compiled frame)
- org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun() @bci=166, line=1520 (Compiled frame)
- org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run() @bci=63, line=1476 (Compiled frame)
- java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) @bci=95, line=1142 (Compiled frame)
- java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=5, line=617 (Interpreted frame)
- org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run() @bci=4, line=61 (Interpreted frame)
- java.lang.Thread.run() @bci=11, line=745 (Interpreted frame)