Liferay子域一个接一个地下降,它们在服务器中没有日志,但是在单击“生成线程转储”时,我收到了以下日志
28:47,726 INFO [http-bio-8080-exec-16427][EditServerAction:610] __Full thread dump of OpenJDK 64-Bit Server VM 24.111-b01 on Thu May 30 08:28:47
__"C3P0PooledConnectionPoolManager[identityToken->UQYtaf6w]-HelperThread-#7" (main), priority=5, id=224, state=TIMED_WAITING_
java.lang.Object.wait(Native Method)_
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:683)__
"C3P0PooledConnectionPoolManager[identityToken->H3c3TImH]-HelperThread-#8" (main), priority=5, id=104, state=TIMED_WAITING_ java.lang.Object.wait(Native Method)_
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:683)__
"C3P0PooledConnectionPoolManager[identityToken->QEiK7UfZ]-HelperThread-#3" (main), priority=5, id=26, state=TIMED_WAITING_
java.lang.Object.wait(Native Method)_ com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:683)__"http-bio-8080-exec-14251" (main), priority=5, id=15445, state=WAITING_
java.lang.Object.wait(Native Method)_
com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1465)_ com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:644)_
com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:554)_
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutAndMarkConnectionInUse(C3P0PooledConnectionPool.java:758)_ com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:685)_ com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:140)_ org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy$LazyConnectionInvocationHandler.getTargetConnection(LazyConnectionDataSourceProxy.java:403)
_ org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy$LazyConnectionInvocationHandler.invoke(LazyConnectionDataSourceProxy.java:376)_ com.sun.proxy.$Proxy3.prepareStatement(Unknown Source)_ org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:534)_ org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:452)_ org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)_ org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1700)_
org.hibernate.loader.Loader.doQuery(Loader.java:801)_
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
_org.hibernate.loader.Loader.doList(Loader.java:2542)_
org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)_
org.hibernate.loader.Loader.list(Loader.java:2271)_
org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:316)_
org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1842)_ org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:165)_
org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:157)_
com.liferay.portal.dao.orm.hibernate.SQLQueryImpl.list(SQLQueryImpl.java:177)_
com.liferay.portal.dao.orm.hibernate.SQLQueryImpl.list(SQLQueryImpl.java:168)_ com.liferay.portal.dao.orm.hibernate.SQLQueryImpl.iterate(SQLQueryImpl.java:140)_
com.liferay.portal.dao.orm.hibernate.SQLQueryImpl.iterate(SQLQueryImpl.java:132)_ com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskInstanceTokenFinderImpl.countKaleoTaskInstanceTokens(KaleoTaskInstanceTokenFinderImpl.java:79)_
sun.reflect.GeneratedMethodAccessor893.invoke(Unknown Source)_ sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)_
java.lang.reflect.Method.invoke(Method.java:606)_
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:320)_ org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)_ org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)_
com.liferay.portal.dao.shard.advice.ShardPersistenceAdvice.invoke(ShardPersistenceAdvice.java:101)_ org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
_org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
_org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)_ org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)_
com.sun.proxy.$Proxy905.countKaleoTaskInstanceTokens(Unknown Source)_ com.liferay.portal.workflow.kaleo.service.impl.KaleoTaskInstanceTokenLocalServiceImpl.searchCount(KaleoTaskInstanceTokenLocalServiceImpl.java:575)_ com.liferay.portal.workflow.kaleo.service.impl.KaleoTaskInstanceTokenLocalServiceImpl.searchCount(KaleoTaskInstanceTokenLocalServiceImpl.java:538)_ com.liferay.portal.workflow.kaleo.service.impl.KaleoTaskInstanceTokenLocalServiceImpl.searchCount(KaleoTaskInstanceTokenLocalServiceImpl.java:525)_ sun.reflect.GeneratedMethodAccessor939.invoke(Unknown Source)_ sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)_ java.lang.reflect.Method.invoke(Method.java:606)_
com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)_ com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)_ com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)_ com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)_
com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)_
com.sun.proxy.$Proxy903.searchCount(Unknown Source)_
com.liferay.portal.workflow.kaleo.service.KaleoTaskInstanceTokenLocalServiceUtil.searchCount(KaleoTaskInstanceTokenLocalServiceUtil.java:511)_ com.liferay.portal.workflow.kaleo.WorkflowTaskManagerImpl.getWorkflowTaskCountByUserRoles(WorkflowTaskManagerImpl.java:353)_ sun.reflect.GeneratedMethodAccessor882.invoke(Unknown Source)_ sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)_ \
java.lang.reflect.Method.invoke(Method.java:606)_ org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:320)_ org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)_
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)_
com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:48)_ org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)_
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)_
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)_ org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)_ com.sun.proxy.$Proxy915.getWorkflowTaskCountByUserRoles(Unknown Source)_
sun.reflect.GeneratedMethodAccessor882.invoke(Unknown Source)_
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)_ java.lang.reflect.Method.invoke(Method.java:606)_
com.liferay.portal.kernel.messaging.proxy.ProxyRequest.execute(ProxyRequest.java:85)_ com.liferay.portal.kernel.messaging.proxy.ProxyMessageListener.receive(ProxyMessageListener.java:51)_
com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72)_
com.liferay.portal.kernel.messaging.SynchronousDestination.send(SynchronousDestination.java:41)_ com.liferay.portal.kernel.messaging.sender.DirectSynchronousMessageSender.send(DirectSynchronousMessageSender.java:54)_ com.liferay.portal.kernel.messaging.sender.DefaultSingleDestinationSynchronousMessageSender.send(DefaultSingleDestinationSynchronousMessageSender.java:42)_
com.liferay.portal.kernel.messaging.proxy.BaseProxyBean.synchronousSend(BaseProxyBean.java:51)_
com.liferay.portal.messaging.proxy.MessagingProxyInvocationHandler.invoke(MessagingProxyInvocationHandler.java:47)_ com.sun.proxy.$Proxy492.getWorkflowTaskCountByUserRoles(Unknown Source)_
sun.reflect.GeneratedMethodAccessor882.invoke(Unknown Source)_ sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)_
java.lang.reflect.Method.invoke(Method.java:606)_
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:320)_ org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)_ org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)_ org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)_ com.liferay.portal.workflow.WorkflowPermissionAdvice.invoke(WorkflowPermissionAdvice.java:49)_
sun.reflect.GeneratedMethodAccessor892.invoke(Unknown Source)_ sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)_
java.lang.reflect.Method.invoke(Method.java:606)_ org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)_ org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)_ org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)_ org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)_ org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)_org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)_ org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)_
com.sun.proxy.$Proxy493.getWorkflowTaskCountByUserRoles(Unknown Source)_ com.liferay.portal.kernel.workflow.WorkflowTaskManagerUtil.getWorkflowTaskCountByUserRoles(WorkflowTaskManagerUtil.java:126)_ com.liferay.portal.workflow.MyWorkflowTasksControlPanelEntry.hasPermissionImplicitlyGranted(MyWorkflowTasksControlPanelEntry.java:40)_ com.liferay.portlet.BaseControlPanelEntry.hasAccessPermission(BaseControlPanelEntry.java:52)_ com.liferay.portal.service.permission.PortletPermissionImpl.hasControlPanelAccessPermission(PortletPermissionImpl.java:507)_
com.liferay.portal.service.permission.PortletPermissionUtil.hasControlPanelAccessPermission(PortletPermissionUtil.java:305)_ com.liferay.portal.util.PortalImpl.filterControlPanelPortlets(PortalImpl.java:7089)_ com.liferay.portal.util.PortalImpl.getControlPanelPortlets(PortalImpl.java:1621)_ com.liferay.portal.util.PortalImpl.getFirstMyAccountPortlet(PortalImpl.java:2343)_ com.liferay.portal.util.PortalUtil.getFirstMyAccountPortlet(PortalUtil.java:587)_ com.liferay.portal.events.ServicePreAction.initThemeDisplay(ServicePreAction.java:1201)_
com.liferay.portal.events.ServicePreAction.servicePre(ServicePreAction.java:2126)_ com.liferay.portal.events.ServicePreAction.run(ServicePreAction.java:1390)_
com.liferay.portal.events.EventsProcessorImpl.processEvent(EventsProcessorImpl.java:83)_ com.liferay.portal.events.EventsProcessorImpl.process(EventsProcessorImpl.java:59)_
com.liferay.portal.events.EventsProcessorUtil.process(EventsProcessorUtil.java:40)_ com.liferay.portal.servlet.MainServlet.processServicePre(MainServlet.java:1123)_
com.liferay.portal.servlet.MainServlet.service(MainServlet.java:487)_
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)_
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)_ org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)_
com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)_ com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)_
com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:293)_
com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)_ com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)_
com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)_
com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)_ com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)_
com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)_
com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)_ com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)_
com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)_ org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)_ org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)_ org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)_
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)_ org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)_
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)_ com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:160)_
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)_ org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)_ org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)_
com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)_ com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)_
com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:359)_ com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)_ com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)_ com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilte(InvokerFilterChain.java:109)_ com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:19)_ com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:123)_ com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)_
com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)_ com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)_ com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)_
com.liferay.portal.servlet.filters.secure.SecureFilter.
作为Portal-ext.properties的一部分,我具有Following db属性
jdbc.default.driverClassName=com.mysql.jdbc.Driver
jdbc.default.url=xxxx
jdbc.default.username=xxxx
jdbc.default.password=xxxxx
jdbc.default.preferredTestQuery=SELECT 1;
jdbc.default.acquireIncrement=1
jdbc.default.initialPoolSize=1
jdbc.default.maxPoolSize=5
jdbc.default.minPoolSize=1
jdbc.default.maxActive=4
jdbc.default.minIdle=0
能否请您说出子域关闭的原因可能是什么。并且在重新启动tomcat后可以正常工作,并在24小时后再次出现该问题