Merge branch 'version_performance_2.0' of http://gitlab.ldxinyong.com/enterpriseManagement/lz_management into version_performance_2.0

This commit is contained in:
杜建超 2020-11-11 15:55:40 +08:00
commit 777432b0cd
10 changed files with 172 additions and 1389 deletions

View File

@ -1,596 +0,0 @@
2020-08-11 09:10:03.111 [localhost,,] [main] INFO com.lz.LinziApplication - 10.0.0.195 Starting LinziApplication on quyixiaodeMacBook-Pro.local with PID 18506 (/Users/quyixiao/project/lz_management/target/classes started by quyixiao in /Users/quyixiao/project/lz_management)
2020-08-11 09:10:03.124 [localhost,,] [main] INFO com.lz.LinziApplication - 10.0.0.195 The following profiles are active: dev
2020-08-11 09:10:04.374 [localhost,,] [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - 10.0.0.195 Multiple Spring Data modules found, entering strict repository configuration mode!
2020-08-11 09:10:04.378 [localhost,,] [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - 10.0.0.195 Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2020-08-11 09:10:04.456 [localhost,,] [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - 10.0.0.195 Finished Spring Data repository scanning in 48ms. Found 0 Redis repository interfaces.
2020-08-11 09:10:04.857 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'shiroConfig' of type [com.lz.config.ShiroConfig$$EnhancerBySpringCGLIB$$3d7de503] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:05.023 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'mybatis-plus-com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties' of type [com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:05.028 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'mybatisPlusConfig' of type [com.lz.config.MybatisPlusConfig$$EnhancerBySpringCGLIB$$17298e5f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:05.037 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'paginationInterceptor' of type [com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:05.045 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration' of type [com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration$$EnhancerBySpringCGLIB$$d745617e] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:05.049 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'dynamic-com.lz.datasource.properties.DynamicDataSourceProperties' of type [com.lz.datasource.properties.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:05.051 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'dynamicDataSourceConfig' of type [com.lz.datasource.config.DynamicDataSourceConfig$$EnhancerBySpringCGLIB$$4a35eb99] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:05.058 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'dataSourceProperties' of type [com.lz.datasource.properties.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:10.114 [localhost,,] [main] INFO com.alibaba.druid.pool.DruidDataSource - 10.0.0.195 {dataSource-1} inited
2020-08-11 09:10:10.116 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'dynamicDataSource' of type [com.lz.datasource.config.DynamicDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.074 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sqlSessionFactory' of type [org.apache.ibatis.session.defaults.DefaultSqlSessionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.081 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sqlSessionTemplate' of type [org.mybatis.spring.SqlSessionTemplate] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.082 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysMenuDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.086 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysMenuDao' of type [com.sun.proxy.$Proxy87] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.089 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysUserDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.090 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysUserDao' of type [com.sun.proxy.$Proxy88] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.092 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysUserTokenDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.093 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysUserTokenDao' of type [com.sun.proxy.$Proxy89] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.094 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'shiroServiceImpl' of type [com.lz.modules.sys.service.impl.ShiroServiceImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.094 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'OAuth2Realm' of type [com.lz.modules.sys.oauth2.OAuth2Realm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.304 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.428 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.476 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:12.071 [localhost,,] [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - 10.0.0.195 Tomcat initialized with port(s): 8080 (http)
2020-08-11 09:10:12.086 [localhost,,] [main] INFO org.apache.catalina.core.StandardService - 10.0.0.195 Starting service [Tomcat]
2020-08-11 09:10:12.086 [localhost,,] [main] INFO org.apache.catalina.core.StandardEngine - 10.0.0.195 Starting Servlet engine: [Apache Tomcat/9.0.30]
2020-08-11 09:10:12.191 [localhost,,] [main] INFO o.a.c.c.C.[Tomcat].[localhost].[/lz_management] - 10.0.0.195 Initializing Spring embedded WebApplicationContext
2020-08-11 09:10:12.192 [localhost,,] [main] INFO org.springframework.web.context.ContextLoader - 10.0.0.195 Root WebApplicationContext: initialization completed in 8992 ms
2020-08-11 09:10:13.533 [localhost,,] [main] INFO org.quartz.impl.StdSchedulerFactory - 10.0.0.195 Using default implementation for ThreadExecutor
2020-08-11 09:10:13.560 [localhost,,] [main] INFO org.quartz.core.SchedulerSignalerImpl - 10.0.0.195 Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2020-08-11 09:10:13.561 [localhost,,] [main] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Quartz Scheduler v.2.3.0 created.
2020-08-11 09:10:13.574 [localhost,,] [main] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 Using db table-based data access locking (synchronization).
2020-08-11 09:10:13.577 [localhost,,] [main] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 JobStoreCMT initialized.
2020-08-11 09:10:13.578 [localhost,,] [main] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler meta-data: Quartz Scheduler (v2.3.0) 'LinziScheduler' with instanceId 'quyixiaodeMacBook-Pro.local1597108213538'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 20 threads.
Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.
2020-08-11 09:10:13.578 [localhost,,] [main] INFO org.quartz.impl.StdSchedulerFactory - 10.0.0.195 Quartz scheduler 'LinziScheduler' initialized from an externally provided properties instance.
2020-08-11 09:10:13.578 [localhost,,] [main] INFO org.quartz.impl.StdSchedulerFactory - 10.0.0.195 Quartz scheduler version: 2.3.0
2020-08-11 09:10:13.580 [localhost,,] [main] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 JobFactory set to: org.springframework.scheduling.quartz.AdaptableJobFactory@56da8847
2020-08-11 09:10:16.999 [localhost,,] [main] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping - 10.0.0.195 Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)]
2020-08-11 09:10:17.304 [localhost,,] [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - 10.0.0.195 Initializing ExecutorService 'applicationTaskExecutor'
2020-08-11 09:10:17.846 [localhost,,] [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - 10.0.0.195 Context refreshed
2020-08-11 09:10:17.871 [localhost,,] [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - 10.0.0.195 Found 1 custom documentation plugin(s)
2020-08-11 09:10:17.922 [localhost,,] [main] INFO s.d.spring.web.scanners.ApiListingReferenceScanner - 10.0.0.195 Scanning for api listing references
2020-08-11 09:10:18.150 [localhost,,] [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator - 10.0.0.195 Generating unique operation named: userInfoUsingGET_1
2020-08-11 09:10:18.179 [localhost,,] [main] INFO o.s.scheduling.quartz.SchedulerFactoryBean - 10.0.0.195 Will start Quartz Scheduler [LinziScheduler] in 30 seconds
2020-08-11 09:10:18.245 [localhost,,] [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - 10.0.0.195 Tomcat started on port(s): 8080 (http) with context path '/lz_management'
2020-08-11 09:10:18.249 [localhost,,] [main] INFO com.lz.LinziApplication - 10.0.0.195 Started LinziApplication in 16.363 seconds (JVM running for 19.059)
2020-08-11 09:10:30.119 [localhost,,] [http-nio-8080-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/lz_management] - 10.0.0.195 Initializing Spring DispatcherServlet 'dispatcherServlet'
2020-08-11 09:10:30.120 [localhost,,] [http-nio-8080-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - 10.0.0.195 Initializing Servlet 'dispatcherServlet'
2020-08-11 09:10:30.131 [localhost,,] [http-nio-8080-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - 10.0.0.195 Completed initialization in 11 ms
2020-08-11 09:10:30.158 [localhost,,] [http-nio-8080-exec-1] DEBUG c.lz.modules.sys.dao.SysUserTokenDao.queryByToken - 10.0.0.195 ==> Preparing: select * from sys_user_token where token = ?
2020-08-11 09:10:30.166 [localhost,,] [http-nio-8080-exec-1] DEBUG c.lz.modules.sys.dao.SysUserTokenDao.queryByToken - 10.0.0.195 ==> Parameters: null(String)
2020-08-11 09:10:30.178 [localhost,,] [http-nio-8080-exec-1] DEBUG c.lz.modules.sys.dao.SysUserTokenDao.queryByToken - 10.0.0.195 <== Total: 0
2020-08-11 09:10:48.184 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO o.s.scheduling.quartz.SchedulerFactoryBean - 10.0.0.195 Starting Quartz Scheduler now, after delay of 30 seconds
2020-08-11 09:10:48.589 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 ClusterManager: detected 1 failed or restarted instances.
2020-08-11 09:10:48.589 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 ClusterManager: Scanning for instance "quyixiaodeMacBook-Pro.local1597053994958"'s failed in-progress jobs.
2020-08-11 09:10:48.824 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108213538 started.
2020-08-11 09:10:48.983 [localhost,,] [QuartzScheduler_LinziScheduler-quyixiaodeMacBook-Pro.local1597108213538_MisfireHandler] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 Handling the first 1 triggers that missed their scheduled fire-time. More misfired triggers remain to be processed.
2020-08-11 09:10:49.940 [localhost,,] [QuartzScheduler_LinziScheduler-quyixiaodeMacBook-Pro.local1597108213538_MisfireHandler] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 Handling 1 trigger(s) that missed their scheduled fire-time.
2020-08-11 09:13:43.130 [localhost,,] [SpringContextShutdownHook] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108213538 paused.
2020-08-11 09:13:43.131 [localhost,,] [SpringContextShutdownHook] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - 10.0.0.195 Shutting down ExecutorService 'applicationTaskExecutor'
2020-08-11 09:13:43.134 [localhost,,] [SpringContextShutdownHook] INFO o.s.scheduling.quartz.SchedulerFactoryBean - 10.0.0.195 Shutting down Quartz Scheduler
2020-08-11 09:13:43.134 [localhost,,] [SpringContextShutdownHook] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108213538 shutting down.
2020-08-11 09:13:43.134 [localhost,,] [SpringContextShutdownHook] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108213538 paused.
2020-08-11 09:13:43.135 [localhost,,] [SpringContextShutdownHook] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108213538 shutdown complete.
2020-08-11 09:14:12.775 [localhost,,] [main] INFO com.lz.LinziApplication - 10.0.0.195 Starting LinziApplication on quyixiaodeMacBook-Pro.local with PID 18706 (/Users/quyixiao/project/lz_management/target/classes started by quyixiao in /Users/quyixiao/project/lz_management)
2020-08-11 09:14:12.779 [localhost,,] [main] INFO com.lz.LinziApplication - 10.0.0.195 The following profiles are active: dev
2020-08-11 09:14:13.745 [localhost,,] [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - 10.0.0.195 Multiple Spring Data modules found, entering strict repository configuration mode!
2020-08-11 09:14:13.747 [localhost,,] [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - 10.0.0.195 Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2020-08-11 09:14:13.790 [localhost,,] [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - 10.0.0.195 Finished Spring Data repository scanning in 28ms. Found 0 Redis repository interfaces.
2020-08-11 09:14:14.079 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'shiroConfig' of type [com.lz.config.ShiroConfig$$EnhancerBySpringCGLIB$$e82c702] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:14.202 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'mybatis-plus-com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties' of type [com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:14.206 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'mybatisPlusConfig' of type [com.lz.config.MybatisPlusConfig$$EnhancerBySpringCGLIB$$e82e705e] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:14.212 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'paginationInterceptor' of type [com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:14.218 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration' of type [com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration$$EnhancerBySpringCGLIB$$a84a437d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:14.222 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'dynamic-com.lz.datasource.properties.DynamicDataSourceProperties' of type [com.lz.datasource.properties.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:14.223 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'dynamicDataSourceConfig' of type [com.lz.datasource.config.DynamicDataSourceConfig$$EnhancerBySpringCGLIB$$1b3acd98] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:14.230 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'dataSourceProperties' of type [com.lz.datasource.properties.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:19.220 [localhost,,] [main] INFO com.alibaba.druid.pool.DruidDataSource - 10.0.0.195 {dataSource-1} inited
2020-08-11 09:14:19.221 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'dynamicDataSource' of type [com.lz.datasource.config.DynamicDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.035 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sqlSessionFactory' of type [org.apache.ibatis.session.defaults.DefaultSqlSessionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.041 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sqlSessionTemplate' of type [org.mybatis.spring.SqlSessionTemplate] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.042 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysMenuDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.044 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysMenuDao' of type [com.sun.proxy.$Proxy87] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.046 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysUserDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.047 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysUserDao' of type [com.sun.proxy.$Proxy88] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.050 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysUserTokenDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.051 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysUserTokenDao' of type [com.sun.proxy.$Proxy89] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.051 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'shiroServiceImpl' of type [com.lz.modules.sys.service.impl.ShiroServiceImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.051 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'OAuth2Realm' of type [com.lz.modules.sys.oauth2.OAuth2Realm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.214 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.287 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.345 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.943 [localhost,,] [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - 10.0.0.195 Tomcat initialized with port(s): 8080 (http)
2020-08-11 09:14:20.952 [localhost,,] [main] INFO org.apache.catalina.core.StandardService - 10.0.0.195 Starting service [Tomcat]
2020-08-11 09:14:20.953 [localhost,,] [main] INFO org.apache.catalina.core.StandardEngine - 10.0.0.195 Starting Servlet engine: [Apache Tomcat/9.0.30]
2020-08-11 09:14:21.030 [localhost,,] [main] INFO o.a.c.c.C.[Tomcat].[localhost].[/lz_management] - 10.0.0.195 Initializing Spring embedded WebApplicationContext
2020-08-11 09:14:21.031 [localhost,,] [main] INFO org.springframework.web.context.ContextLoader - 10.0.0.195 Root WebApplicationContext: initialization completed in 8210 ms
2020-08-11 09:14:22.275 [localhost,,] [main] INFO org.quartz.impl.StdSchedulerFactory - 10.0.0.195 Using default implementation for ThreadExecutor
2020-08-11 09:14:22.289 [localhost,,] [main] INFO org.quartz.core.SchedulerSignalerImpl - 10.0.0.195 Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2020-08-11 09:14:22.289 [localhost,,] [main] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Quartz Scheduler v.2.3.0 created.
2020-08-11 09:14:22.316 [localhost,,] [main] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 Using db table-based data access locking (synchronization).
2020-08-11 09:14:22.319 [localhost,,] [main] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 JobStoreCMT initialized.
2020-08-11 09:14:22.321 [localhost,,] [main] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler meta-data: Quartz Scheduler (v2.3.0) 'LinziScheduler' with instanceId 'quyixiaodeMacBook-Pro.local1597108462276'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 20 threads.
Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.
2020-08-11 09:14:22.322 [localhost,,] [main] INFO org.quartz.impl.StdSchedulerFactory - 10.0.0.195 Quartz scheduler 'LinziScheduler' initialized from an externally provided properties instance.
2020-08-11 09:14:22.322 [localhost,,] [main] INFO org.quartz.impl.StdSchedulerFactory - 10.0.0.195 Quartz scheduler version: 2.3.0
2020-08-11 09:14:22.326 [localhost,,] [main] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 JobFactory set to: org.springframework.scheduling.quartz.AdaptableJobFactory@b81938d
2020-08-11 09:14:26.462 [localhost,,] [main] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping - 10.0.0.195 Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)]
2020-08-11 09:14:26.664 [localhost,,] [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - 10.0.0.195 Initializing ExecutorService 'applicationTaskExecutor'
2020-08-11 09:14:27.161 [localhost,,] [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - 10.0.0.195 Context refreshed
2020-08-11 09:14:27.175 [localhost,,] [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - 10.0.0.195 Found 1 custom documentation plugin(s)
2020-08-11 09:14:27.213 [localhost,,] [main] INFO s.d.spring.web.scanners.ApiListingReferenceScanner - 10.0.0.195 Scanning for api listing references
2020-08-11 09:14:27.349 [localhost,,] [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator - 10.0.0.195 Generating unique operation named: userInfoUsingGET_1
2020-08-11 09:14:27.358 [localhost,,] [main] INFO o.s.scheduling.quartz.SchedulerFactoryBean - 10.0.0.195 Will start Quartz Scheduler [LinziScheduler] in 30 seconds
2020-08-11 09:14:27.422 [localhost,,] [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - 10.0.0.195 Tomcat started on port(s): 8080 (http) with context path '/lz_management'
2020-08-11 09:14:27.432 [localhost,,] [main] INFO com.lz.LinziApplication - 10.0.0.195 Started LinziApplication in 16.012 seconds (JVM running for 17.629)
2020-08-11 09:14:57.359 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO o.s.scheduling.quartz.SchedulerFactoryBean - 10.0.0.195 Starting Quartz Scheduler now, after delay of 30 seconds
2020-08-11 09:14:57.644 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 ClusterManager: detected 1 failed or restarted instances.
2020-08-11 09:14:57.644 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 ClusterManager: Scanning for instance "quyixiaodeMacBook-Pro.local1597108213538"'s failed in-progress jobs.
2020-08-11 09:14:57.881 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108462276 started.
2020-08-11 09:14:57.989 [localhost,,] [QuartzScheduler_LinziScheduler-quyixiaodeMacBook-Pro.local1597108462276_MisfireHandler] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 Handling the first 1 triggers that missed their scheduled fire-time. More misfired triggers remain to be processed.
2020-08-11 09:14:58.561 [localhost,,] [QuartzScheduler_LinziScheduler-quyixiaodeMacBook-Pro.local1597108462276_MisfireHandler] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 Handling 1 trigger(s) that missed their scheduled fire-time.
2020-08-11 09:18:36.217 [localhost,,] [LinziScheduler_QuartzSchedulerThread] ERROR com.alibaba.druid.pool.DruidDataSource - 10.0.0.195 discard connection
com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
The last packet successfully received from the server was 37,528 milliseconds ago. The last packet sent successfully to the server was 37,573 milliseconds ago.
at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64)
at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2054)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:738)
at com.alibaba.druid.filter.FilterAdapter.connection_setAutoCommit(FilterAdapter.java:985)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:733)
at com.alibaba.druid.filter.FilterAdapter.connection_setAutoCommit(FilterAdapter.java:985)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:733)
at com.alibaba.druid.proxy.jdbc.ConnectionProxyImpl.setAutoCommit(ConnectionProxyImpl.java:430)
at com.alibaba.druid.pool.DruidPooledConnection.setAutoCommit(DruidPooledConnection.java:712)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.setAutoCommit(AttributeRestoringConnectionInvocationHandler.java:98)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:66)
at com.sun.proxy.$Proxy143.setAutoCommit(Unknown Source)
at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:191)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3846)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTriggers(JobStoreSupport.java:2802)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:287)
Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
The last packet successfully received from the server was 37,528 milliseconds ago. The last packet sent successfully to the server was 37,573 milliseconds ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:541)
at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:711)
at com.mysql.cj.protocol.a.NativeProtocol.sendCommand(NativeProtocol.java:650)
at com.mysql.cj.protocol.a.NativeProtocol.sendQueryPacket(NativeProtocol.java:949)
at com.mysql.cj.protocol.a.NativeProtocol.sendQueryString(NativeProtocol.java:895)
at com.mysql.cj.NativeSession.execSQL(NativeSession.java:1111)
at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2044)
... 14 common frames omitted
Caused by: java.net.SocketException: Operation timed out (Read failed)
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at com.mysql.cj.protocol.ReadAheadInputStream.fill(ReadAheadInputStream.java:107)
at com.mysql.cj.protocol.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:150)
at com.mysql.cj.protocol.ReadAheadInputStream.read(ReadAheadInputStream.java:180)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at com.mysql.cj.protocol.FullReadInputStream.readFully(FullReadInputStream.java:64)
at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:63)
at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:45)
at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:52)
at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:41)
at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:54)
at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:44)
at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:535)
... 20 common frames omitted
2020-08-11 09:18:36.219 [localhost,,] [LinziScheduler_QuartzSchedulerThread] WARN o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 Failed to override connection auto commit/transaction isolation.
com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
The last packet successfully received from the server was 37,528 milliseconds ago. The last packet sent successfully to the server was 37,573 milliseconds ago.
at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64)
at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2054)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:738)
at com.alibaba.druid.filter.FilterAdapter.connection_setAutoCommit(FilterAdapter.java:985)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:733)
at com.alibaba.druid.filter.FilterAdapter.connection_setAutoCommit(FilterAdapter.java:985)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:733)
at com.alibaba.druid.proxy.jdbc.ConnectionProxyImpl.setAutoCommit(ConnectionProxyImpl.java:430)
at com.alibaba.druid.pool.DruidPooledConnection.setAutoCommit(DruidPooledConnection.java:712)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.setAutoCommit(AttributeRestoringConnectionInvocationHandler.java:98)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:66)
at com.sun.proxy.$Proxy143.setAutoCommit(Unknown Source)
at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:191)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3846)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTriggers(JobStoreSupport.java:2802)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:287)
Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
The last packet successfully received from the server was 37,528 milliseconds ago. The last packet sent successfully to the server was 37,573 milliseconds ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:541)
at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:711)
at com.mysql.cj.protocol.a.NativeProtocol.sendCommand(NativeProtocol.java:650)
at com.mysql.cj.protocol.a.NativeProtocol.sendQueryPacket(NativeProtocol.java:949)
at com.mysql.cj.protocol.a.NativeProtocol.sendQueryString(NativeProtocol.java:895)
at com.mysql.cj.NativeSession.execSQL(NativeSession.java:1111)
at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2044)
... 14 common frames omitted
Caused by: java.net.SocketException: Operation timed out (Read failed)
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at com.mysql.cj.protocol.ReadAheadInputStream.fill(ReadAheadInputStream.java:107)
at com.mysql.cj.protocol.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:150)
at com.mysql.cj.protocol.ReadAheadInputStream.read(ReadAheadInputStream.java:180)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at com.mysql.cj.protocol.FullReadInputStream.readFully(FullReadInputStream.java:64)
at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:63)
at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:45)
at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:52)
at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:41)
at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:54)
at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:44)
at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:535)
... 20 common frames omitted
2020-08-11 09:18:36.221 [localhost,,] [LinziScheduler_QuartzSchedulerThread] WARN o.q.i.j.AttributeRestoringConnectionInvocationHandler - 10.0.0.195 Failed restore connection's original auto commit setting.
java.sql.SQLException: connection disabled
at com.alibaba.druid.pool.DruidPooledConnection.checkStateInternal(DruidPooledConnection.java:1163)
at com.alibaba.druid.pool.DruidPooledConnection.checkState(DruidPooledConnection.java:1148)
at com.alibaba.druid.pool.DruidPooledConnection.setAutoCommit(DruidPooledConnection.java:701)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.restoreOriginalAtributes(AttributeRestoringConnectionInvocationHandler.java:141)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.cleanupConnection(JobStoreSupport.java:3662)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3881)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTriggers(JobStoreSupport.java:2802)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:287)
Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
The last packet successfully received from the server was 37,528 milliseconds ago. The last packet sent successfully to the server was 37,573 milliseconds ago.
at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64)
at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2054)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:738)
at com.alibaba.druid.filter.FilterAdapter.connection_setAutoCommit(FilterAdapter.java:985)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:733)
at com.alibaba.druid.filter.FilterAdapter.connection_setAutoCommit(FilterAdapter.java:985)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:733)
at com.alibaba.druid.proxy.jdbc.ConnectionProxyImpl.setAutoCommit(ConnectionProxyImpl.java:430)
at com.alibaba.druid.pool.DruidPooledConnection.setAutoCommit(DruidPooledConnection.java:712)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.setAutoCommit(AttributeRestoringConnectionInvocationHandler.java:98)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:66)
at com.sun.proxy.$Proxy143.setAutoCommit(Unknown Source)
at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:191)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3846)
... 2 common frames omitted
Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
The last packet successfully received from the server was 37,528 milliseconds ago. The last packet sent successfully to the server was 37,573 milliseconds ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:541)
at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:711)
at com.mysql.cj.protocol.a.NativeProtocol.sendCommand(NativeProtocol.java:650)
at com.mysql.cj.protocol.a.NativeProtocol.sendQueryPacket(NativeProtocol.java:949)
at com.mysql.cj.protocol.a.NativeProtocol.sendQueryString(NativeProtocol.java:895)
at com.mysql.cj.NativeSession.execSQL(NativeSession.java:1111)
at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2044)
... 14 common frames omitted
Caused by: java.net.SocketException: Operation timed out (Read failed)
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at com.mysql.cj.protocol.ReadAheadInputStream.fill(ReadAheadInputStream.java:107)
at com.mysql.cj.protocol.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:150)
at com.mysql.cj.protocol.ReadAheadInputStream.read(ReadAheadInputStream.java:180)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at com.mysql.cj.protocol.FullReadInputStream.readFully(FullReadInputStream.java:64)
at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:63)
at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:45)
at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:52)
at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:41)
at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:54)
at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:44)
at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:535)
... 20 common frames omitted
2020-08-11 09:18:36.222 [localhost,,] [LinziScheduler_QuartzSchedulerThread] ERROR org.quartz.core.ErrorLogger - 10.0.0.195 An error occurred while scanning for the next triggers to fire.
org.quartz.JobPersistenceException: Couldn't acquire next trigger: connection disabled
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2910)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$41.execute(JobStoreSupport.java:2805)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$41.execute(JobStoreSupport.java:2803)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3849)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTriggers(JobStoreSupport.java:2802)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:287)
Caused by: java.sql.SQLException: connection disabled
at com.alibaba.druid.pool.DruidPooledConnection.checkStateInternal(DruidPooledConnection.java:1163)
at com.alibaba.druid.pool.DruidPooledConnection.checkState(DruidPooledConnection.java:1148)
at com.alibaba.druid.pool.DruidPooledConnection.prepareStatement(DruidPooledConnection.java:336)
at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:73)
at com.sun.proxy.$Proxy143.prepareStatement(Unknown Source)
at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectTriggerToAcquire(StdJDBCDelegate.java:2599)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2844)
... 5 common frames omitted
Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
The last packet successfully received from the server was 37,528 milliseconds ago. The last packet sent successfully to the server was 37,573 milliseconds ago.
at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64)
at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2054)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:738)
at com.alibaba.druid.filter.FilterAdapter.connection_setAutoCommit(FilterAdapter.java:985)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:733)
at com.alibaba.druid.filter.FilterAdapter.connection_setAutoCommit(FilterAdapter.java:985)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:733)
at com.alibaba.druid.proxy.jdbc.ConnectionProxyImpl.setAutoCommit(ConnectionProxyImpl.java:430)
at com.alibaba.druid.pool.DruidPooledConnection.setAutoCommit(DruidPooledConnection.java:712)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.setAutoCommit(AttributeRestoringConnectionInvocationHandler.java:98)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:66)
at com.sun.proxy.$Proxy143.setAutoCommit(Unknown Source)
at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:191)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3846)
... 2 common frames omitted
Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
The last packet successfully received from the server was 37,528 milliseconds ago. The last packet sent successfully to the server was 37,573 milliseconds ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:541)
at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:711)
at com.mysql.cj.protocol.a.NativeProtocol.sendCommand(NativeProtocol.java:650)
at com.mysql.cj.protocol.a.NativeProtocol.sendQueryPacket(NativeProtocol.java:949)
at com.mysql.cj.protocol.a.NativeProtocol.sendQueryString(NativeProtocol.java:895)
at com.mysql.cj.NativeSession.execSQL(NativeSession.java:1111)
at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2044)
... 14 common frames omitted
Caused by: java.net.SocketException: Operation timed out (Read failed)
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at com.mysql.cj.protocol.ReadAheadInputStream.fill(ReadAheadInputStream.java:107)
at com.mysql.cj.protocol.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:150)
at com.mysql.cj.protocol.ReadAheadInputStream.read(ReadAheadInputStream.java:180)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at com.mysql.cj.protocol.FullReadInputStream.readFully(FullReadInputStream.java:64)
at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:63)
at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:45)
at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:52)
at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:41)
at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:54)
at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:44)
at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:535)
... 20 common frames omitted
2020-08-11 09:18:37.308 [localhost,,] [http-nio-8080-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/lz_management] - 10.0.0.195 Initializing Spring DispatcherServlet 'dispatcherServlet'
2020-08-11 09:18:37.309 [localhost,,] [http-nio-8080-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - 10.0.0.195 Initializing Servlet 'dispatcherServlet'
2020-08-11 09:18:37.318 [localhost,,] [http-nio-8080-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - 10.0.0.195 Completed initialization in 9 ms
2020-08-11 09:19:01.579 [localhost,,] [SpringContextShutdownHook] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108462276 paused.
2020-08-11 09:19:01.581 [localhost,,] [SpringContextShutdownHook] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - 10.0.0.195 Shutting down ExecutorService 'applicationTaskExecutor'
2020-08-11 09:19:01.584 [localhost,,] [SpringContextShutdownHook] INFO o.s.scheduling.quartz.SchedulerFactoryBean - 10.0.0.195 Shutting down Quartz Scheduler
2020-08-11 09:19:01.585 [localhost,,] [SpringContextShutdownHook] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108462276 shutting down.
2020-08-11 09:19:01.585 [localhost,,] [SpringContextShutdownHook] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108462276 paused.
2020-08-11 09:19:01.588 [localhost,,] [QuartzScheduler_LinziScheduler-quyixiaodeMacBook-Pro.local1597108462276_MisfireHandler] ERROR o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 MisfireHandler: Error handling misfires: Failed to obtain DB connection from data source 'springNonTxDataSource.LinziScheduler': java.sql.SQLException
org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'springNonTxDataSource.LinziScheduler': java.sql.SQLException
at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:168)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.doRecoverMisfires(JobStoreSupport.java:3231)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.manage(JobStoreSupport.java:3997)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.run(JobStoreSupport.java:4018)
Caused by: java.sql.SQLException: null
at com.alibaba.druid.pool.DruidDataSource.getConnectionInternal(DruidDataSource.java:1531)
at com.alibaba.druid.pool.DruidDataSource.getConnectionDirect(DruidDataSource.java:1306)
at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:5007)
at com.alibaba.druid.filter.FilterAdapter.dataSource_getConnection(FilterAdapter.java:2745)
at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:5003)
at com.alibaba.druid.filter.stat.StatFilter.dataSource_getConnection(StatFilter.java:680)
at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:5003)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1284)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1276)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:89)
at org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource.getConnection(AbstractRoutingDataSource.java:170)
at org.springframework.scheduling.quartz.LocalDataSourceJobStore$2.getConnection(LocalDataSourceJobStore.java:135)
at org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:108)
at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:165)
... 3 common frames omitted
Caused by: java.lang.InterruptedException: null
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2014)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2088)
at com.alibaba.druid.pool.DruidDataSource.pollLast(DruidDataSource.java:2029)
at com.alibaba.druid.pool.DruidDataSource.getConnectionInternal(DruidDataSource.java:1517)
... 16 common frames omitted
2020-08-11 09:19:01.591 [localhost,,] [QuartzScheduler_LinziScheduler-quyixiaodeMacBook-Pro.local1597108462276_ClusterManager] ERROR o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 ClusterManager: Error managing cluster: Failed to obtain DB connection from data source 'springNonTxDataSource.LinziScheduler': java.sql.SQLException
org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'springNonTxDataSource.LinziScheduler': java.sql.SQLException
at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:168)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.doCheckin(JobStoreSupport.java:3307)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:3920)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.run(JobStoreSupport.java:3957)
Caused by: java.sql.SQLException: null
at com.alibaba.druid.pool.DruidDataSource.getConnectionInternal(DruidDataSource.java:1531)
at com.alibaba.druid.pool.DruidDataSource.getConnectionDirect(DruidDataSource.java:1306)
at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:5007)
at com.alibaba.druid.filter.FilterAdapter.dataSource_getConnection(FilterAdapter.java:2745)
at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:5003)
at com.alibaba.druid.filter.stat.StatFilter.dataSource_getConnection(StatFilter.java:680)
at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:5003)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1284)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1276)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:89)
at org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource.getConnection(AbstractRoutingDataSource.java:170)
at org.springframework.scheduling.quartz.LocalDataSourceJobStore$2.getConnection(LocalDataSourceJobStore.java:135)
at org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:108)
at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:165)
... 3 common frames omitted
Caused by: java.lang.InterruptedException: null
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2014)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2088)
at com.alibaba.druid.pool.DruidDataSource.pollLast(DruidDataSource.java:2029)
at com.alibaba.druid.pool.DruidDataSource.getConnectionInternal(DruidDataSource.java:1517)
... 16 common frames omitted
2020-08-11 09:19:01.593 [localhost,,] [SpringContextShutdownHook] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108462276 shutdown complete.
2020-08-11 09:19:09.326 [localhost,,] [main] INFO com.lz.LinziApplication - 10.0.0.195 Starting LinziApplication on quyixiaodeMacBook-Pro.local with PID 18906 (/Users/quyixiao/project/lz_management/target/classes started by quyixiao in /Users/quyixiao/project/lz_management)
2020-08-11 09:19:09.328 [localhost,,] [main] INFO com.lz.LinziApplication - 10.0.0.195 The following profiles are active: dev
2020-08-11 09:19:10.423 [localhost,,] [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - 10.0.0.195 Multiple Spring Data modules found, entering strict repository configuration mode!
2020-08-11 09:19:10.426 [localhost,,] [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - 10.0.0.195 Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2020-08-11 09:19:10.492 [localhost,,] [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - 10.0.0.195 Finished Spring Data repository scanning in 53ms. Found 0 Redis repository interfaces.
2020-08-11 09:19:11.045 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'shiroConfig' of type [com.lz.config.ShiroConfig$$EnhancerBySpringCGLIB$$62f03f66] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:11.169 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'mybatis-plus-com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties' of type [com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:11.174 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'mybatisPlusConfig' of type [com.lz.config.MybatisPlusConfig$$EnhancerBySpringCGLIB$$3c9be8c2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:11.179 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'paginationInterceptor' of type [com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:11.185 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration' of type [com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration$$EnhancerBySpringCGLIB$$fcb7bbe1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:11.189 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'dynamic-com.lz.datasource.properties.DynamicDataSourceProperties' of type [com.lz.datasource.properties.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:11.190 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'dynamicDataSourceConfig' of type [com.lz.datasource.config.DynamicDataSourceConfig$$EnhancerBySpringCGLIB$$6fa845fc] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:11.199 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'dataSourceProperties' of type [com.lz.datasource.properties.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:16.181 [localhost,,] [main] INFO com.alibaba.druid.pool.DruidDataSource - 10.0.0.195 {dataSource-1} inited
2020-08-11 09:19:16.183 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'dynamicDataSource' of type [com.lz.datasource.config.DynamicDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:16.855 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sqlSessionFactory' of type [org.apache.ibatis.session.defaults.DefaultSqlSessionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:16.862 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sqlSessionTemplate' of type [org.mybatis.spring.SqlSessionTemplate] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:16.863 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysMenuDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:16.864 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysMenuDao' of type [com.sun.proxy.$Proxy87] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:16.867 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysUserDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:16.867 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysUserDao' of type [com.sun.proxy.$Proxy88] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:16.869 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysUserTokenDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:16.870 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysUserTokenDao' of type [com.sun.proxy.$Proxy89] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:16.870 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'shiroServiceImpl' of type [com.lz.modules.sys.service.impl.ShiroServiceImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:16.871 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'OAuth2Realm' of type [com.lz.modules.sys.oauth2.OAuth2Realm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:17.018 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:17.067 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:17.101 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:17.504 [localhost,,] [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - 10.0.0.195 Tomcat initialized with port(s): 8080 (http)
2020-08-11 09:19:17.515 [localhost,,] [main] INFO org.apache.catalina.core.StandardService - 10.0.0.195 Starting service [Tomcat]
2020-08-11 09:19:17.516 [localhost,,] [main] INFO org.apache.catalina.core.StandardEngine - 10.0.0.195 Starting Servlet engine: [Apache Tomcat/9.0.30]
2020-08-11 09:19:17.588 [localhost,,] [main] INFO o.a.c.c.C.[Tomcat].[localhost].[/lz_management] - 10.0.0.195 Initializing Spring embedded WebApplicationContext
2020-08-11 09:19:17.589 [localhost,,] [main] INFO org.springframework.web.context.ContextLoader - 10.0.0.195 Root WebApplicationContext: initialization completed in 8218 ms
2020-08-11 09:19:18.496 [localhost,,] [main] INFO org.quartz.impl.StdSchedulerFactory - 10.0.0.195 Using default implementation for ThreadExecutor
2020-08-11 09:19:18.506 [localhost,,] [main] INFO org.quartz.core.SchedulerSignalerImpl - 10.0.0.195 Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2020-08-11 09:19:18.506 [localhost,,] [main] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Quartz Scheduler v.2.3.0 created.
2020-08-11 09:19:18.515 [localhost,,] [main] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 Using db table-based data access locking (synchronization).
2020-08-11 09:19:18.517 [localhost,,] [main] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 JobStoreCMT initialized.
2020-08-11 09:19:18.517 [localhost,,] [main] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler meta-data: Quartz Scheduler (v2.3.0) 'LinziScheduler' with instanceId 'quyixiaodeMacBook-Pro.local1597108758497'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 20 threads.
Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.
2020-08-11 09:19:18.518 [localhost,,] [main] INFO org.quartz.impl.StdSchedulerFactory - 10.0.0.195 Quartz scheduler 'LinziScheduler' initialized from an externally provided properties instance.
2020-08-11 09:19:18.518 [localhost,,] [main] INFO org.quartz.impl.StdSchedulerFactory - 10.0.0.195 Quartz scheduler version: 2.3.0
2020-08-11 09:19:18.519 [localhost,,] [main] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 JobFactory set to: org.springframework.scheduling.quartz.AdaptableJobFactory@f01fc6d
2020-08-11 09:19:21.310 [localhost,,] [main] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping - 10.0.0.195 Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)]
2020-08-11 09:19:21.514 [localhost,,] [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - 10.0.0.195 Initializing ExecutorService 'applicationTaskExecutor'
2020-08-11 09:19:22.293 [localhost,,] [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - 10.0.0.195 Context refreshed
2020-08-11 09:19:22.309 [localhost,,] [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - 10.0.0.195 Found 1 custom documentation plugin(s)
2020-08-11 09:19:22.346 [localhost,,] [main] INFO s.d.spring.web.scanners.ApiListingReferenceScanner - 10.0.0.195 Scanning for api listing references
2020-08-11 09:19:22.492 [localhost,,] [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator - 10.0.0.195 Generating unique operation named: userInfoUsingGET_1
2020-08-11 09:19:22.504 [localhost,,] [main] INFO o.s.scheduling.quartz.SchedulerFactoryBean - 10.0.0.195 Will start Quartz Scheduler [LinziScheduler] in 30 seconds
2020-08-11 09:19:22.588 [localhost,,] [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - 10.0.0.195 Tomcat started on port(s): 8080 (http) with context path '/lz_management'
2020-08-11 09:19:22.602 [localhost,,] [main] INFO com.lz.LinziApplication - 10.0.0.195 Started LinziApplication in 13.999 seconds (JVM running for 15.166)
2020-08-11 09:19:40.554 [localhost,,] [http-nio-8080-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/lz_management] - 10.0.0.195 Initializing Spring DispatcherServlet 'dispatcherServlet'
2020-08-11 09:19:40.554 [localhost,,] [http-nio-8080-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - 10.0.0.195 Initializing Servlet 'dispatcherServlet'
2020-08-11 09:19:40.565 [localhost,,] [http-nio-8080-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - 10.0.0.195 Completed initialization in 10 ms
2020-08-11 09:19:40.631 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.sys.dao.SysUserDao.queryByUserName - 10.0.0.195 ==> Preparing: select * from sys_user where username = ?
2020-08-11 09:19:40.638 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.sys.dao.SysUserDao.queryByUserName - 10.0.0.195 ==> Parameters: admin(String)
2020-08-11 09:19:40.652 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.sys.dao.SysUserDao.queryByUserName - 10.0.0.195 <== Total: 1
2020-08-11 09:19:40.663 [localhost,,] [http-nio-8080-exec-1] DEBUG c.lz.modules.app.dao.CodeRecordDao.getNoCerifyCode - 10.0.0.195 ==> Preparing: select * from lz_code_record where type=? and is_check=0 and send_account=? and gmt_create>DATE_SUB(now(),interval 30 minute) limit 1
2020-08-11 09:19:40.667 [localhost,,] [http-nio-8080-exec-1] DEBUG c.lz.modules.app.dao.CodeRecordDao.getNoCerifyCode - 10.0.0.195 ==> Parameters: 1(Integer), 13612345678(String)
2020-08-11 09:19:40.750 [localhost,,] [http-nio-8080-exec-1] DEBUG c.lz.modules.app.dao.CodeRecordDao.getNoCerifyCode - 10.0.0.195 <== Total: 0
2020-08-11 09:19:40.769 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.app.dao.CodeRecordDao.selectCount - 10.0.0.195 ==> Preparing: SELECT COUNT( 1 ) FROM lz_code_record WHERE (send_account = ? AND gmt_create >= ? AND gmt_create <= ?)
2020-08-11 09:19:40.773 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.app.dao.CodeRecordDao.selectCount - 10.0.0.195 ==> Parameters: 13612345678(String), 2020-08-11 00:00:00.0(Timestamp), 2020-08-11 23:59:59.999(Timestamp)
2020-08-11 09:19:40.799 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.app.dao.CodeRecordDao.selectCount - 10.0.0.195 <== Total: 1
2020-08-11 09:19:40.805 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.sys.dao.SysConfigDao.queryByKey - 10.0.0.195 ==> Preparing: select * from sys_config where param_key = ?
2020-08-11 09:19:40.806 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.sys.dao.SysConfigDao.queryByKey - 10.0.0.195 ==> Parameters: LOGIN_VERIFICATION_SEND_NUM(String)
2020-08-11 09:19:40.864 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.sys.dao.SysConfigDao.queryByKey - 10.0.0.195 <== Total: 1
2020-08-11 09:19:40.870 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.app.dao.SmsTemplateDao.selectOne - 10.0.0.195 ==> Preparing: SELECT id,gmt_create,gmt_modify,is_delete,channel_id,content,name,remark,sign,mark,scene_name,account_id FROM lz_sms_template WHERE (is_delete = ? AND name = ?)
2020-08-11 09:19:40.871 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.app.dao.SmsTemplateDao.selectOne - 10.0.0.195 ==> Parameters: 0(Integer), LZ_LOGIN_VERIFICATION(String)
2020-08-11 09:19:40.913 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.app.dao.SmsTemplateDao.selectOne - 10.0.0.195 <== Total: 1
2020-08-11 09:19:40.920 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.app.dao.CodeRecordDao.insert - 10.0.0.195 ==> Preparing: INSERT INTO lz_code_record ( type, user_id, send_account, verify_code, result, is_check ) VALUES ( ?, ?, ?, ?, ?, ? )
2020-08-11 09:19:40.921 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.app.dao.CodeRecordDao.insert - 10.0.0.195 ==> Parameters: 1(Integer), 1(Long), 13612345678(String), 888888(String), successful(String), 0(Integer)
2020-08-11 09:19:41.008 [localhost,,] [http-nio-8080-exec-1] DEBUG com.lz.modules.app.dao.CodeRecordDao.insert - 10.0.0.195 <== Updates: 1
2020-08-11 09:19:48.527 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.sys.dao.SysUserDao.queryByUserName - 10.0.0.195 ==> Preparing: select * from sys_user where username = ?
2020-08-11 09:19:48.529 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.sys.dao.SysUserDao.queryByUserName - 10.0.0.195 ==> Parameters: admin(String)
2020-08-11 09:19:48.535 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.sys.dao.SysUserDao.queryByUserName - 10.0.0.195 <== Total: 1
2020-08-11 09:19:48.577 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.app.dao.CodeRecordDao.selectOne - 10.0.0.195 ==> Preparing: SELECT id,is_delete,gmt_create,gmt_modified,type,user_id,send_account,verify_code,result,is_check FROM lz_code_record WHERE (send_account = ? AND verify_code = ? AND is_check = ? AND gmt_create >= ?)
2020-08-11 09:19:48.579 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.app.dao.CodeRecordDao.selectOne - 10.0.0.195 ==> Parameters: 13612345678(String), 888888(String), 0(Integer), 2020-08-11 08:49:48.535(Timestamp)
2020-08-11 09:19:48.584 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.app.dao.CodeRecordDao.selectOne - 10.0.0.195 <== Total: 1
2020-08-11 09:19:48.589 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.app.dao.CodeRecordDao.updateById - 10.0.0.195 ==> Preparing: UPDATE lz_code_record SET is_delete=?, gmt_create=?, gmt_modified=?, type=?, user_id=?, send_account=?, verify_code=?, result=?, is_check=? WHERE id=?
2020-08-11 09:19:48.592 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.app.dao.CodeRecordDao.updateById - 10.0.0.195 ==> Parameters: 0(Integer), 2020-08-11 09:19:42.0(Timestamp), 2020-08-11 09:19:42.0(Timestamp), 1(Integer), 1(Long), 13612345678(String), 888888(String), successful(String), 1(Integer), 11(Long)
2020-08-11 09:19:48.682 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.app.dao.CodeRecordDao.updateById - 10.0.0.195 <== Updates: 1
2020-08-11 09:19:48.696 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.sys.dao.SysUserTokenDao.selectById - 10.0.0.195 ==> Preparing: SELECT user_id,token,expire_time,update_time FROM sys_user_token WHERE user_id=?
2020-08-11 09:19:48.698 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.sys.dao.SysUserTokenDao.selectById - 10.0.0.195 ==> Parameters: 1(Long)
2020-08-11 09:19:48.730 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.sys.dao.SysUserTokenDao.selectById - 10.0.0.195 <== Total: 1
2020-08-11 09:19:48.733 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.sys.dao.SysUserTokenDao.updateById - 10.0.0.195 ==> Preparing: UPDATE sys_user_token SET token=?, expire_time=?, update_time=? WHERE user_id=?
2020-08-11 09:19:48.734 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.sys.dao.SysUserTokenDao.updateById - 10.0.0.195 ==> Parameters: 445c85f004af99f1750f4517d2b8a201(String), 2020-08-11 21:19:48.694(Timestamp), 2020-08-11 09:19:48.694(Timestamp), 1(Long)
2020-08-11 09:19:48.826 [localhost,,] [http-nio-8080-exec-2] DEBUG com.lz.modules.sys.dao.SysUserTokenDao.updateById - 10.0.0.195 <== Updates: 1
2020-08-11 09:19:48.862 [localhost,,] [http-nio-8080-exec-3] DEBUG c.lz.modules.sys.dao.SysUserTokenDao.queryByToken - 10.0.0.195 ==> Preparing: select * from sys_user_token where token = ?
2020-08-11 09:19:48.863 [localhost,,] [http-nio-8080-exec-3] DEBUG c.lz.modules.sys.dao.SysUserTokenDao.queryByToken - 10.0.0.195 ==> Parameters: 445c85f004af99f1750f4517d2b8a201(String)
2020-08-11 09:19:48.876 [localhost,,] [http-nio-8080-exec-3] DEBUG c.lz.modules.sys.dao.SysUserTokenDao.queryByToken - 10.0.0.195 <== Total: 1
2020-08-11 09:19:48.880 [localhost,,] [http-nio-8080-exec-3] DEBUG com.lz.modules.sys.dao.SysUserDao.selectById - 10.0.0.195 ==> Preparing: SELECT user_id,real_name,user_no,username,password,mobile,salt,email,status,create_user_id,create_time FROM sys_user WHERE user_id=?
2020-08-11 09:19:48.882 [localhost,,] [http-nio-8080-exec-3] DEBUG com.lz.modules.sys.dao.SysUserDao.selectById - 10.0.0.195 ==> Parameters: 1(Long)
2020-08-11 09:19:48.921 [localhost,,] [http-nio-8080-exec-3] DEBUG com.lz.modules.sys.dao.SysUserDao.selectById - 10.0.0.195 <== Total: 1
2020-08-11 09:19:48.962 [localhost,,] [http-nio-8080-exec-3] DEBUG c.lz.modules.sys.dao.SysMenuDao.queryListParentId - 10.0.0.195 ==> Preparing: select * from sys_menu where parent_id = ? order by order_num asc
2020-08-11 09:19:48.967 [localhost,,] [http-nio-8080-exec-3] DEBUG c.lz.modules.sys.dao.SysMenuDao.queryListParentId - 10.0.0.195 ==> Parameters: 0(Long)
2020-08-11 09:19:48.975 [localhost,,] [http-nio-8080-exec-3] DEBUG c.lz.modules.sys.dao.SysMenuDao.queryListParentId - 10.0.0.195 <== Total: 3
2020-08-11 09:19:48.978 [localhost,,] [http-nio-8080-exec-3] DEBUG c.lz.modules.sys.dao.SysMenuDao.queryListParentId - 10.0.0.195 ==> Preparing: select * from sys_menu where parent_id = ? order by order_num asc
2020-08-11 09:19:48.978 [localhost,,] [http-nio-8080-exec-3] DEBUG c.lz.modules.sys.dao.SysMenuDao.queryListParentId - 10.0.0.195 ==> Parameters: 1(Long)
2020-08-11 09:19:49.029 [localhost,,] [http-nio-8080-exec-3] DEBUG c.lz.modules.sys.dao.SysMenuDao.queryListParentId - 10.0.0.195 <== Total: 8
2020-08-11 09:19:49.031 [localhost,,] [http-nio-8080-exec-3] DEBUG c.lz.modules.sys.dao.SysMenuDao.queryListParentId - 10.0.0.195 ==> Preparing: select * from sys_menu where parent_id = ? order by order_num asc
2020-08-11 09:19:49.032 [localhost,,] [http-nio-8080-exec-3] DEBUG c.lz.modules.sys.dao.SysMenuDao.queryListParentId - 10.0.0.195 ==> Parameters: 31(Long)
2020-08-11 09:19:49.071 [localhost,,] [http-nio-8080-exec-3] DEBUG c.lz.modules.sys.dao.SysMenuDao.queryListParentId - 10.0.0.195 <== Total: 2
2020-08-11 09:19:49.074 [localhost,,] [http-nio-8080-exec-3] DEBUG c.lz.modules.sys.dao.SysMenuDao.queryListParentId - 10.0.0.195 ==> Preparing: select * from sys_menu where parent_id = ? order by order_num asc
2020-08-11 09:19:49.074 [localhost,,] [http-nio-8080-exec-3] DEBUG c.lz.modules.sys.dao.SysMenuDao.queryListParentId - 10.0.0.195 ==> Parameters: 33(Long)
2020-08-11 09:19:49.124 [localhost,,] [http-nio-8080-exec-3] DEBUG c.lz.modules.sys.dao.SysMenuDao.queryListParentId - 10.0.0.195 <== Total: 4
2020-08-11 09:19:49.127 [localhost,,] [http-nio-8080-exec-3] DEBUG com.lz.modules.sys.dao.SysMenuDao.selectList - 10.0.0.195 ==> Preparing: SELECT menu_id,parent_id,name,url,perms,type,icon,order_num FROM sys_menu
2020-08-11 09:19:49.128 [localhost,,] [http-nio-8080-exec-3] DEBUG com.lz.modules.sys.dao.SysMenuDao.selectList - 10.0.0.195 ==> Parameters:
2020-08-11 09:19:49.175 [localhost,,] [http-nio-8080-exec-3] DEBUG com.lz.modules.sys.dao.SysMenuDao.selectList - 10.0.0.195 <== Total: 42
2020-08-11 09:19:49.316 [localhost,,] [http-nio-8080-exec-4] DEBUG c.lz.modules.sys.dao.SysUserTokenDao.queryByToken - 10.0.0.195 ==> Preparing: select * from sys_user_token where token = ?
2020-08-11 09:19:49.317 [localhost,,] [http-nio-8080-exec-4] DEBUG c.lz.modules.sys.dao.SysUserTokenDao.queryByToken - 10.0.0.195 ==> Parameters: 445c85f004af99f1750f4517d2b8a201(String)
2020-08-11 09:19:49.325 [localhost,,] [http-nio-8080-exec-4] DEBUG c.lz.modules.sys.dao.SysUserTokenDao.queryByToken - 10.0.0.195 <== Total: 1
2020-08-11 09:19:49.328 [localhost,,] [http-nio-8080-exec-4] DEBUG com.lz.modules.sys.dao.SysUserDao.selectById - 10.0.0.195 ==> Preparing: SELECT user_id,real_name,user_no,username,password,mobile,salt,email,status,create_user_id,create_time FROM sys_user WHERE user_id=?
2020-08-11 09:19:49.328 [localhost,,] [http-nio-8080-exec-4] DEBUG com.lz.modules.sys.dao.SysUserDao.selectById - 10.0.0.195 ==> Parameters: 1(Long)
2020-08-11 09:19:49.371 [localhost,,] [http-nio-8080-exec-4] DEBUG com.lz.modules.sys.dao.SysUserDao.selectById - 10.0.0.195 <== Total: 1
2020-08-11 09:19:52.505 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO o.s.scheduling.quartz.SchedulerFactoryBean - 10.0.0.195 Starting Quartz Scheduler now, after delay of 30 seconds
2020-08-11 09:19:52.791 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 ClusterManager: detected 1 failed or restarted instances.
2020-08-11 09:19:52.792 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 ClusterManager: Scanning for instance "quyixiaodeMacBook-Pro.local1597108462276"'s failed in-progress jobs.
2020-08-11 09:19:53.033 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108758497 started.
2020-08-11 09:19:53.140 [localhost,,] [QuartzScheduler_LinziScheduler-quyixiaodeMacBook-Pro.local1597108758497_MisfireHandler] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 Handling the first 1 triggers that missed their scheduled fire-time. More misfired triggers remain to be processed.
2020-08-11 09:19:53.701 [localhost,,] [QuartzScheduler_LinziScheduler-quyixiaodeMacBook-Pro.local1597108758497_MisfireHandler] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 Handling 1 trigger(s) that missed their scheduled fire-time.
2020-08-11 09:31:24.602 [localhost,,] [SpringContextShutdownHook] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108758497 paused.
2020-08-11 09:31:24.604 [localhost,,] [SpringContextShutdownHook] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - 10.0.0.195 Shutting down ExecutorService 'applicationTaskExecutor'
2020-08-11 09:31:24.608 [localhost,,] [SpringContextShutdownHook] INFO o.s.scheduling.quartz.SchedulerFactoryBean - 10.0.0.195 Shutting down Quartz Scheduler
2020-08-11 09:31:24.608 [localhost,,] [SpringContextShutdownHook] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108758497 shutting down.
2020-08-11 09:31:24.608 [localhost,,] [SpringContextShutdownHook] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108758497 paused.
2020-08-11 09:31:24.610 [localhost,,] [SpringContextShutdownHook] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108758497 shutdown complete.

View File

@ -1,190 +0,0 @@
2020-08-11 09:18:36.217 [localhost,,] [LinziScheduler_QuartzSchedulerThread] ERROR com.alibaba.druid.pool.DruidDataSource - 10.0.0.195 discard connection
com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
The last packet successfully received from the server was 37,528 milliseconds ago. The last packet sent successfully to the server was 37,573 milliseconds ago.
at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64)
at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2054)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:738)
at com.alibaba.druid.filter.FilterAdapter.connection_setAutoCommit(FilterAdapter.java:985)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:733)
at com.alibaba.druid.filter.FilterAdapter.connection_setAutoCommit(FilterAdapter.java:985)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:733)
at com.alibaba.druid.proxy.jdbc.ConnectionProxyImpl.setAutoCommit(ConnectionProxyImpl.java:430)
at com.alibaba.druid.pool.DruidPooledConnection.setAutoCommit(DruidPooledConnection.java:712)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.setAutoCommit(AttributeRestoringConnectionInvocationHandler.java:98)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:66)
at com.sun.proxy.$Proxy143.setAutoCommit(Unknown Source)
at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:191)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3846)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTriggers(JobStoreSupport.java:2802)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:287)
Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
The last packet successfully received from the server was 37,528 milliseconds ago. The last packet sent successfully to the server was 37,573 milliseconds ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:541)
at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:711)
at com.mysql.cj.protocol.a.NativeProtocol.sendCommand(NativeProtocol.java:650)
at com.mysql.cj.protocol.a.NativeProtocol.sendQueryPacket(NativeProtocol.java:949)
at com.mysql.cj.protocol.a.NativeProtocol.sendQueryString(NativeProtocol.java:895)
at com.mysql.cj.NativeSession.execSQL(NativeSession.java:1111)
at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2044)
... 14 common frames omitted
Caused by: java.net.SocketException: Operation timed out (Read failed)
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at com.mysql.cj.protocol.ReadAheadInputStream.fill(ReadAheadInputStream.java:107)
at com.mysql.cj.protocol.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:150)
at com.mysql.cj.protocol.ReadAheadInputStream.read(ReadAheadInputStream.java:180)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at com.mysql.cj.protocol.FullReadInputStream.readFully(FullReadInputStream.java:64)
at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:63)
at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:45)
at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:52)
at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:41)
at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:54)
at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:44)
at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:535)
... 20 common frames omitted
2020-08-11 09:18:36.222 [localhost,,] [LinziScheduler_QuartzSchedulerThread] ERROR org.quartz.core.ErrorLogger - 10.0.0.195 An error occurred while scanning for the next triggers to fire.
org.quartz.JobPersistenceException: Couldn't acquire next trigger: connection disabled
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2910)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$41.execute(JobStoreSupport.java:2805)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$41.execute(JobStoreSupport.java:2803)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3849)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTriggers(JobStoreSupport.java:2802)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:287)
Caused by: java.sql.SQLException: connection disabled
at com.alibaba.druid.pool.DruidPooledConnection.checkStateInternal(DruidPooledConnection.java:1163)
at com.alibaba.druid.pool.DruidPooledConnection.checkState(DruidPooledConnection.java:1148)
at com.alibaba.druid.pool.DruidPooledConnection.prepareStatement(DruidPooledConnection.java:336)
at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:73)
at com.sun.proxy.$Proxy143.prepareStatement(Unknown Source)
at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectTriggerToAcquire(StdJDBCDelegate.java:2599)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2844)
... 5 common frames omitted
Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
The last packet successfully received from the server was 37,528 milliseconds ago. The last packet sent successfully to the server was 37,573 milliseconds ago.
at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64)
at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2054)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:738)
at com.alibaba.druid.filter.FilterAdapter.connection_setAutoCommit(FilterAdapter.java:985)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:733)
at com.alibaba.druid.filter.FilterAdapter.connection_setAutoCommit(FilterAdapter.java:985)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:733)
at com.alibaba.druid.proxy.jdbc.ConnectionProxyImpl.setAutoCommit(ConnectionProxyImpl.java:430)
at com.alibaba.druid.pool.DruidPooledConnection.setAutoCommit(DruidPooledConnection.java:712)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.setAutoCommit(AttributeRestoringConnectionInvocationHandler.java:98)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:66)
at com.sun.proxy.$Proxy143.setAutoCommit(Unknown Source)
at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:191)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3846)
... 2 common frames omitted
Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
The last packet successfully received from the server was 37,528 milliseconds ago. The last packet sent successfully to the server was 37,573 milliseconds ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:541)
at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:711)
at com.mysql.cj.protocol.a.NativeProtocol.sendCommand(NativeProtocol.java:650)
at com.mysql.cj.protocol.a.NativeProtocol.sendQueryPacket(NativeProtocol.java:949)
at com.mysql.cj.protocol.a.NativeProtocol.sendQueryString(NativeProtocol.java:895)
at com.mysql.cj.NativeSession.execSQL(NativeSession.java:1111)
at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2044)
... 14 common frames omitted
Caused by: java.net.SocketException: Operation timed out (Read failed)
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at com.mysql.cj.protocol.ReadAheadInputStream.fill(ReadAheadInputStream.java:107)
at com.mysql.cj.protocol.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:150)
at com.mysql.cj.protocol.ReadAheadInputStream.read(ReadAheadInputStream.java:180)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at com.mysql.cj.protocol.FullReadInputStream.readFully(FullReadInputStream.java:64)
at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:63)
at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:45)
at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:52)
at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:41)
at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:54)
at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:44)
at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:535)
... 20 common frames omitted
2020-08-11 09:19:01.588 [localhost,,] [QuartzScheduler_LinziScheduler-quyixiaodeMacBook-Pro.local1597108462276_MisfireHandler] ERROR o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 MisfireHandler: Error handling misfires: Failed to obtain DB connection from data source 'springNonTxDataSource.LinziScheduler': java.sql.SQLException
org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'springNonTxDataSource.LinziScheduler': java.sql.SQLException
at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:168)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.doRecoverMisfires(JobStoreSupport.java:3231)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.manage(JobStoreSupport.java:3997)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.run(JobStoreSupport.java:4018)
Caused by: java.sql.SQLException: null
at com.alibaba.druid.pool.DruidDataSource.getConnectionInternal(DruidDataSource.java:1531)
at com.alibaba.druid.pool.DruidDataSource.getConnectionDirect(DruidDataSource.java:1306)
at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:5007)
at com.alibaba.druid.filter.FilterAdapter.dataSource_getConnection(FilterAdapter.java:2745)
at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:5003)
at com.alibaba.druid.filter.stat.StatFilter.dataSource_getConnection(StatFilter.java:680)
at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:5003)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1284)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1276)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:89)
at org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource.getConnection(AbstractRoutingDataSource.java:170)
at org.springframework.scheduling.quartz.LocalDataSourceJobStore$2.getConnection(LocalDataSourceJobStore.java:135)
at org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:108)
at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:165)
... 3 common frames omitted
Caused by: java.lang.InterruptedException: null
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2014)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2088)
at com.alibaba.druid.pool.DruidDataSource.pollLast(DruidDataSource.java:2029)
at com.alibaba.druid.pool.DruidDataSource.getConnectionInternal(DruidDataSource.java:1517)
... 16 common frames omitted
2020-08-11 09:19:01.591 [localhost,,] [QuartzScheduler_LinziScheduler-quyixiaodeMacBook-Pro.local1597108462276_ClusterManager] ERROR o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 ClusterManager: Error managing cluster: Failed to obtain DB connection from data source 'springNonTxDataSource.LinziScheduler': java.sql.SQLException
org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'springNonTxDataSource.LinziScheduler': java.sql.SQLException
at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:168)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.doCheckin(JobStoreSupport.java:3307)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:3920)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.run(JobStoreSupport.java:3957)
Caused by: java.sql.SQLException: null
at com.alibaba.druid.pool.DruidDataSource.getConnectionInternal(DruidDataSource.java:1531)
at com.alibaba.druid.pool.DruidDataSource.getConnectionDirect(DruidDataSource.java:1306)
at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:5007)
at com.alibaba.druid.filter.FilterAdapter.dataSource_getConnection(FilterAdapter.java:2745)
at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:5003)
at com.alibaba.druid.filter.stat.StatFilter.dataSource_getConnection(StatFilter.java:680)
at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:5003)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1284)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1276)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:89)
at org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource.getConnection(AbstractRoutingDataSource.java:170)
at org.springframework.scheduling.quartz.LocalDataSourceJobStore$2.getConnection(LocalDataSourceJobStore.java:135)
at org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:108)
at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:165)
... 3 common frames omitted
Caused by: java.lang.InterruptedException: null
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2014)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2088)
at com.alibaba.druid.pool.DruidDataSource.pollLast(DruidDataSource.java:2029)
at com.alibaba.druid.pool.DruidDataSource.getConnectionInternal(DruidDataSource.java:1517)
... 16 common frames omitted

