日志文件:/home/zmc/ch11.log 内容 2024年12月22日 星期日 15:05:24
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:195)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:384)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
at java.base/java.lang.Thread.run(Thread.java:842)
2024-11-05T21:57:41.429+08:00 INFO 1947 --- [ch11] [nio-8082-exec-8] c.zmc.interceptor.LoginCheckInterceptor : 请求的url: http://localhost:8082/emps
2024-11-05T21:57:41.429+08:00 INFO 1947 --- [ch11] [nio-8082-exec-9] c.zmc.interceptor.LoginCheckInterceptor : 请求的url: http://localhost:8082/depts
2024-11-05T21:57:41.430+08:00 INFO 1947 --- [ch11] [nio-8082-exec-9] c.zmc.interceptor.LoginCheckInterceptor : 令牌合法 放行
2024-11-05T21:57:41.430+08:00 INFO 1947 --- [ch11] [nio-8082-exec-8] c.zmc.interceptor.LoginCheckInterceptor : 令牌合法 放行
2024-11-05T21:57:41.430+08:00 INFO 1947 --- [ch11] [nio-8082-exec-9] cn.zmc.controller.DeptController : 查询全部部门数据
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3061c9b4] was not registered for synchronization because synchronization is not active
2024-11-05T21:57:41.430+08:00 INFO 1947 --- [ch11] [nio-8082-exec-8] cn.zmc.controller.EmpController : 分页査询,参数:15
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@58dfe1ac] was not registered for synchronization because synchronization is not active
Cache Hit Ratio [SQL_CACHE]: 0.875
JDBC Connection [HikariProxyConnection@582477881 wrapping com.mysql.cj.jdbc.ConnectionImpl@7b528164] will not be managed by Spring
==> Preparing: select * from dept_zmc
==> Parameters:
JDBC Connection [HikariProxyConnection@923523908 wrapping com.mysql.cj.jdbc.ConnectionImpl@7aafdbaa] will not be managed by Spring
==> Preparing: SELECT count(0) FROM emp_zmc
==> Parameters:
<== Columns: id name create_time update_time
<== Row: 1 张姓学工部 2024-10-25 22:22:45 2024-10-25 22:22:45
<== Columns: count(0)
<== Row: 17
<== Row: 2 张姓教研部 2024-10-25 22:23:11 2024-10-25 22:23:11
<== Total: 1
<== Row: 3 张氏咨询部 2024-10-10 15:58:41 2024-10-10 15:58:41
==> Preparing: select * from emp_zmc LIMIT ?
<== Row: 6 张家就业部 2024-10-26 23:19:34 2024-10-26 23:19:34
==> Parameters: 5(Integer)
<== Total: 4
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3061c9b4]
<== Columns: id username password name gender image job entrydate dept_id create_time update_time
<== Row: 1 zhangmc 123456 张蒙赐 1 https://web-zmc.oss-cn-beijing.aliyuncs.com/bafe8610-fe4f-4e0c-a23f-c82635386d79_zmc.jpg 4 2000-01-01 2 2024-10-10 15:58:41 2024-10-10 15:58:41
<== Row: 2 jinyong 123456 金庸先生 1 https://web-zmc.oss-cn-beijing.aliyuncs.com/d1726991-be82-469e-af2d-ab01667e7153_金庸.jpg 4 2000-01-02 2 2024-10-10 15:58:41 2024-10-10 15:58:41
<== Row: 3 zhangwuji 123456 张无忌 1 2.jpg 2 2015-01-01 2 2024-10-10 15:58:41 2024-10-10 15:58:41
<== Row: 4 yangxiao 123456 杨逍 1 3.jpg 2 2008-05-01 2 2024-10-10 15:58:41 2024-10-10 15:58:41
<== Row: 5 weiyixiao 123456 韦一笑 1 4.jpg 2 2007-01-01 2 2024-10-10 15:58:41 2024-10-10 15:58:41
<== Total: 5
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@58dfe1ac]
2024-11-07T04:15:41.483+08:00 INFO 1947 --- [ch11] [io-8082-exec-10] c.zmc.interceptor.LoginCheckInterceptor : 请求的url: http://localhost:8082/index
2024-11-07T04:15:41.484+08:00 INFO 1947 --- [ch11] [io-8082-exec-10] c.zmc.interceptor.LoginCheckInterceptor : 请求头token为空返回未登录的信息
2024-11-07T04:15:54.572+08:00 INFO 1947 --- [ch11] [nio-8082-exec-2] c.zmc.interceptor.LoginCheckInterceptor : 请求的url: http://localhost:8082/index
2024-11-07T04:15:54.573+08:00 INFO 1947 --- [ch11] [nio-8082-exec-2] c.zmc.interceptor.LoginCheckInterceptor : 请求头token为空返回未登录的信息
2024-11-07T09:39:31.294+08:00 INFO 1947 --- [ch11] [nio-8082-exec-1] c.zmc.interceptor.LoginCheckInterceptor : 请求的url: http://localhost:8082/index
2024-11-07T09:39:31.294+08:00 INFO 1947 --- [ch11] [nio-8082-exec-1] c.zmc.interceptor.LoginCheckInterceptor : 请求头token为空返回未登录的信息
2024-11-09T14:36:50.939+08:00 INFO 1947 --- [ch11] [nio-8082-exec-3] c.zmc.interceptor.LoginCheckInterceptor : 请求的url: http://localhost:8082/index
2024-11-09T14:36:50.940+08:00 INFO 1947 --- [ch11] [nio-8082-exec-3] c.zmc.interceptor.LoginCheckInterceptor : 请求头token为空返回未登录的信息
2024-11-09T14:36:52.155+08:00 INFO 1947 --- [ch11] [nio-8082-exec-4] cn.zmc.controller.LoginController : 员工登录: Emp(id=null username=jinyong password=123456 name=null gender=null image=null job=null entrydate=null deptId=null createTime=null updateTime=null)
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@56eefc95] was not registered for synchronization because synchronization is not active
JDBC Connection [HikariProxyConnection@1204309655 wrapping com.mysql.cj.jdbc.ConnectionImpl@7c0d513a] will not be managed by Spring
==> Preparing: select * from emp_zmc where username = ? and password = ?
==> Parameters: jinyong(String) 123456(String)
<== Columns: id username password name gender image job entrydate dept_id create_time update_time
<== Row: 2 jinyong 123456 金庸先生 1 https://web-zmc.oss-cn-beijing.aliyuncs.com/d1726991-be82-469e-af2d-ab01667e7153_金庸.jpg 4 2000-01-02 2 2024-10-10 15:58:41 2024-10-10 15:58:41
<== Total: 1
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@56eefc95]
2024-11-09T14:36:52.399+08:00 INFO 1947 --- [ch11] [nio-8082-exec-5] c.zmc.interceptor.LoginCheckInterceptor : 请求的url: http://localhost:8082/index
2024-11-09T14:36:52.400+08:00 INFO 1947 --- [ch11] [nio-8082-exec-5] c.zmc.interceptor.LoginCheckInterceptor : 令牌合法 放行
org.springframework.web.servlet.resource.NoResourceFoundException: No static resource index.
at org.springframework.web.servlet.resource.ResourceHttpRequestHandler.handleRequest(ResourceHttpRequestHandler.java:585)
at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:52)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1089)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:195)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:384)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
at java.base/java.lang.Thread.run(Thread.java:842)
2024-11-09T14:36:57.503+08:00 INFO 1947 --- [ch11] [nio-8082-exec-7] c.zmc.interceptor.LoginCheckInterceptor : 请求的url: http://localhost:8082/depts
2024-11-09T14:36:57.504+08:00 INFO 1947 --- [ch11] [nio-8082-exec-7] c.zmc.interceptor.LoginCheckInterceptor : 令牌合法 放行
2024-11-09T14:36:57.504+08:00 INFO 1947 --- [ch11] [nio-8082-exec-7] cn.zmc.controller.DeptController : 查询全部部门数据
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@6831e018] was not registered for synchronization because synchronization is not active
JDBC Connection [HikariProxyConnection@298976524 wrapping com.mysql.cj.jdbc.ConnectionImpl@7c0d513a] will not be managed by Spring
==> Preparing: select * from dept_zmc
==> Parameters:
<== Columns: id name create_time update_time
<== Row: 1 张姓学工部 2024-10-25 22:22:45 2024-10-25 22:22:45
<== Row: 2 张姓教研部 2024-10-25 22:23:11 2024-10-25 22:23:11
<== Row: 3 张氏咨询部 2024-10-10 15:58:41 2024-10-10 15:58:41
<== Row: 6 张家就业部 2024-10-26 23:19:34 2024-10-26 23:19:34
<== Total: 4
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@6831e018]
2024-11-09T14:36:59.030+08:00 INFO 1947 --- [ch11] [nio-8082-exec-6] c.zmc.interceptor.LoginCheckInterceptor : 请求的url: http://localhost:8082/emps
2024-11-09T14:36:59.031+08:00 INFO 1947 --- [ch11] [nio-8082-exec-6] c.zmc.interceptor.LoginCheckInterceptor : 令牌合法 放行
2024-11-09T14:36:59.032+08:00 INFO 1947 --- [ch11] [nio-8082-exec-6] cn.zmc.controller.EmpController : 分页査询,参数:15
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@18f69ad] was not registered for synchronization because synchronization is not active
Cache Hit Ratio [SQL_CACHE]: 0.8888888888888888
2024-11-09T14:36:59.033+08:00 INFO 1947 --- [ch11] [nio-8082-exec-9] c.zmc.interceptor.LoginCheckInterceptor : 请求的url: http://localhost:8082/depts
2024-11-09T14:36:59.035+08:00 INFO 1947 --- [ch11] [nio-8082-exec-9] c.zmc.interceptor.LoginCheckInterceptor : 令牌合法 放行
2024-11-09T14:36:59.035+08:00 INFO 1947 --- [ch11] [nio-8082-exec-9] cn.zmc.controller.DeptController : 查询全部部门数据
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@2ae248d6] was not registered for synchronization because synchronization is not active
JDBC Connection [HikariProxyConnection@1946805273 wrapping com.mysql.cj.jdbc.ConnectionImpl@7c0d513a] will not be managed by Spring
==> Preparing: SELECT count(0) FROM emp_zmc
==> Parameters:
JDBC Connection [HikariProxyConnection@342886487 wrapping com.mysql.cj.jdbc.ConnectionImpl@91bccc0] will not be managed by Spring
==> Preparing: select * from dept_zmc
==> Parameters:
<== Columns: count(0)
<== Row: 17
<== Total: 1
==> Preparing: select * from emp_zmc LIMIT ?
==> Parameters: 5(Integer)
<== Columns: id name create_time update_time
<== Row: 1 张姓学工部 2024-10-25 22:22:45 2024-10-25 22:22:45
<== Row: 2 张姓教研部 2024-10-25 22:23:11 2024-10-25 22:23:11
<== Row: 3 张氏咨询部 2024-10-10 15:58:41 2024-10-10 15:58:41
<== Row: 6 张家就业部 2024-10-26 23:19:34 2024-10-26 23:19:34
<== Total: 4
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@2ae248d6]
<== Columns: id username password name gender image job entrydate dept_id create_time update_time
<== Row: 1 zhangmc 123456 张蒙赐 1 https://web-zmc.oss-cn-beijing.aliyuncs.com/bafe8610-fe4f-4e0c-a23f-c82635386d79_zmc.jpg 4 2000-01-01 2 2024-10-10 15:58:41 2024-10-10 15:58:41
<== Row: 2 jinyong 123456 金庸先生 1 https://web-zmc.oss-cn-beijing.aliyuncs.com/d1726991-be82-469e-af2d-ab01667e7153_金庸.jpg 4 2000-01-02 2 2024-10-10 15:58:41 2024-10-10 15:58:41
<== Row: 3 zhangwuji 123456 张无忌 1 2.jpg 2 2015-01-01 2 2024-10-10 15:58:41 2024-10-10 15:58:41
<== Row: 4 yangxiao 123456 杨逍 1 3.jpg 2 2008-05-01 2 2024-10-10 15:58:41 2024-10-10 15:58:41
<== Row: 5 weiyixiao 123456 韦一笑 1 4.jpg 2 2007-01-01 2 2024-10-10 15:58:41 2024-10-10 15:58:41
<== Total: 5
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@18f69ad]
2024-11-09T18:53:27.583+08:00 WARN 1947 --- [ch11] [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=3m27s922ms675µs221ns).
2024-11-09T18:53:57.790+08:00 WARN 1947 --- [ch11] [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=14m31s170ms515µs718ns).
2024-11-18T08:34:48.963+08:00 INFO 1947 --- [ch11] [nio-8082-exec-8] c.zmc.interceptor.LoginCheckInterceptor : 请求的url: http://localhost:8082/index
2024-11-18T08:34:48.968+08:00 INFO 1947 --- [ch11] [nio-8082-exec-8] c.zmc.interceptor.LoginCheckInterceptor : 请求头token为空返回未登录的信息
2024-11-18T08:56:48.708+08:00 INFO 1947 --- [ch11] [io-8082-exec-10] c.zmc.interceptor.LoginCheckInterceptor : 请求的url: http://localhost:8082/index
2024-11-18T08:56:48.708+08:00 INFO 1947 --- [ch11] [io-8082-exec-10] c.zmc.interceptor.LoginCheckInterceptor : 请求头token为空返回未登录的信息
2024-11-23T03:59:44.305+08:00 INFO 1947 --- [ch11] [nio-8082-exec-2] c.zmc.interceptor.LoginCheckInterceptor : 请求的url: http://localhost:8082/index
2024-11-23T03:59:44.310+08:00 INFO 1947 --- [ch11] [nio-8082-exec-2] c.zmc.interceptor.LoginCheckInterceptor : 请求头token为空返回未登录的信息
2024-12-06T17:34:58.847+08:00 INFO 1947 --- [ch11] [nio-8082-exec-1] c.zmc.interceptor.LoginCheckInterceptor : 请求的url: http://localhost:8082/v1/check-version
2024-12-06T17:34:58.847+08:00 INFO 1947 --- [ch11] [nio-8082-exec-1] c.zmc.interceptor.LoginCheckInterceptor : 请求头token为空返回未登录的信息
2024-12-11T08:46:52.292+08:00 INFO 1947 --- [ch11] [nio-8082-exec-3] c.zmc.interceptor.LoginCheckInterceptor : 请求的url: http://localhost:8082/index
2024-12-11T08:46:52.293+08:00 INFO 1947 --- [ch11] [nio-8082-exec-3] c.zmc.interceptor.LoginCheckInterceptor : 请求头token为空返回未登录的信息
2024-12-12T08:58:17.364+08:00 INFO 1947 --- [ch11] [nio-8082-exec-4] c.zmc.interceptor.LoginCheckInterceptor : 请求的url: http://localhost:8082/index
2024-12-12T08:58:17.372+08:00 INFO 1947 --- [ch11] [nio-8082-exec-4] c.zmc.interceptor.LoginCheckInterceptor : 请求头token为空返回未登录的信息