realwangpu
realwangpu
2021-06-11 23:24
采纳率: 96.7%
浏览 25

com.tongweb.tongejb.util.Pool阻塞

"http-nio-0.0.0.0-8088-exec-27" #761 daemon prio=5 os_prio=0 tid=0x0000fff66c009800 nid=0x2b52 waiting on condition [0x0000fffbb53fb000]
   java.lang.Thread.State: TIMED_WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for  <0x0000000083a25d70> (a java.util.concurrent.Semaphore$NonfairSync)
    at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1037)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1328)
    at java.util.concurrent.Semaphore.tryAcquire(Semaphore.java:409)
    at com.tongweb.tongejb.util.Pool.pop(Pool.java:190)
    at com.tongweb.tongejb.util.Pool.pop(Pool.java:171)
    at com.tongweb.tongejb.core.stateless.StatelessInstanceManager$Data.poolPop(StatelessInstanceManager.java:448)
    at com.tongweb.tongejb.core.stateless.ThorStatelessInstanceManager.getInstance(ThorStatelessInstanceManager.java:69)
    at com.tongweb.tongejb.core.stateless.ThorStatelessContainer.invoke(ThorStatelessContainer.java:161)
    at com.tongweb.tongejb.core.ivm.EjbObjectProxyHandler.synchronizedBusinessMethod(EjbObjectProxyHandler.java:254)
    at com.tongweb.tongejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:249)
    at com.tongweb.tongejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:93)
    at com.tongweb.tongejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:280)
    at com.sun.proxy.$Proxy140.delegate(Unknown Source)
    at nc.bs.framework.ejb.CMTEJBServiceHandler.invoke(CMTEJBServiceHandler.java:32)
    at com.sun.proxy.$Proxy322.queryAllUseRecentVisitVO(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at nccloud.framework.service.ServiceHandler.invoke(ServiceHandler.java:121)
    at com.sun.proxy.$Proxy322.queryAllUseRecentVisitVO(Unknown Source)
    at nccloud.web.platform.workbench.action.AddUserVisitAction.doAction(AddUserVisitAction.java:33)
    at nccloud.framework.web.action.excutor.CommonActionExcutor.excute(CommonActionExcutor.java:18)
    at nccloud.framework.web.action.entry.ActionExcutor.excute(ActionExcutor.java:93)
    at nccloud.framework.web.action.entry.Dispatcher.excute(Dispatcher.java:84)
    at nccloud.framework.web.action.entry.Dispatcher.doAction(Dispatcher.java:41)
    at nccloud.framework.web.action.entry.EntryController.doPost(EntryController.java:42)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    at com.tongweb.web.thor.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    at com.tongweb.web.thor.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at com.tongweb.web.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at com.tongweb.web.thor.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at com.tongweb.web.thor.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at nccloud.framework.core.filter.UserAppCodeAuthorizeFilter.doFilter(UserAppCodeAuthorizeFilter.java:74)
    at com.tongweb.web.thor.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at com.tongweb.web.thor.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at nccloud.framework.core.filter.AppActionAuthorizeFilter.validateActionAuthorized(AppActionAuthorizeFilter.java:201)
    at nccloud.framework.core.filter.AppActionAuthorizeFilter.doFilter(AppActionAuthorizeFilter.java:83)
    at com.tongweb.web.thor.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at com.tongweb.web.thor.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at nccloud.framework.core.filter.LoginFilter.doFilter(LoginFilter.java:127)
    at com.tongweb.web.thor.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at com.tongweb.web.thor.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at nccloud.framework.core.filter.CorsFilter.handleNonCORS(CorsFilter.java:450)
    at nccloud.framework.core.filter.CorsFilter.doFilter(CorsFilter.java:129)
    at com.tongweb.web.thor.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at com.tongweb.web.thor.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at nccloud.framework.core.filter.SecurityFilter.doFilter(SecurityFilter.java:87)
    at com.tongweb.web.thor.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at com.tongweb.web.thor.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    at com.tongweb.web.thor.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at com.tongweb.web.thor.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at nccloud.framework.core.filter.EntryLeaveFilter.doFilter(EntryLeaveFilter.java:54)
    at com.tongweb.web.thor.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at com.tongweb.web.thor.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at nccloud.framework.core.filter.HostFilter.doFilter(HostFilter.java:36)
    at com.tongweb.web.thor.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at com.tongweb.web.thor.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at com.tongweb.web.thor.core.ThorStandardWrapperValve.invoke(ThorStandardWrapperValve.java:202)
    at com.tongweb.web.thor.core.StandardContextValve.invoke(StandardContextValve.java:242)
    at com.tongweb.twnt.thor.OpenEJBValve.invoke(OpenEJBValve.java:46)
    at com.tongweb.web.thor.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    at com.tongweb.web.thor.core.ThorStandardHostValve.invoke(ThorStandardHostValve.java:69)
    at com.tongweb.web.thor.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    at com.tongweb.web.thor.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at com.tongweb.web.thor.connector.CoyoteAdapter.service(CoyoteAdapter.java:411)
    at com.tongweb.web.oro.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1017)
    at com.tongweb.web.oro.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
    at com.tongweb.web.webutil.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1788)
    at com.tongweb.web.webutil.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1765)
    - locked <0x000000008b569330> (a com.tongweb.web.webutil.util.net.NioChannel)
    at com.tongweb.web.webutil.util.threads.TWThreadPoolExecutor.runWorker(TWThreadPoolExecutor.java:1165)
    at com.tongweb.web.webutil.util.threads.TWThreadPoolExecutor$Worker.run(TWThreadPoolExecutor.java:622)
    at java.lang.Thread.run(Thread.java:748)