View File

@ -1,533 +0,0 @@
2020-08-11 09:10:03.111 [localhost,,] [main] INFO com.lz.LinziApplication - 10.0.0.195 Starting LinziApplication on quyixiaodeMacBook-Pro.local with PID 18506 (/Users/quyixiao/project/lz_management/target/classes started by quyixiao in /Users/quyixiao/project/lz_management)
2020-08-11 09:10:03.124 [localhost,,] [main] INFO com.lz.LinziApplication - 10.0.0.195 The following profiles are active: dev
2020-08-11 09:10:04.374 [localhost,,] [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - 10.0.0.195 Multiple Spring Data modules found, entering strict repository configuration mode!
2020-08-11 09:10:04.378 [localhost,,] [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - 10.0.0.195 Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2020-08-11 09:10:04.456 [localhost,,] [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - 10.0.0.195 Finished Spring Data repository scanning in 48ms. Found 0 Redis repository interfaces.
2020-08-11 09:10:04.857 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'shiroConfig' of type [com.lz.config.ShiroConfig$$EnhancerBySpringCGLIB$$3d7de503] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:05.023 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'mybatis-plus-com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties' of type [com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:05.028 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'mybatisPlusConfig' of type [com.lz.config.MybatisPlusConfig$$EnhancerBySpringCGLIB$$17298e5f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:05.037 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'paginationInterceptor' of type [com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:05.045 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration' of type [com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration$$EnhancerBySpringCGLIB$$d745617e] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:05.049 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'dynamic-com.lz.datasource.properties.DynamicDataSourceProperties' of type [com.lz.datasource.properties.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:05.051 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'dynamicDataSourceConfig' of type [com.lz.datasource.config.DynamicDataSourceConfig$$EnhancerBySpringCGLIB$$4a35eb99] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:05.058 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'dataSourceProperties' of type [com.lz.datasource.properties.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:10.114 [localhost,,] [main] INFO com.alibaba.druid.pool.DruidDataSource - 10.0.0.195 {dataSource-1} inited
2020-08-11 09:10:10.116 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'dynamicDataSource' of type [com.lz.datasource.config.DynamicDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.074 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sqlSessionFactory' of type [org.apache.ibatis.session.defaults.DefaultSqlSessionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.081 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sqlSessionTemplate' of type [org.mybatis.spring.SqlSessionTemplate] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.082 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysMenuDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.086 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysMenuDao' of type [com.sun.proxy.$Proxy87] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.089 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysUserDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.090 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysUserDao' of type [com.sun.proxy.$Proxy88] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.092 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysUserTokenDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.093 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysUserTokenDao' of type [com.sun.proxy.$Proxy89] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.094 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'shiroServiceImpl' of type [com.lz.modules.sys.service.impl.ShiroServiceImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.094 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'OAuth2Realm' of type [com.lz.modules.sys.oauth2.OAuth2Realm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.304 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.428 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:11.476 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:10:12.071 [localhost,,] [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - 10.0.0.195 Tomcat initialized with port(s): 8080 (http)
2020-08-11 09:10:12.086 [localhost,,] [main] INFO org.apache.catalina.core.StandardService - 10.0.0.195 Starting service [Tomcat]
2020-08-11 09:10:12.086 [localhost,,] [main] INFO org.apache.catalina.core.StandardEngine - 10.0.0.195 Starting Servlet engine: [Apache Tomcat/9.0.30]
2020-08-11 09:10:12.191 [localhost,,] [main] INFO o.a.c.c.C.[Tomcat].[localhost].[/lz_management] - 10.0.0.195 Initializing Spring embedded WebApplicationContext
2020-08-11 09:10:12.192 [localhost,,] [main] INFO org.springframework.web.context.ContextLoader - 10.0.0.195 Root WebApplicationContext: initialization completed in 8992 ms
2020-08-11 09:10:13.533 [localhost,,] [main] INFO org.quartz.impl.StdSchedulerFactory - 10.0.0.195 Using default implementation for ThreadExecutor
2020-08-11 09:10:13.560 [localhost,,] [main] INFO org.quartz.core.SchedulerSignalerImpl - 10.0.0.195 Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2020-08-11 09:10:13.561 [localhost,,] [main] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Quartz Scheduler v.2.3.0 created.
2020-08-11 09:10:13.574 [localhost,,] [main] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 Using db table-based data access locking (synchronization).
2020-08-11 09:10:13.577 [localhost,,] [main] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 JobStoreCMT initialized.
2020-08-11 09:10:13.578 [localhost,,] [main] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler meta-data: Quartz Scheduler (v2.3.0) 'LinziScheduler' with instanceId 'quyixiaodeMacBook-Pro.local1597108213538'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 20 threads.
Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.
2020-08-11 09:10:13.578 [localhost,,] [main] INFO org.quartz.impl.StdSchedulerFactory - 10.0.0.195 Quartz scheduler 'LinziScheduler' initialized from an externally provided properties instance.
2020-08-11 09:10:13.578 [localhost,,] [main] INFO org.quartz.impl.StdSchedulerFactory - 10.0.0.195 Quartz scheduler version: 2.3.0
2020-08-11 09:10:13.580 [localhost,,] [main] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 JobFactory set to: org.springframework.scheduling.quartz.AdaptableJobFactory@56da8847
2020-08-11 09:10:16.999 [localhost,,] [main] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping - 10.0.0.195 Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)]
2020-08-11 09:10:17.304 [localhost,,] [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - 10.0.0.195 Initializing ExecutorService 'applicationTaskExecutor'
2020-08-11 09:10:17.846 [localhost,,] [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - 10.0.0.195 Context refreshed
2020-08-11 09:10:17.871 [localhost,,] [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - 10.0.0.195 Found 1 custom documentation plugin(s)
2020-08-11 09:10:17.922 [localhost,,] [main] INFO s.d.spring.web.scanners.ApiListingReferenceScanner - 10.0.0.195 Scanning for api listing references
2020-08-11 09:10:18.150 [localhost,,] [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator - 10.0.0.195 Generating unique operation named: userInfoUsingGET_1
2020-08-11 09:10:18.179 [localhost,,] [main] INFO o.s.scheduling.quartz.SchedulerFactoryBean - 10.0.0.195 Will start Quartz Scheduler [LinziScheduler] in 30 seconds
2020-08-11 09:10:18.245 [localhost,,] [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - 10.0.0.195 Tomcat started on port(s): 8080 (http) with context path '/lz_management'
2020-08-11 09:10:18.249 [localhost,,] [main] INFO com.lz.LinziApplication - 10.0.0.195 Started LinziApplication in 16.363 seconds (JVM running for 19.059)
2020-08-11 09:10:30.119 [localhost,,] [http-nio-8080-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/lz_management] - 10.0.0.195 Initializing Spring DispatcherServlet 'dispatcherServlet'
2020-08-11 09:10:30.120 [localhost,,] [http-nio-8080-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - 10.0.0.195 Initializing Servlet 'dispatcherServlet'
2020-08-11 09:10:30.131 [localhost,,] [http-nio-8080-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - 10.0.0.195 Completed initialization in 11 ms
2020-08-11 09:10:48.184 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO o.s.scheduling.quartz.SchedulerFactoryBean - 10.0.0.195 Starting Quartz Scheduler now, after delay of 30 seconds
2020-08-11 09:10:48.589 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 ClusterManager: detected 1 failed or restarted instances.
2020-08-11 09:10:48.589 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 ClusterManager: Scanning for instance "quyixiaodeMacBook-Pro.local1597053994958"'s failed in-progress jobs.
2020-08-11 09:10:48.824 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108213538 started.
2020-08-11 09:10:48.983 [localhost,,] [QuartzScheduler_LinziScheduler-quyixiaodeMacBook-Pro.local1597108213538_MisfireHandler] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 Handling the first 1 triggers that missed their scheduled fire-time. More misfired triggers remain to be processed.
2020-08-11 09:10:49.940 [localhost,,] [QuartzScheduler_LinziScheduler-quyixiaodeMacBook-Pro.local1597108213538_MisfireHandler] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 Handling 1 trigger(s) that missed their scheduled fire-time.
2020-08-11 09:13:43.130 [localhost,,] [SpringContextShutdownHook] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108213538 paused.
2020-08-11 09:13:43.131 [localhost,,] [SpringContextShutdownHook] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - 10.0.0.195 Shutting down ExecutorService 'applicationTaskExecutor'
2020-08-11 09:13:43.134 [localhost,,] [SpringContextShutdownHook] INFO o.s.scheduling.quartz.SchedulerFactoryBean - 10.0.0.195 Shutting down Quartz Scheduler
2020-08-11 09:13:43.134 [localhost,,] [SpringContextShutdownHook] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108213538 shutting down.
2020-08-11 09:13:43.134 [localhost,,] [SpringContextShutdownHook] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108213538 paused.
2020-08-11 09:13:43.135 [localhost,,] [SpringContextShutdownHook] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108213538 shutdown complete.
2020-08-11 09:14:12.775 [localhost,,] [main] INFO com.lz.LinziApplication - 10.0.0.195 Starting LinziApplication on quyixiaodeMacBook-Pro.local with PID 18706 (/Users/quyixiao/project/lz_management/target/classes started by quyixiao in /Users/quyixiao/project/lz_management)
2020-08-11 09:14:12.779 [localhost,,] [main] INFO com.lz.LinziApplication - 10.0.0.195 The following profiles are active: dev
2020-08-11 09:14:13.745 [localhost,,] [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - 10.0.0.195 Multiple Spring Data modules found, entering strict repository configuration mode!
2020-08-11 09:14:13.747 [localhost,,] [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - 10.0.0.195 Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2020-08-11 09:14:13.790 [localhost,,] [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - 10.0.0.195 Finished Spring Data repository scanning in 28ms. Found 0 Redis repository interfaces.
2020-08-11 09:14:14.079 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'shiroConfig' of type [com.lz.config.ShiroConfig$$EnhancerBySpringCGLIB$$e82c702] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:14.202 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'mybatis-plus-com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties' of type [com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:14.206 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'mybatisPlusConfig' of type [com.lz.config.MybatisPlusConfig$$EnhancerBySpringCGLIB$$e82e705e] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:14.212 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'paginationInterceptor' of type [com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:14.218 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration' of type [com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration$$EnhancerBySpringCGLIB$$a84a437d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:14.222 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'dynamic-com.lz.datasource.properties.DynamicDataSourceProperties' of type [com.lz.datasource.properties.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:14.223 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'dynamicDataSourceConfig' of type [com.lz.datasource.config.DynamicDataSourceConfig$$EnhancerBySpringCGLIB$$1b3acd98] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:14.230 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'dataSourceProperties' of type [com.lz.datasource.properties.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:19.220 [localhost,,] [main] INFO com.alibaba.druid.pool.DruidDataSource - 10.0.0.195 {dataSource-1} inited
2020-08-11 09:14:19.221 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'dynamicDataSource' of type [com.lz.datasource.config.DynamicDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.035 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sqlSessionFactory' of type [org.apache.ibatis.session.defaults.DefaultSqlSessionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.041 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sqlSessionTemplate' of type [org.mybatis.spring.SqlSessionTemplate] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.042 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysMenuDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.044 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysMenuDao' of type [com.sun.proxy.$Proxy87] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.046 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysUserDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.047 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysUserDao' of type [com.sun.proxy.$Proxy88] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.050 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysUserTokenDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.051 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysUserTokenDao' of type [com.sun.proxy.$Proxy89] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.051 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'shiroServiceImpl' of type [com.lz.modules.sys.service.impl.ShiroServiceImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.051 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'OAuth2Realm' of type [com.lz.modules.sys.oauth2.OAuth2Realm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.214 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.287 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.345 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:14:20.943 [localhost,,] [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - 10.0.0.195 Tomcat initialized with port(s): 8080 (http)
2020-08-11 09:14:20.952 [localhost,,] [main] INFO org.apache.catalina.core.StandardService - 10.0.0.195 Starting service [Tomcat]
2020-08-11 09:14:20.953 [localhost,,] [main] INFO org.apache.catalina.core.StandardEngine - 10.0.0.195 Starting Servlet engine: [Apache Tomcat/9.0.30]
2020-08-11 09:14:21.030 [localhost,,] [main] INFO o.a.c.c.C.[Tomcat].[localhost].[/lz_management] - 10.0.0.195 Initializing Spring embedded WebApplicationContext
2020-08-11 09:14:21.031 [localhost,,] [main] INFO org.springframework.web.context.ContextLoader - 10.0.0.195 Root WebApplicationContext: initialization completed in 8210 ms
2020-08-11 09:14:22.275 [localhost,,] [main] INFO org.quartz.impl.StdSchedulerFactory - 10.0.0.195 Using default implementation for ThreadExecutor
2020-08-11 09:14:22.289 [localhost,,] [main] INFO org.quartz.core.SchedulerSignalerImpl - 10.0.0.195 Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2020-08-11 09:14:22.289 [localhost,,] [main] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Quartz Scheduler v.2.3.0 created.
2020-08-11 09:14:22.316 [localhost,,] [main] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 Using db table-based data access locking (synchronization).
2020-08-11 09:14:22.319 [localhost,,] [main] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 JobStoreCMT initialized.
2020-08-11 09:14:22.321 [localhost,,] [main] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler meta-data: Quartz Scheduler (v2.3.0) 'LinziScheduler' with instanceId 'quyixiaodeMacBook-Pro.local1597108462276'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 20 threads.
Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.
2020-08-11 09:14:22.322 [localhost,,] [main] INFO org.quartz.impl.StdSchedulerFactory - 10.0.0.195 Quartz scheduler 'LinziScheduler' initialized from an externally provided properties instance.
2020-08-11 09:14:22.322 [localhost,,] [main] INFO org.quartz.impl.StdSchedulerFactory - 10.0.0.195 Quartz scheduler version: 2.3.0
2020-08-11 09:14:22.326 [localhost,,] [main] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 JobFactory set to: org.springframework.scheduling.quartz.AdaptableJobFactory@b81938d
2020-08-11 09:14:26.462 [localhost,,] [main] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping - 10.0.0.195 Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)]
2020-08-11 09:14:26.664 [localhost,,] [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - 10.0.0.195 Initializing ExecutorService 'applicationTaskExecutor'
2020-08-11 09:14:27.161 [localhost,,] [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - 10.0.0.195 Context refreshed
2020-08-11 09:14:27.175 [localhost,,] [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - 10.0.0.195 Found 1 custom documentation plugin(s)
2020-08-11 09:14:27.213 [localhost,,] [main] INFO s.d.spring.web.scanners.ApiListingReferenceScanner - 10.0.0.195 Scanning for api listing references
2020-08-11 09:14:27.349 [localhost,,] [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator - 10.0.0.195 Generating unique operation named: userInfoUsingGET_1
2020-08-11 09:14:27.358 [localhost,,] [main] INFO o.s.scheduling.quartz.SchedulerFactoryBean - 10.0.0.195 Will start Quartz Scheduler [LinziScheduler] in 30 seconds
2020-08-11 09:14:27.422 [localhost,,] [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - 10.0.0.195 Tomcat started on port(s): 8080 (http) with context path '/lz_management'
2020-08-11 09:14:27.432 [localhost,,] [main] INFO com.lz.LinziApplication - 10.0.0.195 Started LinziApplication in 16.012 seconds (JVM running for 17.629)
2020-08-11 09:14:57.359 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO o.s.scheduling.quartz.SchedulerFactoryBean - 10.0.0.195 Starting Quartz Scheduler now, after delay of 30 seconds
2020-08-11 09:14:57.644 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 ClusterManager: detected 1 failed or restarted instances.
2020-08-11 09:14:57.644 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 ClusterManager: Scanning for instance "quyixiaodeMacBook-Pro.local1597108213538"'s failed in-progress jobs.
2020-08-11 09:14:57.881 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108462276 started.
2020-08-11 09:14:57.989 [localhost,,] [QuartzScheduler_LinziScheduler-quyixiaodeMacBook-Pro.local1597108462276_MisfireHandler] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 Handling the first 1 triggers that missed their scheduled fire-time. More misfired triggers remain to be processed.
2020-08-11 09:14:58.561 [localhost,,] [QuartzScheduler_LinziScheduler-quyixiaodeMacBook-Pro.local1597108462276_MisfireHandler] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 Handling 1 trigger(s) that missed their scheduled fire-time.
2020-08-11 09:18:36.217 [localhost,,] [LinziScheduler_QuartzSchedulerThread] ERROR com.alibaba.druid.pool.DruidDataSource - 10.0.0.195 discard connection
com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
The last packet successfully received from the server was 37,528 milliseconds ago. The last packet sent successfully to the server was 37,573 milliseconds ago.
at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64)
at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2054)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:738)
at com.alibaba.druid.filter.FilterAdapter.connection_setAutoCommit(FilterAdapter.java:985)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:733)
at com.alibaba.druid.filter.FilterAdapter.connection_setAutoCommit(FilterAdapter.java:985)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:733)
at com.alibaba.druid.proxy.jdbc.ConnectionProxyImpl.setAutoCommit(ConnectionProxyImpl.java:430)
at com.alibaba.druid.pool.DruidPooledConnection.setAutoCommit(DruidPooledConnection.java:712)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.setAutoCommit(AttributeRestoringConnectionInvocationHandler.java:98)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:66)
at com.sun.proxy.$Proxy143.setAutoCommit(Unknown Source)
at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:191)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3846)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTriggers(JobStoreSupport.java:2802)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:287)
Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
The last packet successfully received from the server was 37,528 milliseconds ago. The last packet sent successfully to the server was 37,573 milliseconds ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:541)
at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:711)
at com.mysql.cj.protocol.a.NativeProtocol.sendCommand(NativeProtocol.java:650)
at com.mysql.cj.protocol.a.NativeProtocol.sendQueryPacket(NativeProtocol.java:949)
at com.mysql.cj.protocol.a.NativeProtocol.sendQueryString(NativeProtocol.java:895)
at com.mysql.cj.NativeSession.execSQL(NativeSession.java:1111)
at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2044)
... 14 common frames omitted
Caused by: java.net.SocketException: Operation timed out (Read failed)
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at com.mysql.cj.protocol.ReadAheadInputStream.fill(ReadAheadInputStream.java:107)
at com.mysql.cj.protocol.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:150)
at com.mysql.cj.protocol.ReadAheadInputStream.read(ReadAheadInputStream.java:180)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at com.mysql.cj.protocol.FullReadInputStream.readFully(FullReadInputStream.java:64)
at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:63)
at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:45)
at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:52)
at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:41)
at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:54)
at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:44)
at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:535)
... 20 common frames omitted
2020-08-11 09:18:36.219 [localhost,,] [LinziScheduler_QuartzSchedulerThread] WARN o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 Failed to override connection auto commit/transaction isolation.
com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
The last packet successfully received from the server was 37,528 milliseconds ago. The last packet sent successfully to the server was 37,573 milliseconds ago.
at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64)
at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2054)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:738)
at com.alibaba.druid.filter.FilterAdapter.connection_setAutoCommit(FilterAdapter.java:985)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:733)
at com.alibaba.druid.filter.FilterAdapter.connection_setAutoCommit(FilterAdapter.java:985)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:733)
at com.alibaba.druid.proxy.jdbc.ConnectionProxyImpl.setAutoCommit(ConnectionProxyImpl.java:430)
at com.alibaba.druid.pool.DruidPooledConnection.setAutoCommit(DruidPooledConnection.java:712)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.setAutoCommit(AttributeRestoringConnectionInvocationHandler.java:98)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:66)
at com.sun.proxy.$Proxy143.setAutoCommit(Unknown Source)
at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:191)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3846)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTriggers(JobStoreSupport.java:2802)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:287)
Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
The last packet successfully received from the server was 37,528 milliseconds ago. The last packet sent successfully to the server was 37,573 milliseconds ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:541)
at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:711)
at com.mysql.cj.protocol.a.NativeProtocol.sendCommand(NativeProtocol.java:650)
at com.mysql.cj.protocol.a.NativeProtocol.sendQueryPacket(NativeProtocol.java:949)
at com.mysql.cj.protocol.a.NativeProtocol.sendQueryString(NativeProtocol.java:895)
at com.mysql.cj.NativeSession.execSQL(NativeSession.java:1111)
at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2044)
... 14 common frames omitted
Caused by: java.net.SocketException: Operation timed out (Read failed)
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at com.mysql.cj.protocol.ReadAheadInputStream.fill(ReadAheadInputStream.java:107)
at com.mysql.cj.protocol.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:150)
at com.mysql.cj.protocol.ReadAheadInputStream.read(ReadAheadInputStream.java:180)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at com.mysql.cj.protocol.FullReadInputStream.readFully(FullReadInputStream.java:64)
at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:63)
at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:45)
at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:52)
at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:41)
at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:54)
at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:44)
at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:535)
... 20 common frames omitted
2020-08-11 09:18:36.221 [localhost,,] [LinziScheduler_QuartzSchedulerThread] WARN o.q.i.j.AttributeRestoringConnectionInvocationHandler - 10.0.0.195 Failed restore connection's original auto commit setting.
java.sql.SQLException: connection disabled
at com.alibaba.druid.pool.DruidPooledConnection.checkStateInternal(DruidPooledConnection.java:1163)
at com.alibaba.druid.pool.DruidPooledConnection.checkState(DruidPooledConnection.java:1148)
at com.alibaba.druid.pool.DruidPooledConnection.setAutoCommit(DruidPooledConnection.java:701)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.restoreOriginalAtributes(AttributeRestoringConnectionInvocationHandler.java:141)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.cleanupConnection(JobStoreSupport.java:3662)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3881)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTriggers(JobStoreSupport.java:2802)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:287)
Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
The last packet successfully received from the server was 37,528 milliseconds ago. The last packet sent successfully to the server was 37,573 milliseconds ago.
at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64)
at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2054)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:738)
at com.alibaba.druid.filter.FilterAdapter.connection_setAutoCommit(FilterAdapter.java:985)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:733)
at com.alibaba.druid.filter.FilterAdapter.connection_setAutoCommit(FilterAdapter.java:985)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:733)
at com.alibaba.druid.proxy.jdbc.ConnectionProxyImpl.setAutoCommit(ConnectionProxyImpl.java:430)
at com.alibaba.druid.pool.DruidPooledConnection.setAutoCommit(DruidPooledConnection.java:712)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.setAutoCommit(AttributeRestoringConnectionInvocationHandler.java:98)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:66)
at com.sun.proxy.$Proxy143.setAutoCommit(Unknown Source)
at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:191)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3846)
... 2 common frames omitted
Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
The last packet successfully received from the server was 37,528 milliseconds ago. The last packet sent successfully to the server was 37,573 milliseconds ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:541)
at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:711)
at com.mysql.cj.protocol.a.NativeProtocol.sendCommand(NativeProtocol.java:650)
at com.mysql.cj.protocol.a.NativeProtocol.sendQueryPacket(NativeProtocol.java:949)
at com.mysql.cj.protocol.a.NativeProtocol.sendQueryString(NativeProtocol.java:895)
at com.mysql.cj.NativeSession.execSQL(NativeSession.java:1111)
at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2044)
... 14 common frames omitted
Caused by: java.net.SocketException: Operation timed out (Read failed)
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at com.mysql.cj.protocol.ReadAheadInputStream.fill(ReadAheadInputStream.java:107)
at com.mysql.cj.protocol.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:150)
at com.mysql.cj.protocol.ReadAheadInputStream.read(ReadAheadInputStream.java:180)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at com.mysql.cj.protocol.FullReadInputStream.readFully(FullReadInputStream.java:64)
at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:63)
at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:45)
at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:52)
at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:41)
at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:54)
at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:44)
at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:535)
... 20 common frames omitted
2020-08-11 09:18:36.222 [localhost,,] [LinziScheduler_QuartzSchedulerThread] ERROR org.quartz.core.ErrorLogger - 10.0.0.195 An error occurred while scanning for the next triggers to fire.
org.quartz.JobPersistenceException: Couldn't acquire next trigger: connection disabled
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2910)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$41.execute(JobStoreSupport.java:2805)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$41.execute(JobStoreSupport.java:2803)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3849)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTriggers(JobStoreSupport.java:2802)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:287)
Caused by: java.sql.SQLException: connection disabled
at com.alibaba.druid.pool.DruidPooledConnection.checkStateInternal(DruidPooledConnection.java:1163)
at com.alibaba.druid.pool.DruidPooledConnection.checkState(DruidPooledConnection.java:1148)
at com.alibaba.druid.pool.DruidPooledConnection.prepareStatement(DruidPooledConnection.java:336)
at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:73)
at com.sun.proxy.$Proxy143.prepareStatement(Unknown Source)
at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectTriggerToAcquire(StdJDBCDelegate.java:2599)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2844)
... 5 common frames omitted
Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
The last packet successfully received from the server was 37,528 milliseconds ago. The last packet sent successfully to the server was 37,573 milliseconds ago.
at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64)
at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2054)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:738)
at com.alibaba.druid.filter.FilterAdapter.connection_setAutoCommit(FilterAdapter.java:985)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:733)
at com.alibaba.druid.filter.FilterAdapter.connection_setAutoCommit(FilterAdapter.java:985)
at com.alibaba.druid.filter.FilterChainImpl.connection_setAutoCommit(FilterChainImpl.java:733)
at com.alibaba.druid.proxy.jdbc.ConnectionProxyImpl.setAutoCommit(ConnectionProxyImpl.java:430)
at com.alibaba.druid.pool.DruidPooledConnection.setAutoCommit(DruidPooledConnection.java:712)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.setAutoCommit(AttributeRestoringConnectionInvocationHandler.java:98)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:66)
at com.sun.proxy.$Proxy143.setAutoCommit(Unknown Source)
at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:191)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3846)
... 2 common frames omitted
Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
The last packet successfully received from the server was 37,528 milliseconds ago. The last packet sent successfully to the server was 37,573 milliseconds ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:541)
at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:711)
at com.mysql.cj.protocol.a.NativeProtocol.sendCommand(NativeProtocol.java:650)
at com.mysql.cj.protocol.a.NativeProtocol.sendQueryPacket(NativeProtocol.java:949)
at com.mysql.cj.protocol.a.NativeProtocol.sendQueryString(NativeProtocol.java:895)
at com.mysql.cj.NativeSession.execSQL(NativeSession.java:1111)
at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2044)
... 14 common frames omitted
Caused by: java.net.SocketException: Operation timed out (Read failed)
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at com.mysql.cj.protocol.ReadAheadInputStream.fill(ReadAheadInputStream.java:107)
at com.mysql.cj.protocol.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:150)
at com.mysql.cj.protocol.ReadAheadInputStream.read(ReadAheadInputStream.java:180)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at com.mysql.cj.protocol.FullReadInputStream.readFully(FullReadInputStream.java:64)
at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:63)
at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:45)
at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:52)
at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:41)
at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:54)
at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:44)
at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:535)
... 20 common frames omitted
2020-08-11 09:18:37.308 [localhost,,] [http-nio-8080-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/lz_management] - 10.0.0.195 Initializing Spring DispatcherServlet 'dispatcherServlet'
2020-08-11 09:18:37.309 [localhost,,] [http-nio-8080-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - 10.0.0.195 Initializing Servlet 'dispatcherServlet'
2020-08-11 09:18:37.318 [localhost,,] [http-nio-8080-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - 10.0.0.195 Completed initialization in 9 ms
2020-08-11 09:19:01.579 [localhost,,] [SpringContextShutdownHook] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108462276 paused.
2020-08-11 09:19:01.581 [localhost,,] [SpringContextShutdownHook] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - 10.0.0.195 Shutting down ExecutorService 'applicationTaskExecutor'
2020-08-11 09:19:01.584 [localhost,,] [SpringContextShutdownHook] INFO o.s.scheduling.quartz.SchedulerFactoryBean - 10.0.0.195 Shutting down Quartz Scheduler
2020-08-11 09:19:01.585 [localhost,,] [SpringContextShutdownHook] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108462276 shutting down.
2020-08-11 09:19:01.585 [localhost,,] [SpringContextShutdownHook] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108462276 paused.
2020-08-11 09:19:01.588 [localhost,,] [QuartzScheduler_LinziScheduler-quyixiaodeMacBook-Pro.local1597108462276_MisfireHandler] ERROR o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 MisfireHandler: Error handling misfires: Failed to obtain DB connection from data source 'springNonTxDataSource.LinziScheduler': java.sql.SQLException
org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'springNonTxDataSource.LinziScheduler': java.sql.SQLException
at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:168)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.doRecoverMisfires(JobStoreSupport.java:3231)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.manage(JobStoreSupport.java:3997)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.run(JobStoreSupport.java:4018)
Caused by: java.sql.SQLException: null
at com.alibaba.druid.pool.DruidDataSource.getConnectionInternal(DruidDataSource.java:1531)
at com.alibaba.druid.pool.DruidDataSource.getConnectionDirect(DruidDataSource.java:1306)
at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:5007)
at com.alibaba.druid.filter.FilterAdapter.dataSource_getConnection(FilterAdapter.java:2745)
at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:5003)
at com.alibaba.druid.filter.stat.StatFilter.dataSource_getConnection(StatFilter.java:680)
at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:5003)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1284)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1276)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:89)
at org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource.getConnection(AbstractRoutingDataSource.java:170)
at org.springframework.scheduling.quartz.LocalDataSourceJobStore$2.getConnection(LocalDataSourceJobStore.java:135)
at org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:108)
at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:165)
... 3 common frames omitted
Caused by: java.lang.InterruptedException: null
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2014)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2088)
at com.alibaba.druid.pool.DruidDataSource.pollLast(DruidDataSource.java:2029)
at com.alibaba.druid.pool.DruidDataSource.getConnectionInternal(DruidDataSource.java:1517)
... 16 common frames omitted
2020-08-11 09:19:01.591 [localhost,,] [QuartzScheduler_LinziScheduler-quyixiaodeMacBook-Pro.local1597108462276_ClusterManager] ERROR o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 ClusterManager: Error managing cluster: Failed to obtain DB connection from data source 'springNonTxDataSource.LinziScheduler': java.sql.SQLException
org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'springNonTxDataSource.LinziScheduler': java.sql.SQLException
at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:168)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.doCheckin(JobStoreSupport.java:3307)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:3920)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.run(JobStoreSupport.java:3957)
Caused by: java.sql.SQLException: null
at com.alibaba.druid.pool.DruidDataSource.getConnectionInternal(DruidDataSource.java:1531)
at com.alibaba.druid.pool.DruidDataSource.getConnectionDirect(DruidDataSource.java:1306)
at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:5007)
at com.alibaba.druid.filter.FilterAdapter.dataSource_getConnection(FilterAdapter.java:2745)
at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:5003)
at com.alibaba.druid.filter.stat.StatFilter.dataSource_getConnection(StatFilter.java:680)
at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:5003)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1284)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1276)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:89)
at org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource.getConnection(AbstractRoutingDataSource.java:170)
at org.springframework.scheduling.quartz.LocalDataSourceJobStore$2.getConnection(LocalDataSourceJobStore.java:135)
at org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:108)
at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:165)
... 3 common frames omitted
Caused by: java.lang.InterruptedException: null
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2014)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2088)
at com.alibaba.druid.pool.DruidDataSource.pollLast(DruidDataSource.java:2029)
at com.alibaba.druid.pool.DruidDataSource.getConnectionInternal(DruidDataSource.java:1517)
... 16 common frames omitted
2020-08-11 09:19:01.593 [localhost,,] [SpringContextShutdownHook] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108462276 shutdown complete.
2020-08-11 09:19:09.326 [localhost,,] [main] INFO com.lz.LinziApplication - 10.0.0.195 Starting LinziApplication on quyixiaodeMacBook-Pro.local with PID 18906 (/Users/quyixiao/project/lz_management/target/classes started by quyixiao in /Users/quyixiao/project/lz_management)
2020-08-11 09:19:09.328 [localhost,,] [main] INFO com.lz.LinziApplication - 10.0.0.195 The following profiles are active: dev
2020-08-11 09:19:10.423 [localhost,,] [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - 10.0.0.195 Multiple Spring Data modules found, entering strict repository configuration mode!
2020-08-11 09:19:10.426 [localhost,,] [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - 10.0.0.195 Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2020-08-11 09:19:10.492 [localhost,,] [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - 10.0.0.195 Finished Spring Data repository scanning in 53ms. Found 0 Redis repository interfaces.
2020-08-11 09:19:11.045 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'shiroConfig' of type [com.lz.config.ShiroConfig$$EnhancerBySpringCGLIB$$62f03f66] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:11.169 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'mybatis-plus-com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties' of type [com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:11.174 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'mybatisPlusConfig' of type [com.lz.config.MybatisPlusConfig$$EnhancerBySpringCGLIB$$3c9be8c2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:11.179 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'paginationInterceptor' of type [com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:11.185 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration' of type [com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration$$EnhancerBySpringCGLIB$$fcb7bbe1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:11.189 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'dynamic-com.lz.datasource.properties.DynamicDataSourceProperties' of type [com.lz.datasource.properties.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:11.190 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'dynamicDataSourceConfig' of type [com.lz.datasource.config.DynamicDataSourceConfig$$EnhancerBySpringCGLIB$$6fa845fc] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:11.199 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'dataSourceProperties' of type [com.lz.datasource.properties.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:16.181 [localhost,,] [main] INFO com.alibaba.druid.pool.DruidDataSource - 10.0.0.195 {dataSource-1} inited
2020-08-11 09:19:16.183 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'dynamicDataSource' of type [com.lz.datasource.config.DynamicDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:16.855 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sqlSessionFactory' of type [org.apache.ibatis.session.defaults.DefaultSqlSessionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:16.862 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sqlSessionTemplate' of type [org.mybatis.spring.SqlSessionTemplate] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:16.863 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysMenuDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:16.864 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysMenuDao' of type [com.sun.proxy.$Proxy87] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:16.867 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysUserDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:16.867 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysUserDao' of type [com.sun.proxy.$Proxy88] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:16.869 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysUserTokenDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:16.870 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'sysUserTokenDao' of type [com.sun.proxy.$Proxy89] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:16.870 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'shiroServiceImpl' of type [com.lz.modules.sys.service.impl.ShiroServiceImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:16.871 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'OAuth2Realm' of type [com.lz.modules.sys.oauth2.OAuth2Realm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:17.018 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:17.067 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:17.101 [localhost,,] [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - 10.0.0.195 Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-11 09:19:17.504 [localhost,,] [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - 10.0.0.195 Tomcat initialized with port(s): 8080 (http)
2020-08-11 09:19:17.515 [localhost,,] [main] INFO org.apache.catalina.core.StandardService - 10.0.0.195 Starting service [Tomcat]
2020-08-11 09:19:17.516 [localhost,,] [main] INFO org.apache.catalina.core.StandardEngine - 10.0.0.195 Starting Servlet engine: [Apache Tomcat/9.0.30]
2020-08-11 09:19:17.588 [localhost,,] [main] INFO o.a.c.c.C.[Tomcat].[localhost].[/lz_management] - 10.0.0.195 Initializing Spring embedded WebApplicationContext
2020-08-11 09:19:17.589 [localhost,,] [main] INFO org.springframework.web.context.ContextLoader - 10.0.0.195 Root WebApplicationContext: initialization completed in 8218 ms
2020-08-11 09:19:18.496 [localhost,,] [main] INFO org.quartz.impl.StdSchedulerFactory - 10.0.0.195 Using default implementation for ThreadExecutor
2020-08-11 09:19:18.506 [localhost,,] [main] INFO org.quartz.core.SchedulerSignalerImpl - 10.0.0.195 Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2020-08-11 09:19:18.506 [localhost,,] [main] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Quartz Scheduler v.2.3.0 created.
2020-08-11 09:19:18.515 [localhost,,] [main] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 Using db table-based data access locking (synchronization).
2020-08-11 09:19:18.517 [localhost,,] [main] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 JobStoreCMT initialized.
2020-08-11 09:19:18.517 [localhost,,] [main] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler meta-data: Quartz Scheduler (v2.3.0) 'LinziScheduler' with instanceId 'quyixiaodeMacBook-Pro.local1597108758497'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 20 threads.
Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.
2020-08-11 09:19:18.518 [localhost,,] [main] INFO org.quartz.impl.StdSchedulerFactory - 10.0.0.195 Quartz scheduler 'LinziScheduler' initialized from an externally provided properties instance.
2020-08-11 09:19:18.518 [localhost,,] [main] INFO org.quartz.impl.StdSchedulerFactory - 10.0.0.195 Quartz scheduler version: 2.3.0
2020-08-11 09:19:18.519 [localhost,,] [main] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 JobFactory set to: org.springframework.scheduling.quartz.AdaptableJobFactory@f01fc6d
2020-08-11 09:19:21.310 [localhost,,] [main] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping - 10.0.0.195 Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)]
2020-08-11 09:19:21.514 [localhost,,] [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - 10.0.0.195 Initializing ExecutorService 'applicationTaskExecutor'
2020-08-11 09:19:22.293 [localhost,,] [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - 10.0.0.195 Context refreshed
2020-08-11 09:19:22.309 [localhost,,] [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - 10.0.0.195 Found 1 custom documentation plugin(s)
2020-08-11 09:19:22.346 [localhost,,] [main] INFO s.d.spring.web.scanners.ApiListingReferenceScanner - 10.0.0.195 Scanning for api listing references
2020-08-11 09:19:22.492 [localhost,,] [main] INFO s.d.s.w.r.operation.CachingOperationNameGenerator - 10.0.0.195 Generating unique operation named: userInfoUsingGET_1
2020-08-11 09:19:22.504 [localhost,,] [main] INFO o.s.scheduling.quartz.SchedulerFactoryBean - 10.0.0.195 Will start Quartz Scheduler [LinziScheduler] in 30 seconds
2020-08-11 09:19:22.588 [localhost,,] [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - 10.0.0.195 Tomcat started on port(s): 8080 (http) with context path '/lz_management'
2020-08-11 09:19:22.602 [localhost,,] [main] INFO com.lz.LinziApplication - 10.0.0.195 Started LinziApplication in 13.999 seconds (JVM running for 15.166)
2020-08-11 09:19:40.554 [localhost,,] [http-nio-8080-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/lz_management] - 10.0.0.195 Initializing Spring DispatcherServlet 'dispatcherServlet'
2020-08-11 09:19:40.554 [localhost,,] [http-nio-8080-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - 10.0.0.195 Initializing Servlet 'dispatcherServlet'
2020-08-11 09:19:40.565 [localhost,,] [http-nio-8080-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - 10.0.0.195 Completed initialization in 10 ms
2020-08-11 09:19:52.505 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO o.s.scheduling.quartz.SchedulerFactoryBean - 10.0.0.195 Starting Quartz Scheduler now, after delay of 30 seconds
2020-08-11 09:19:52.791 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 ClusterManager: detected 1 failed or restarted instances.
2020-08-11 09:19:52.792 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 ClusterManager: Scanning for instance "quyixiaodeMacBook-Pro.local1597108462276"'s failed in-progress jobs.
2020-08-11 09:19:53.033 [localhost,,] [Quartz Scheduler [LinziScheduler]] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108758497 started.
2020-08-11 09:19:53.140 [localhost,,] [QuartzScheduler_LinziScheduler-quyixiaodeMacBook-Pro.local1597108758497_MisfireHandler] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 Handling the first 1 triggers that missed their scheduled fire-time. More misfired triggers remain to be processed.
2020-08-11 09:19:53.701 [localhost,,] [QuartzScheduler_LinziScheduler-quyixiaodeMacBook-Pro.local1597108758497_MisfireHandler] INFO o.s.scheduling.quartz.LocalDataSourceJobStore - 10.0.0.195 Handling 1 trigger(s) that missed their scheduled fire-time.
2020-08-11 09:31:24.602 [localhost,,] [SpringContextShutdownHook] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108758497 paused.
2020-08-11 09:31:24.604 [localhost,,] [SpringContextShutdownHook] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - 10.0.0.195 Shutting down ExecutorService 'applicationTaskExecutor'
2020-08-11 09:31:24.608 [localhost,,] [SpringContextShutdownHook] INFO o.s.scheduling.quartz.SchedulerFactoryBean - 10.0.0.195 Shutting down Quartz Scheduler
2020-08-11 09:31:24.608 [localhost,,] [SpringContextShutdownHook] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108758497 shutting down.
2020-08-11 09:31:24.608 [localhost,,] [SpringContextShutdownHook] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108758497 paused.
2020-08-11 09:31:24.610 [localhost,,] [SpringContextShutdownHook] INFO org.quartz.core.QuartzScheduler - 10.0.0.195 Scheduler LinziScheduler_$_quyixiaodeMacBook-Pro.local1597108758497 shutdown complete.

View File

@ -9,7 +9,7 @@ public enum WorkMsgTypeEnum {
//绩效提交审核的通知自己提交给领导自己提交给人事人事提交给老板
SUBMIT(0, "绩效提交", "去审核", "# 绩效提交\n ## @的绩效已经提交"),
//绩效打回审核的通知
REJECT(1, "绩效驳回", "去修改", "# 绩效驳回\n ## @的绩效已经驳回"),
REJECT(1, "绩效驳回", "去修改", "# 绩效驳回\n ## @的绩效驳回"),
//绩效通过领导审核的通知这一步提交到HR提交的type
LEADER_PASS(2, "绩效已打分", "去提交给人事", "# 绩效已打分\n ## 你的绩效已经打分"),
//绩效通过人事老板审核的最终审核通知
@ -18,6 +18,7 @@ public enum WorkMsgTypeEnum {
END(5, "绩效终止", "去查看", "# 绩效终止\n ## @,你的绩效终止"),
START_WORK(6, "绩效考评待办事项", "去查看", "# 绩效目标制定\n ## @,你的绩效需要制定目标"),
START_SCORE(7, "绩效考评待办事项", "去查看", "# 绩效结果输入\n ## @,你的绩效需要输入结果"),
PROCESS(8, "绩效考评待办事项", "去查看", "# @的绩效\n ## 需您去处理"),
// 您的2020年10月绩效考核已经开始请尽快制定绩效目标
// 吴林的2020年12月绩效考核的目标需要您确认点击前往确认
;

View File

@ -387,9 +387,9 @@ public class ResultRecordController extends AbstractController {
staffs.addAll(departManagers.getManagers());
}
}
if(staffs.size() == 0){
/*if(staffs.size() == 0){
return R.error("找不到有效的评分人,设置的评分人不存在");
}
}*/
for (StaffEntity staff:staffs
) {
@ -426,45 +426,48 @@ public class ResultRecordController extends AbstractController {
//下面设置计算公式
dto.setCalculate(setCalculateValue(calculateModels, dto)) ;
weight = weight.add(dto.getCheckWeight());
//获取评分详细
List<ResultScore> scores =
resultScoreService.selectResultScoresByDetailIdAndOrderByStaffIds(dto.getId(), scoreDtos);
if(scores.size() > 0){
//
List<ResultScoreDto> scoreDtos1 = new ArrayList<>();
for (ResultScoreDto scoreDto: scoreDtos
) {//
if(scoreDtos.size() > 0){
//获取评分详细
List<ResultScore> scores =
resultScoreService.selectResultScoresByDetailIdAndOrderByStaffIds(dto.getId(), scoreDtos);
if(scores.size() > 0){
//
boolean isAdd = false;
for (ResultScore score:
scores) {
if(scoreDto.getApprovalId().longValue() == score.getApprovalId().longValue()){
List<ResultScoreDto> scoreDtos1 = new ArrayList<>();
for (ResultScoreDto scoreDto: scoreDtos
) {//
//
boolean isAdd = false;
for (ResultScore score:
scores) {
if(scoreDto.getApprovalId().longValue() == score.getApprovalId().longValue()){
ResultScoreDto scoreDto1 = new ResultScoreDto();
BeanUtils.copyProperties(score, scoreDto1);
scoreDto1.setApprovalId(scoreDto.getApprovalId());
scoreDto1.setApprovalName(scoreDto.getApprovalName());
scoreDto1.setWeight(scoreDto.getWeight());
scoreDtos1.add(scoreDto1);
scores.remove(score);
isAdd = true;
break;
}
}
if(!isAdd){
ResultScoreDto scoreDto1 = new ResultScoreDto();
BeanUtils.copyProperties(score, scoreDto1);
scoreDto1.setApprovalId(scoreDto.getApprovalId());
scoreDto1.setApprovalName(scoreDto.getApprovalName());
scoreDto1.setWeight(scoreDto.getWeight());
scoreDtos1.add(scoreDto1);
scores.remove(score);
isAdd = true;
break;
}
}
if(!isAdd){
ResultScoreDto scoreDto1 = new ResultScoreDto();
scoreDto1.setApprovalId(scoreDto.getApprovalId());
scoreDto1.setApprovalName(scoreDto.getApprovalName());
scoreDto1.setWeight(scoreDto.getWeight());
scoreDtos1.add(scoreDto1);
}
dto.setScoreDtos(scoreDtos1);
}else{
dto.setScoreDtos(scoreDtos);
}
dto.setScoreDtos(scoreDtos1);
}else{
dto.setScoreDtos(scoreDtos);
}
}
resultRecortModelDto.setDetailDtos(detailDtos);
resultRecortModelDtos.add(resultRecortModelDto);
}
@ -1026,6 +1029,7 @@ public class ResultRecordController extends AbstractController {
}
/**
*
* 删除
*/
// http://localhost:8080/lz_management/user/lzresultrecord/new/resultRecordDetail?resultRecordId=387&loginUserId=380

View File

@ -261,7 +261,7 @@ public class TestController {
}
}
// http://localhost:8080/lz_management/test/resultrecord?resultRecordId=381
// http://localhost:8080/lz_management/test/resultrecord?resultRecordId=415
@RequestMapping("/test/resultrecord")
public void resultRecorcd(Long resultRecordId) throws Exception{
R r = resultRecordService.initFlowRecord(resultRecordId);

View File

@ -52,4 +52,8 @@ public class StaffSimpleInfo implements Serializable {
private Long recordId;
}

View File

@ -163,6 +163,7 @@ public class FlowStartServiceImpl extends ServiceImpl<FlowStartMapper, FlowStart
return R.error(groupStaffs.getEvaluationGroup().getName() + "——初始化考核流程失败");
}
dingtalkBusiness.sendWorkMSGWithAsyn(staffSimpleInfos, WorkMsgTypeEnum.START_WORK.getType());
}
return R.ok("发起成功").put("data", flowStart);

View File

@ -13,10 +13,14 @@ import com.lz.modules.app.service.DepartmentsService;
import com.lz.modules.app.service.DepartmentsStaffRelateService;
import com.lz.modules.app.service.StaffOccupationService;
import com.lz.modules.app.service.StaffService;
import com.lz.modules.flow.entity.FlowRecord;
import com.lz.modules.flow.service.FlowRecordService;
import com.lz.modules.job.model.responseBo.DepartmentInfosBo;
import com.lz.modules.job.model.responseBo.DepartmentStaffBo;
import com.lz.modules.sys.dao.SysUserTokenDao;
import com.lz.modules.sys.entity.SysUserTokenEntity;
import com.lz.modules.sys.entity.app.ResultRecord;
import com.lz.modules.sys.service.app.ResultRecordService;
import com.lz.modules.third.entity.ThirdAppConfig;
import com.lz.modules.third.service.ThirdAppConfigService;
import org.slf4j.LoggerFactory;
@ -26,6 +30,7 @@ import org.springframework.stereotype.Component;
import javax.annotation.Resource;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.function.Function;
@ -63,9 +68,16 @@ public class DingtalkBusiness {
@Autowired
private SysUserTokenDao sysUserTokenDao;
@Autowired
private ResultRecordService resultRecordService;
@Autowired
private FlowRecordService flowRecordService;
@Resource
StaffDao staffDao;
@Value("${dingtalk.appid}")
private String appid;
@ -194,10 +206,39 @@ public class DingtalkBusiness {
}
//流程流转发送消息
public String sendWorkMSGWithAsyn(Long resultRecordId , int type) {
ResultRecord resultRecord = resultRecordService.selectResultRecordById(resultRecordId);
if(resultRecord != null){
StaffSimpleInfo fromStaff = staffService.selectStaffSimpleInfo(resultRecord.getStaffId());
List<StaffSimpleInfo> toStaffids;
if(type == WorkMsgTypeEnum.REJECT.getType()){
toStaffids = new ArrayList<>();
toStaffids.add(fromStaff);
sendWorkMSGWithAsyn(fromStaff, toStaffids, WorkMsgTypeEnum.REJECT.getType());
}else{
List<FlowRecord> flowRecords =
flowRecordService.selectFlowRecordByRecordIdStatus(resultRecordId, 2);
List<Long> ids = flowRecords.stream().map(new Function<FlowRecord, Long>() {
@Override
public Long apply(FlowRecord flowRecord) {
return flowRecord.getApprovalStaffId();
}
}).collect(Collectors.toList());
toStaffids = staffService.selectStaffSimpleInfos(ids);
sendWorkMSGWithAsyn(fromStaff, toStaffids, WorkMsgTypeEnum.PROCESS.getType());
}
public String sendWorkMSGWithAsyn(List<StaffSimpleInfo> toStaffids, int type) {
if(toStaffids.get(0).getEmployeeId() == null || toStaffids.get(0).getEmployeeId().length() == 0){
}
return "error";
}
public String sendWorkMSGWithAsyn(StaffSimpleInfo fromStaff, List<StaffSimpleInfo> toStaffids, int type) {
if (toStaffids.get(0).getEmployeeId() == null || toStaffids.get(0).getEmployeeId().length() == 0) {
//查询第三方id
List<Long> ids = toStaffids.stream().map(new Function<StaffSimpleInfo, Long>() {
@Override
@ -206,21 +247,28 @@ public class DingtalkBusiness {
}
}).collect(Collectors.toList());
List<StaffSimpleInfo> staffSimpleInfos = staffService.selectStaffSimpleInfos(ids);
Map<Long, StaffSimpleInfo> map = toStaffids.stream().collect(Collectors.toMap(StaffSimpleInfo::getId, e->e));
for (StaffSimpleInfo staff:staffSimpleInfos
) {
Map<Long, StaffSimpleInfo> map = toStaffids.stream().collect(Collectors.toMap(StaffSimpleInfo::getId, e -> e));
for (StaffSimpleInfo staff : staffSimpleInfos
) {
StaffSimpleInfo staff1 = map.get(staff.getId());
staff1.setEmployeeId(staff1.getEmployeeId());
}
}
WorkMsgTypeEnum workMsgTypeEnum = WorkMsgTypeEnum.findRoleTypeByCode(type);
ThreadSendMessage threadSendMessage = new ThreadSendMessage(toStaffids, workMsgTypeEnum, appid);
ThreadSendMessage threadSendMessage = new ThreadSendMessage(fromStaff, toStaffids, workMsgTypeEnum, appid);
Thread thread = new Thread(threadSendMessage);
thread.start();
return "OK";
}
public String sendWorkMSGWithAsyn(List<StaffSimpleInfo> toStaffids, int type) {
return sendWorkMSGWithAsyn(null, toStaffids, type);
}
public String sendWorkMSGByEntity(String appid, StaffEntity fromStaffEntity, StaffEntity toStaffEntity,
WorkMsgTypeEnum workMsgTypeEnum, String url){
if(toStaffEntity != null && fromStaffEntity != null){
@ -287,12 +335,14 @@ public class DingtalkBusiness {
public class ThreadSendMessage implements Runnable{
List<StaffSimpleInfo> toStaffids;
StaffSimpleInfo fromStaff = null;
WorkMsgTypeEnum workMsgTypeEnum;
String appid;
String hostUrl = "https://lzmanagement.ldxinyong.com/digitization/dingTalkLogin";
public ThreadSendMessage(List<StaffSimpleInfo> toStaffids, WorkMsgTypeEnum typeEnum, String appid){
public ThreadSendMessage(StaffSimpleInfo fromStaff, List<StaffSimpleInfo> toStaffids, WorkMsgTypeEnum typeEnum, String appid){
this.toStaffids = toStaffids;
workMsgTypeEnum = typeEnum;
this.fromStaff = fromStaff;
this.appid = appid;
}
@ -315,9 +365,21 @@ public class DingtalkBusiness {
url = URLEncoder.encode(url);
url = "dingtalk://dingtalkclient/page/link?pc_slide=true&url=" + url;
url = "dingtalk://dingtalkclient/action/openapp?corpid=" + thirdAppConfig.getCorpId() +
"&container_type=work_platform&app_id=0_" +
appid + "&redirect_type=jump&redirect_url=" + url;
String content = null;
if(fromStaff == null){
content = workMsgTypeEnum.getContent().replace("@", info.getName());
}else{
if(fromStaff.getId() == info.getId()){
content = workMsgTypeEnum.getContent().replace("@", "");
}else{
content = workMsgTypeEnum.getContent().replace("@", fromStaff.getName());
}
}
String content = workMsgTypeEnum.getContent().replace("@", info.getName());
StaffEntity entity = new StaffEntity();
entity.setId(info.getId());
entity.setEmployeeId(info.getEmployeeId());

View File

@ -17,6 +17,7 @@ import com.lz.modules.app.entity.DepartmentsStaffRelateEntity;
import com.lz.modules.app.entity.StaffEntity;
import com.lz.modules.app.enums.FlowApprovalRoleTypeEnums;
import com.lz.modules.app.enums.FlowRecordStatusEnums;
import com.lz.modules.app.enums.RoleEnums;
import com.lz.modules.app.req.ResultRecordReq;
import com.lz.modules.app.resp.FlowDetailResp;
import com.lz.modules.app.resp.FlowRecordResp;
@ -776,50 +777,79 @@ public class ResultRecordServiceImpl extends ServiceImpl<ResultRecordMapper, Res
for (FlowApprovalRole flowApprovalRole : flowApprovalRoles) {
FlowRecord flowRecord = new FlowRecord();
flowRecord.setRecordId(resultRecord.getId());
StaffEntity staffEntity = new StaffEntity();
StaffEntity approvalStaff = new StaffEntity();
if (FlowApprovalRoleTypeEnums.ME.getType().equals(flowApprovalRole.getType())) {
staffEntity = staffService.selectStaffById(resultRecord.getStaffId());
approvalStaff = staffService.selectStaffById(resultRecord.getStaffId());
} else if (FlowApprovalRoleTypeEnums.STAFF.getType().equals(flowApprovalRole.getType())) {
staffEntity = staffService.selectStaffById(flowApprovalRole.getApprovalId());
approvalStaff = staffService.selectStaffById(flowApprovalRole.getApprovalId());
} else if (FlowApprovalRoleTypeEnums.ONE_SUPPER.getType().equals(flowApprovalRole.getType())) {
staffEntity = getDepartmentStaff(resultRecord.getStaffId(), 1);
approvalStaff = getDepartmentStaff(resultRecord.getStaffId(), 1);
} else if (FlowApprovalRoleTypeEnums.TWO_SUPPER.getType().equals(flowApprovalRole.getType())) {
staffEntity = getDepartmentStaff(resultRecord.getStaffId(), 2);
approvalStaff = getDepartmentStaff(resultRecord.getStaffId(), 2);
} else if (FlowApprovalRoleTypeEnums.THREE_SUPPER.getType().equals(flowApprovalRole.getType())) {
staffEntity = getDepartmentStaff(resultRecord.getStaffId(), 3);
approvalStaff = getDepartmentStaff(resultRecord.getStaffId(), 3);
} else if (FlowApprovalRoleTypeEnums.FOUR_SUPPER.getType().equals(flowApprovalRole.getType())) {
staffEntity = getDepartmentStaff(resultRecord.getStaffId(), 4);
approvalStaff = getDepartmentStaff(resultRecord.getStaffId(), 4);
} else if (FlowApprovalRoleTypeEnums.FOUR_SUPPER.getType().equals(flowApprovalRole.getType())) {
staffEntity = getDepartmentStaff(resultRecord.getStaffId(), 5);
approvalStaff = getDepartmentStaff(resultRecord.getStaffId(), 5);
}
flowRecord.setApprovalStaffName(staffEntity.getName());
flowRecord.setApprovalStaffId(staffEntity.getId());
flowRecord.setFlowName(getFlow(flows, flowApprovalRole.getFlowId()).getOptDesc());
flowRecord.setRecordStaffId(resultRecord.getStaffId());
flowRecord.setFlowId(flowApprovalRole.getFlowId());
FlowChart flowChart = flowService.selectFlowChartByChartId(flowApprovalRole.getFlowId());
flowRecord.setProcessId(flowChart.getProcessId());
flowRecord.setFlowProcess(flowChart.getFlowProcess());
String staffRole = StaffRoles.getStaffRole(staffEntity.getId(), StringUtil.strToLongs(flowApprovalRole.getRoleId()));
if (i == 0) {
flowRecord.setStatus(FlowRecordStatusEnums.CURRENT_FLOW_STATUS.getStatus());
resultRecord.setFlowStaffIdRole(staffRole);
resultRecord.setFlowProcess(flowChart.getFlowProcess());
} else {
flowRecord.setStatus(FlowRecordStatusEnums.UN_TO_STATUS.getStatus());
if(approvalStaff !=null && StringUtil.isNotBlank(approvalStaff.getName())){
insertFlowRecord(flowRecord,approvalStaff,flows,flowApprovalRole,resultRecord,i,null);
}else{
List<StaffRole> staffRoles= staffRoleService.selectAllStaffRoleByDepartmentLevel(Arrays.asList(new String[]{RoleEnums.MASTER_PM.getName(),RoleEnums.CHILD_PM.getName()}));
for(StaffRole staffRole:staffRoles){
approvalStaff = staffService.selectStaffById(staffRole.getStaffId());
if(staffRole.getDepartmentId() ==0){ //如果是管理所有部门
insertFlowRecord(flowRecord,approvalStaff,flows,flowApprovalRole,resultRecord,i,1);
}else{
DepartmentsStaffRelateEntity relateEntity = departmentsStaffRelateService.selectLastDepartmentByStaffId(resultRecord.getStaffId());
Map<String, String> map = departmentsService.selectUserAllDepartmentIds(relateEntity.getDepartmentId());
List<StaffRoleDepartment> staffRoleDepartments = staffRoleDepartmentService.selectStaffRoleDepartmentByStaffRoleId(staffRole.getId());
boolean flag = false;
for(StaffRoleDepartment staffRoleDepartment: staffRoleDepartments){
String departmentName = map.get(staffRoleDepartment.getDepartmentId());
if(StringUtil.isNotBlank(departmentName)){
flag = true;
break;
}
}
if(flag){ //如果管理员是管理特定部门
insertFlowRecord(flowRecord,approvalStaff,flows,flowApprovalRole,resultRecord,i,1);
}
}
}
}
flowRecord.setFlowStaffIdRole(staffRole);
flowRecord.setFlowIndex(flowApprovalRole.getStepIndex());
flowRecord.setType(flowApprovalRole.getStepType()); //步骤类型0依次1或签同时通知一人通过或拒绝即可2会签同时通知所有人同意才可
i++;
flowRecordService.insertFlowRecord(flowRecord);
}
resultRecordService.updateResultRecordById(resultRecord);
return R.ok();
}
public void insertFlowRecord(FlowRecord flowRecord,StaffEntity approvalStaff,List<Flow> flows,FlowApprovalRole flowApprovalRole ,ResultRecord resultRecord,int i,Integer stepType ){
flowRecord.setApprovalStaffName(approvalStaff.getName());
flowRecord.setApprovalStaffId(approvalStaff.getId());
flowRecord.setFlowName(getFlow(flows, flowApprovalRole.getFlowId()).getOptDesc());
flowRecord.setRecordStaffId(resultRecord.getStaffId());
flowRecord.setFlowId(flowApprovalRole.getFlowId());
FlowChart flowChart = flowService.selectFlowChartByChartId(flowApprovalRole.getFlowId());
flowRecord.setProcessId(flowChart.getProcessId());
flowRecord.setFlowProcess(flowChart.getFlowProcess());
String staffRole = StaffRoles.getStaffRole(approvalStaff.getId(), StringUtil.strToLongs(flowApprovalRole.getRoleId()));
if (i == 0) {
flowRecord.setStatus(FlowRecordStatusEnums.CURRENT_FLOW_STATUS.getStatus());
resultRecord.setFlowStaffIdRole(staffRole);
resultRecord.setFlowProcess(flowChart.getFlowProcess());
} else {
flowRecord.setStatus(FlowRecordStatusEnums.UN_TO_STATUS.getStatus());
}
flowRecord.setFlowStaffIdRole(staffRole);
flowRecord.setFlowIndex(flowApprovalRole.getStepIndex());
flowRecord.setType(stepType !=null ? stepType :flowApprovalRole.getStepType()); //步骤类型0依次1或签同时通知一人通过或拒绝即可2会签同时通知所有人同意才可
flowRecordService.insertFlowRecord(flowRecord);
}
@Override
////1 提交审批,审批通过,2 撤回,3 催办,4 跳过,5 驳回6 申述7 流程终止8 转交
public R newApproval(ApprovalDto approvalDto) throws Exception{
@ -987,11 +1017,11 @@ public class ResultRecordServiceImpl extends ServiceImpl<ResultRecordMapper, Res
}
FlowChart currentFlowChart = flowService.selectFlowChartByChartId(currentFlowRecord.getFlowId());
resultRecord.setFlowProcess(currentFlowChart.getFlowProcess());
resultRecord.setFlowStaffIdRole(nextFlowRecords.size() == 1 ? currentFlowRecord.getFlowStaffIdRole() : null);
resultRecord.setCurrentApprovalStaffId(nextFlowRecords.size() == 1 ? currentFlowRecord.getApprovalStaffId() : null);
resultRecord.setCurrentApprovalStaffName(nextFlowRecords.size() == 1 ? currentFlowRecord.getApprovalStaffName() : null);
resultRecordService.updateCoverResultRecordById(resultRecord);
dingtalkBusiness.sendWorkMSGWithAsyn(resultRecord.getId(), WorkMsgTypeEnum.PROCESS.getType());
return R.ok();
}
@ -1017,7 +1047,6 @@ public class ResultRecordServiceImpl extends ServiceImpl<ResultRecordMapper, Res
flowRecord.setStatus(FlowRecordStatusEnums.CURRENT_FLOW_STATUS.getStatus());
flowRecordService.updateFlowRecordById(flowRecord);
}
FlowRecord lastFlowRecord = flowRecords.get(0);
ResultRecord resultRecord = resultRecordMapper.selectResultRecordById(approvalDto.getResultRecordId());
resultRecord.setCurrentApprovalStaffId(flowRecords.size() == 1 ? lastFlowRecord.getApprovalStaffId():null);
@ -1027,6 +1056,7 @@ public class ResultRecordServiceImpl extends ServiceImpl<ResultRecordMapper, Res
FlowChart flowChart = flowService.selectFlowChartByChartId(lastFlowRecord.getFlowId());
resultRecord.setFlowProcess(flowChart.getFlowProcess());
resultRecordService.updateCoverResultRecordById(resultRecord);
dingtalkBusiness.sendWorkMSGWithAsyn(resultRecord.getId(), WorkMsgTypeEnum.REJECT.getType());
}
}
return R.ok();