"http-nio-0.0.0.0-8088-exec-26" #760 daemon prio=5 os_prio=0 tid=0x0000fff660006000 nid=0x2b51 waiting on condition [0x0000fffbb71fa000]
   java.lang.Thread.State: TIMED_WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for  <0x0000000083a25d70> (a java.util.concurrent.Semaphore$NonfairSync)
    at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1037)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1328)
    at java.util.concurrent.Semaphore.tryAcquire(Semaphore.java:409)
    at com.tongweb.tongejb.util.Pool.pop(Pool.java:190)
    at com.tongweb.tongejb.util.Pool.pop(Pool.java:171)
    at com.tongweb.tongejb.core.stateless.StatelessInstanceManager$Data.poolPop(StatelessInstanceManager.java:448)
    at com.tongweb.tongejb.core.stateless.ThorStatelessInstanceManager.getInstance(ThorStatelessInstanceManager.java:69)
    at com.tongweb.tongejb.core.stateless.ThorStatelessContainer.invoke(ThorStatelessContainer.java:161)
    at com.tongweb.tongejb.core.ivm.EjbObjectProxyHandler.synchronizedBusinessMethod(EjbObjectProxyHandler.java:254)
    at com.tongweb.tongejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:249)
    at com.tongweb.tongejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:93)
    at com.tongweb.tongejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:280)
    at com.sun.proxy.$Proxy140.delegate(Unknown Source)
    at nc.bs.framework.ejb.CMTEJBServiceHandler.invoke(CMTEJBServiceHandler.java:32)
    at com.sun.proxy.$Proxy307.queryUserPermAppPksOrCodes(Unknown Source)
    at nccloud.pubimpl.platform.workbench.AppMenuItemImpl.appendPermissionFilter(AppMenuItemImpl.java:976)
    at nccloud.pubimpl.platform.workbench.AppMenuItemImpl.queryModulesHasApp(AppMenuItemImpl.java:835)
    at sun.reflect.GeneratedMethodAccessor1035.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at nc.bs.framework.aop.rt.MethodProceedingJoinpoint$3.invoke(MethodProceedingJoinpoint.java:74)
    at nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:184)
    at nc.bs.framework.server.SecurityAspect.aroundMethod1(SecurityAspect.java:69)
    at sun.reflect.GeneratedMethodAccessor405.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at nc.bs.framework.aop.rt.AdviceHolder.invoke(AdviceHolder.java:182)
    at nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:129)
    at nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:135)
    at nc.bs.framework.aop.rt.AspectedProxy.invoke(AspectedProxy.java:60)
    at com.sun.proxy.$Proxy309.queryModulesHasApp(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor1035.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at nc.bs.framework.ejb.CMTProxyImpl.delegate(CMTProxyImpl.java:22)
    at nc.itf.framework.ejb.CMTProxyEJB30Bean.delegate(CMTProxyEJB30Bean.java:73)
    at sun.reflect.GeneratedMethodAccessor225.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.tongweb.tongejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:185)
    at com.tongweb.tongejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:167)
    at com.tongweb.tongejb.cdi.CdiInterceptor.invoke(CdiInterceptor.java:131)
    at com.tongweb.tongejb.cdi.CdiInterceptor.access$000(CdiInterceptor.java:46)
    at com.tongweb.tongejb.cdi.CdiInterceptor$1.call(CdiInterceptor.java:67)
    at com.tongweb.tongejb.cdi.CdiInterceptor.aroundInvoke(CdiInterceptor.java:73)
    at sun.reflect.GeneratedMethodAccessor205.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.tongweb.tongejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:185)
    at com.tongweb.tongejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:167)
    at com.tongweb.tongejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:179)
    at com.tongweb.tongejb.monitoring.StatsInterceptor.invoke(StatsInterceptor.java:97)
    at sun.reflect.GeneratedMethodAccessor204.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.tongweb.tongejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:185)
    at com.tongweb.tongejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:167)
    at com.tongweb.tongejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:138)
    at com.tongweb.tongejb.core.stateless.ThorStatelessContainer._invoke(ThorStatelessContainer.java:215)
    at com.tongweb.tongejb.core.stateless.ThorStatelessContainer.invoke(ThorStatelessContainer.java:172)
    at com.tongweb.tongejb.core.ivm.EjbObjectProxyHandler.synchronizedBusinessMethod(EjbObjectProxyHandler.java:254)
    at com.tongweb.tongejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:249)
    at com.tongweb.tongejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:93)
    at com.tongweb.tongejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:280)
    at com.sun.proxy.$Proxy140.delegate(Unknown Source)
    at nc.bs.framework.ejb.CMTEJBServiceHandler.invoke(CMTEJBServiceHandler.java:32)
    at com.sun.proxy.$Proxy308.queryModulesHasApp(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor1035.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at nccloud.framework.service.ServiceHandler.invoke(ServiceHandler.java:121)
    at com.sun.proxy.$Proxy308.queryModulesHasApp(Unknown Source)
    at nccloud.web.platform.workbench.action.LazyQueryAppRegisterAction.doAction(LazyQueryAppRegisterAction.java:82)
    at nccloud.framework.web.action.excutor.CommonActionExcutor.excute(CommonActionExcutor.java:18)
    at nccloud.framework.web.action.entry.ActionExcutor.excute(ActionExcutor.java:93)
    at nccloud.framework.web.action.entry.Dispatcher.excute(Dispatcher.java:84)
    at nccloud.framework.web.action.entry.Dispatcher.doAction(Dispatcher.java:41)
    at nccloud.framework.web.action.entry.EntryController.doPost(EntryController.java:42)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    at com.tongweb.web.thor.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    at com.tongweb.web.thor.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at com.tongweb.web.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at com.tongweb.web.thor.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at com.tongweb.web.thor.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at nccloud.framework.core.filter.UserAppCodeAuthorizeFilter.doFilter(UserAppCodeAuthorizeFilter.java:74)
    at com.tongweb.web.thor.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at com.tongweb.web.thor.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at nccloud.framework.core.filter.AppActionAuthorizeFilter.validateActionAuthorized(AppActionAuthorizeFilter.java:201)
    at nccloud.framework.core.filter.AppActionAuthorizeFilter.doFilter(AppActionAuthorizeFilter.java:83)
    at com.tongweb.web.thor.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at com.tongweb.web.thor.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at nccloud.framework.core.filter.LoginFilter.doFilter(LoginFilter.java:127)
    at com.tongweb.web.thor.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at com.tongweb.web.thor.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at nccloud.framework.core.filter.CorsFilter.handleNonCORS(CorsFilter.java:450)
    at nccloud.framework.core.filter.CorsFilter.doFilter(CorsFilter.java:129)
    at com.tongweb.web.thor.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at com.tongweb.web.thor.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at nccloud.framework.core.filter.SecurityFilter.doFilter(SecurityFilter.java:87)
    at com.tongweb.web.thor.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at com.tongweb.web.thor.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    at com.tongweb.web.thor.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at com.tongweb.web.thor.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at nccloud.framework.core.filter.EntryLeaveFilter.doFilter(EntryLeaveFilter.java:54)
    at com.tongweb.web.thor.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at com.tongweb.web.thor.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at nccloud.framework.core.filter.HostFilter.doFilter(HostFilter.java:36)
    at com.tongweb.web.thor.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at com.tongweb.web.thor.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at com.tongweb.web.thor.core.ThorStandardWrapperValve.invoke(ThorStandardWrapperValve.java:202)
    at com.tongweb.web.thor.core.StandardContextValve.invoke(StandardContextValve.java:242)
    at com.tongweb.twnt.thor.OpenEJBValve.invoke(OpenEJBValve.java:46)
    at com.tongweb.web.thor.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    at com.tongweb.web.thor.core.ThorStandardHostValve.invoke(ThorStandardHostValve.java:69)
    at com.tongweb.web.thor.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    at com.tongweb.web.thor.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at com.tongweb.web.thor.connector.CoyoteAdapter.service(CoyoteAdapter.java:411)
    at com.tongweb.web.oro.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1017)
    at com.tongweb.web.oro.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
    at com.tongweb.web.webutil.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1788)
    at com.tongweb.web.webutil.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1765)
    - locked <0x000000008b49a650> (a com.tongweb.web.webutil.util.net.NioChannel)
    at com.tongweb.web.webutil.util.threads.TWThreadPoolExecutor.runWorker(TWThreadPoolExecutor.java:1165)
    at com.tongweb.web.webutil.util.threads.TWThreadPoolExecutor$Worker.run(TWThreadPoolExecutor.java:622)
    at java.lang.Thread.run(Thread.java:748)
 

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • realwangpu
    realwangpu 2021-06-11 23:29
    已采纳

    增大TongWeb  EJB池实例即可解决

     

    点赞 评论

相关推荐