You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4323 lines
453 KiB
4323 lines
453 KiB
2020-08-18 08:44:30,922 [http-nio-10000-exec-5] ERROR o.a.tomcat.jdbc.pool.ConnectionPool -[DirectJDKLog.java:175]- Unable to create initial connections of pool. |
|
com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'sa' 登录失败。 ClientConnectionId:72f85954-662a-4d24-b4fd-baa2dd8ab4ff |
|
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:259) |
|
at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:256) |
|
at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:108) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:4548) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:3409) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$100(SQLServerConnection.java:85) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:3373) |
|
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7344) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2713) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2261) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077) |
|
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:319) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:739) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:671) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:483) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:131) |
|
at com.mh.eems.datasource.DynamicDataSource.getConnection(DynamicDataSource.java:48) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:151) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62) |
|
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:326) |
|
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) |
|
at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109) |
|
at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:143) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) |
|
at com.sun.proxy.$Proxy156.query(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
at com.sun.proxy.$Proxy88.selectList(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:230) |
|
at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:139) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:76) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy184.queryUsageAnalysisByMap(Unknown Source) |
|
at com.mh.eems.service.impl.UsageAnalysisServiceImpl.queryUsageAnalysisByMap(UsageAnalysisServiceImpl.java:32) |
|
at com.mh.eems.util.UsageAnalysisUtil.queryChart(UsageAnalysisUtil.java:43) |
|
at com.mh.eems.controller.UsageAnalysisController.queryAllHome(UsageAnalysisController.java:135) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
2020-08-18 08:44:30,922 [http-nio-10000-exec-4] ERROR o.a.tomcat.jdbc.pool.ConnectionPool -[DirectJDKLog.java:175]- Unable to create initial connections of pool. |
|
com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'sa' 登录失败。 ClientConnectionId:dfb5b4f1-07bc-4134-a11f-a1c1f2b15d57 |
|
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:259) |
|
at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:256) |
|
at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:108) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:4548) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:3409) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$100(SQLServerConnection.java:85) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:3373) |
|
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7344) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2713) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2261) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077) |
|
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:319) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:739) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:671) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:483) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:131) |
|
at com.mh.eems.datasource.DynamicDataSource.getConnection(DynamicDataSource.java:48) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:151) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62) |
|
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:326) |
|
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) |
|
at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109) |
|
at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:143) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) |
|
at com.sun.proxy.$Proxy156.query(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
at com.sun.proxy.$Proxy88.selectList(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:230) |
|
at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:139) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:76) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy174.queryStatusForGateway(Unknown Source) |
|
at com.mh.eems.service.impl.GatewayServiceImpl.queryStatusForGateway(GatewayServiceImpl.java:112) |
|
at com.mh.eems.service.impl.GatewayServiceImpl$$FastClassBySpringCGLIB$$cf71d564.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.service.impl.GatewayServiceImpl$$EnhancerBySpringCGLIB$$e75674fa.queryStatusForGateway(<generated>) |
|
at com.mh.eems.controller.GatewayController.queryAllHome(GatewayController.java:295) |
|
at com.mh.eems.controller.GatewayController$$FastClassBySpringCGLIB$$f2f69270.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.GatewayController$$EnhancerBySpringCGLIB$$638d339e.queryAllHome(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
2020-08-18 08:44:30,922 [http-nio-10000-exec-2] ERROR o.a.tomcat.jdbc.pool.ConnectionPool -[DirectJDKLog.java:175]- Unable to create initial connections of pool. |
|
com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'sa' 登录失败。 ClientConnectionId:e629c7bd-fd8a-4e7e-8724-d7a29868ae03 |
|
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:259) |
|
at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:256) |
|
at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:108) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:4548) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:3409) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$100(SQLServerConnection.java:85) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:3373) |
|
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7344) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2713) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2261) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077) |
|
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:319) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:739) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:671) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:483) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:131) |
|
at com.mh.eems.datasource.DynamicDataSource.getConnection(DynamicDataSource.java:48) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:151) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62) |
|
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:326) |
|
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) |
|
at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109) |
|
at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:143) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) |
|
at com.sun.proxy.$Proxy156.query(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
at com.sun.proxy.$Proxy88.selectList(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:230) |
|
at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:139) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:76) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy185.usageCount(Unknown Source) |
|
at com.mh.eems.service.impl.UseageServiceImpl.usageCount(UseageServiceImpl.java:55) |
|
at com.mh.eems.controller.UsageController.usageCount(UsageController.java:98) |
|
at com.mh.eems.controller.UsageController$$FastClassBySpringCGLIB$$4114958d.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.UsageController$$EnhancerBySpringCGLIB$$1bdf9715.usageCount(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
2020-08-18 08:44:30,922 [http-nio-10000-exec-8] ERROR o.a.tomcat.jdbc.pool.ConnectionPool -[DirectJDKLog.java:175]- Unable to create initial connections of pool. |
|
com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'sa' 登录失败。 ClientConnectionId:5a0149f2-873c-43c9-aa51-daafa78225a9 |
|
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:259) |
|
at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:256) |
|
at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:108) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:4548) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:3409) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$100(SQLServerConnection.java:85) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:3373) |
|
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7344) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2713) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2261) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077) |
|
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:319) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:739) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:671) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:483) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:131) |
|
at com.mh.eems.datasource.DynamicDataSource.getConnection(DynamicDataSource.java:48) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:151) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62) |
|
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:326) |
|
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) |
|
at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109) |
|
at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:143) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) |
|
at com.sun.proxy.$Proxy156.query(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:77) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
at com.sun.proxy.$Proxy88.selectOne(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:166) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:83) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy186.homeException(Unknown Source) |
|
at com.mh.eems.service.impl.UsageExceptionServiceImpl.homeException(UsageExceptionServiceImpl.java:155) |
|
at com.mh.eems.controller.UsageExceptionController.homeException(UsageExceptionController.java:104) |
|
at com.mh.eems.controller.UsageExceptionController$$FastClassBySpringCGLIB$$e7a3a67a.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.UsageExceptionController$$EnhancerBySpringCGLIB$$7445fc.homeException(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
2020-08-18 08:44:30,935 [http-nio-10000-exec-6] ERROR o.a.tomcat.jdbc.pool.ConnectionPool -[DirectJDKLog.java:175]- Unable to create initial connections of pool. |
|
com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'sa' 登录失败。 ClientConnectionId:bde36214-dbb6-4ca3-a80b-4dade05da2fa |
|
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:259) |
|
at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:256) |
|
at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:108) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:4548) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:3409) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$100(SQLServerConnection.java:85) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:3373) |
|
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7344) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2713) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2261) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077) |
|
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:319) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:739) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:671) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:483) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:131) |
|
at com.mh.eems.datasource.DynamicDataSource.getConnection(DynamicDataSource.java:48) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:151) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62) |
|
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:326) |
|
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) |
|
at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109) |
|
at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:143) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) |
|
at com.sun.proxy.$Proxy156.query(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:77) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
at com.sun.proxy.$Proxy88.selectOne(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:166) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:83) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy179.querySysUserAndRoleByUserId1(Unknown Source) |
|
at com.mh.eems.service.impl.PermissionServiceImpl.listByUserId(PermissionServiceImpl.java:57) |
|
at com.mh.eems.service.impl.PermissionServiceImpl$$FastClassBySpringCGLIB$$10e5b473.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) |
|
at com.mh.eems.service.impl.PermissionServiceImpl$$EnhancerBySpringCGLIB$$9f453029.listByUserId(<generated>) |
|
at com.mh.eems.service.impl.PermissionServiceImpl$$FastClassBySpringCGLIB$$10e5b473.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) |
|
at com.mh.eems.service.impl.PermissionServiceImpl$$EnhancerBySpringCGLIB$$d107fdc9.listByUserId(<generated>) |
|
at com.mh.eems.controller.PermissionController.permissionsCurrent(PermissionController.java:81) |
|
at com.mh.eems.controller.PermissionController$$FastClassBySpringCGLIB$$1e51875b.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) |
|
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) |
|
at com.mh.eems.advice.LogAdvice.logSave(LogAdvice.java:60) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) |
|
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.PermissionController$$EnhancerBySpringCGLIB$$98e7a7f5.permissionsCurrent(<generated>) |
|
at com.mh.eems.controller.PermissionController$$FastClassBySpringCGLIB$$1e51875b.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) |
|
at com.mh.eems.controller.PermissionController$$EnhancerBySpringCGLIB$$7cc6ed87.permissionsCurrent(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
2020-08-18 08:44:30,935 [http-nio-10000-exec-5] ERROR adminLogger -[ExceptionHandlerAdvice.java:59]- 系统异常 |
|
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: |
|
### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
### The error may exist in com/mh/eems/mapper/UsageAnalysisMapper.java (best guess) |
|
### The error may involve com.mh.eems.mapper.UsageAnalysisMapper.queryUsageAnalysisByMap |
|
### The error occurred while executing a query |
|
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:77) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:446) |
|
at com.sun.proxy.$Proxy88.selectList(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:230) |
|
at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:139) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:76) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy184.queryUsageAnalysisByMap(Unknown Source) |
|
at com.mh.eems.service.impl.UsageAnalysisServiceImpl.queryUsageAnalysisByMap(UsageAnalysisServiceImpl.java:32) |
|
at com.mh.eems.util.UsageAnalysisUtil.queryChart(UsageAnalysisUtil.java:43) |
|
at com.mh.eems.controller.UsageAnalysisController.queryAllHome(UsageAnalysisController.java:135) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
Caused by: org.apache.ibatis.exceptions.PersistenceException: |
|
### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
### The error may exist in com/mh/eems/mapper/UsageAnalysisMapper.java (best guess) |
|
### The error may involve com.mh.eems.mapper.UsageAnalysisMapper.queryUsageAnalysisByMap |
|
### The error occurred while executing a query |
|
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:150) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
... 80 common frames omitted |
|
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:84) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62) |
|
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:326) |
|
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) |
|
at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109) |
|
at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:143) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) |
|
at com.sun.proxy.$Proxy156.query(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148) |
|
... 86 common frames omitted |
|
2020-08-18 08:44:30,935 [http-nio-10000-exec-2] ERROR adminLogger -[ExceptionHandlerAdvice.java:59]- 系统异常 |
|
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: |
|
### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
### The error may exist in com/mh/eems/mapper/UsageMapper.java (best guess) |
|
### The error may involve com.mh.eems.mapper.UsageMapper.usageCount |
|
### The error occurred while executing a query |
|
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:77) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:446) |
|
at com.sun.proxy.$Proxy88.selectList(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:230) |
|
at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:139) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:76) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy185.usageCount(Unknown Source) |
|
at com.mh.eems.service.impl.UseageServiceImpl.usageCount(UseageServiceImpl.java:55) |
|
at com.mh.eems.controller.UsageController.usageCount(UsageController.java:98) |
|
at com.mh.eems.controller.UsageController$$FastClassBySpringCGLIB$$4114958d.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.UsageController$$EnhancerBySpringCGLIB$$1bdf9715.usageCount(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
Caused by: org.apache.ibatis.exceptions.PersistenceException: |
|
### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
### The error may exist in com/mh/eems/mapper/UsageMapper.java (best guess) |
|
### The error may involve com.mh.eems.mapper.UsageMapper.usageCount |
|
### The error occurred while executing a query |
|
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:150) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
... 87 common frames omitted |
|
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:84) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62) |
|
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:326) |
|
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) |
|
at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109) |
|
at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:143) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) |
|
at com.sun.proxy.$Proxy156.query(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148) |
|
... 93 common frames omitted |
|
2020-08-18 08:44:30,935 [http-nio-10000-exec-8] ERROR adminLogger -[ExceptionHandlerAdvice.java:59]- 系统异常 |
|
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: |
|
### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
### The error may exist in com/mh/eems/mapper/UsageExceptionMapper.java (best guess) |
|
### The error may involve com.mh.eems.mapper.UsageExceptionMapper.homeException |
|
### The error occurred while executing a query |
|
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:77) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:446) |
|
at com.sun.proxy.$Proxy88.selectOne(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:166) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:83) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy186.homeException(Unknown Source) |
|
at com.mh.eems.service.impl.UsageExceptionServiceImpl.homeException(UsageExceptionServiceImpl.java:155) |
|
at com.mh.eems.controller.UsageExceptionController.homeException(UsageExceptionController.java:104) |
|
at com.mh.eems.controller.UsageExceptionController$$FastClassBySpringCGLIB$$e7a3a67a.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.UsageExceptionController$$EnhancerBySpringCGLIB$$7445fc.homeException(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
Caused by: org.apache.ibatis.exceptions.PersistenceException: |
|
### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
### The error may exist in com/mh/eems/mapper/UsageExceptionMapper.java (best guess) |
|
### The error may involve com.mh.eems.mapper.UsageExceptionMapper.homeException |
|
### The error occurred while executing a query |
|
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:150) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:77) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
... 86 common frames omitted |
|
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:84) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62) |
|
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:326) |
|
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) |
|
at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109) |
|
at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:143) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) |
|
at com.sun.proxy.$Proxy156.query(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148) |
|
... 93 common frames omitted |
|
2020-08-18 08:44:30,951 [http-nio-10000-exec-6] ERROR o.a.tomcat.jdbc.pool.ConnectionPool -[DirectJDKLog.java:175]- Unable to create initial connections of pool. |
|
com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'sa' 登录失败。 ClientConnectionId:0884c194-9f07-47b6-8e1b-394abf46063a |
|
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:259) |
|
at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:256) |
|
at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:108) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:4548) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:3409) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$100(SQLServerConnection.java:85) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:3373) |
|
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7344) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2713) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2261) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077) |
|
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:319) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:739) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:671) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:483) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:131) |
|
at com.mh.eems.datasource.DynamicDataSource.getConnection(DynamicDataSource.java:48) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:151) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49) |
|
at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) |
|
at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63) |
|
at com.sun.proxy.$Proxy156.update(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:198) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:185) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
at com.sun.proxy.$Proxy88.insert(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:278) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:58) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy166.insertLogs(Unknown Source) |
|
at com.mh.eems.service.impl.SysLogServiceImpl.insertLogs(SysLogServiceImpl.java:30) |
|
at com.mh.eems.advice.LogAdvice.logSave(LogAdvice.java:63) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) |
|
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.PermissionController$$EnhancerBySpringCGLIB$$98e7a7f5.permissionsCurrent(<generated>) |
|
at com.mh.eems.controller.PermissionController$$FastClassBySpringCGLIB$$1e51875b.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) |
|
at com.mh.eems.controller.PermissionController$$EnhancerBySpringCGLIB$$7cc6ed87.permissionsCurrent(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
2020-08-18 08:44:30,964 [http-nio-10000-exec-6] ERROR o.a.tomcat.jdbc.pool.ConnectionPool -[DirectJDKLog.java:175]- Unable to create initial connections of pool. |
|
com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'sa' 登录失败。 ClientConnectionId:31de5334-2dc6-4e1b-a95d-cd06becd35bf |
|
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:259) |
|
at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:256) |
|
at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:108) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:4548) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:3409) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$100(SQLServerConnection.java:85) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:3373) |
|
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7344) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2713) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2261) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077) |
|
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:319) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:739) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:671) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:483) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:131) |
|
at com.mh.eems.datasource.DynamicDataSource.getConnection(DynamicDataSource.java:48) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:151) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49) |
|
at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) |
|
at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63) |
|
at com.sun.proxy.$Proxy156.update(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:198) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:185) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
at com.sun.proxy.$Proxy88.insert(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:278) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:58) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy166.insertLogs(Unknown Source) |
|
at com.mh.eems.service.impl.SysLogServiceImpl.insertLogs(SysLogServiceImpl.java:30) |
|
at com.mh.eems.advice.LogAdvice.logSave(LogAdvice.java:69) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) |
|
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.PermissionController$$EnhancerBySpringCGLIB$$98e7a7f5.permissionsCurrent(<generated>) |
|
at com.mh.eems.controller.PermissionController$$FastClassBySpringCGLIB$$1e51875b.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) |
|
at com.mh.eems.controller.PermissionController$$EnhancerBySpringCGLIB$$7cc6ed87.permissionsCurrent(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
2020-08-18 08:44:30,967 [http-nio-10000-exec-6] ERROR adminLogger -[ExceptionHandlerAdvice.java:59]- 系统异常 |
|
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: |
|
### Error updating database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:77) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:446) |
|
at com.sun.proxy.$Proxy88.insert(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:278) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:58) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy166.insertLogs(Unknown Source) |
|
at com.mh.eems.service.impl.SysLogServiceImpl.insertLogs(SysLogServiceImpl.java:30) |
|
at com.mh.eems.advice.LogAdvice.logSave(LogAdvice.java:69) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) |
|
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.PermissionController$$EnhancerBySpringCGLIB$$98e7a7f5.permissionsCurrent(<generated>) |
|
at com.mh.eems.controller.PermissionController$$FastClassBySpringCGLIB$$1e51875b.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) |
|
at com.mh.eems.controller.PermissionController$$EnhancerBySpringCGLIB$$7cc6ed87.permissionsCurrent(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
Caused by: org.apache.ibatis.exceptions.PersistenceException: |
|
### Error updating database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:200) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:185) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
... 94 common frames omitted |
|
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:84) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49) |
|
at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) |
|
at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63) |
|
at com.sun.proxy.$Proxy156.update(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:198) |
|
... 100 common frames omitted |
|
2020-08-18 08:44:33,780 [http-nio-10000-exec-3] ERROR o.a.tomcat.jdbc.pool.ConnectionPool -[DirectJDKLog.java:175]- Unable to create initial connections of pool. |
|
com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'sa' 登录失败。 ClientConnectionId:a52b4e04-ac1e-4f7a-8b22-63ccf3e198bf |
|
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:259) |
|
at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:256) |
|
at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:108) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:4548) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:3409) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$100(SQLServerConnection.java:85) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:3373) |
|
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7344) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2713) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2261) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077) |
|
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:319) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:739) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:671) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:483) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:131) |
|
at com.mh.eems.datasource.DynamicDataSource.getConnection(DynamicDataSource.java:48) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:151) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62) |
|
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:326) |
|
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) |
|
at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109) |
|
at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:143) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) |
|
at com.sun.proxy.$Proxy156.query(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
at com.sun.proxy.$Proxy88.selectList(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:230) |
|
at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:139) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:76) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy185.usageCount(Unknown Source) |
|
at com.mh.eems.service.impl.UseageServiceImpl.usageCount(UseageServiceImpl.java:55) |
|
at com.mh.eems.controller.UsageController.usageCount(UsageController.java:98) |
|
at com.mh.eems.controller.UsageController$$FastClassBySpringCGLIB$$4114958d.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.UsageController$$EnhancerBySpringCGLIB$$1bdf9715.usageCount(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
2020-08-18 08:44:33,782 [http-nio-10000-exec-3] ERROR adminLogger -[ExceptionHandlerAdvice.java:59]- 系统异常 |
|
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: |
|
### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
### The error may exist in com/mh/eems/mapper/UsageMapper.java (best guess) |
|
### The error may involve com.mh.eems.mapper.UsageMapper.usageCount |
|
### The error occurred while executing a query |
|
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:77) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:446) |
|
at com.sun.proxy.$Proxy88.selectList(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:230) |
|
at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:139) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:76) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy185.usageCount(Unknown Source) |
|
at com.mh.eems.service.impl.UseageServiceImpl.usageCount(UseageServiceImpl.java:55) |
|
at com.mh.eems.controller.UsageController.usageCount(UsageController.java:98) |
|
at com.mh.eems.controller.UsageController$$FastClassBySpringCGLIB$$4114958d.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.UsageController$$EnhancerBySpringCGLIB$$1bdf9715.usageCount(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
Caused by: org.apache.ibatis.exceptions.PersistenceException: |
|
### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
### The error may exist in com/mh/eems/mapper/UsageMapper.java (best guess) |
|
### The error may involve com.mh.eems.mapper.UsageMapper.usageCount |
|
### The error occurred while executing a query |
|
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:150) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
... 87 common frames omitted |
|
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:84) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62) |
|
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:326) |
|
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) |
|
at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109) |
|
at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:143) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) |
|
at com.sun.proxy.$Proxy156.query(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148) |
|
... 93 common frames omitted |
|
2020-08-18 08:44:33,789 [http-nio-10000-exec-4] ERROR o.a.tomcat.jdbc.pool.ConnectionPool -[DirectJDKLog.java:175]- Unable to create initial connections of pool. |
|
com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'sa' 登录失败。 ClientConnectionId:b4df90c3-5897-448d-bf4d-3ec31022b20f |
|
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:259) |
|
at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:256) |
|
at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:108) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:4548) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:3409) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$100(SQLServerConnection.java:85) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:3373) |
|
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7344) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2713) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2261) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077) |
|
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:319) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:739) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:671) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:483) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:131) |
|
at com.mh.eems.datasource.DynamicDataSource.getConnection(DynamicDataSource.java:48) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:151) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62) |
|
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:326) |
|
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) |
|
at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109) |
|
at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:143) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) |
|
at com.sun.proxy.$Proxy156.query(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:77) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
at com.sun.proxy.$Proxy88.selectOne(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:166) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:83) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy179.querySysUserAndRoleByUserId1(Unknown Source) |
|
at com.mh.eems.service.impl.PermissionServiceImpl.listByUserId(PermissionServiceImpl.java:57) |
|
at com.mh.eems.service.impl.PermissionServiceImpl$$FastClassBySpringCGLIB$$10e5b473.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) |
|
at com.mh.eems.service.impl.PermissionServiceImpl$$EnhancerBySpringCGLIB$$9f453029.listByUserId(<generated>) |
|
at com.mh.eems.service.impl.PermissionServiceImpl$$FastClassBySpringCGLIB$$10e5b473.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) |
|
at com.mh.eems.service.impl.PermissionServiceImpl$$EnhancerBySpringCGLIB$$d107fdc9.listByUserId(<generated>) |
|
at com.mh.eems.controller.PermissionController.permissionsCurrent(PermissionController.java:81) |
|
at com.mh.eems.controller.PermissionController$$FastClassBySpringCGLIB$$1e51875b.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) |
|
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) |
|
at com.mh.eems.advice.LogAdvice.logSave(LogAdvice.java:60) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) |
|
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.PermissionController$$EnhancerBySpringCGLIB$$98e7a7f5.permissionsCurrent(<generated>) |
|
at com.mh.eems.controller.PermissionController$$FastClassBySpringCGLIB$$1e51875b.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) |
|
at com.mh.eems.controller.PermissionController$$EnhancerBySpringCGLIB$$7cc6ed87.permissionsCurrent(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
2020-08-18 08:44:33,800 [http-nio-10000-exec-1] ERROR o.a.tomcat.jdbc.pool.ConnectionPool -[DirectJDKLog.java:175]- Unable to create initial connections of pool. |
|
com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'sa' 登录失败。 ClientConnectionId:285ac6b4-9743-49a5-a436-d95615b4a44d |
|
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:259) |
|
at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:256) |
|
at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:108) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:4548) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:3409) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$100(SQLServerConnection.java:85) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:3373) |
|
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7344) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2713) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2261) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077) |
|
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:319) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:739) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:671) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:483) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:131) |
|
at com.mh.eems.datasource.DynamicDataSource.getConnection(DynamicDataSource.java:48) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:151) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62) |
|
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:326) |
|
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) |
|
at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109) |
|
at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:143) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) |
|
at com.sun.proxy.$Proxy156.query(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
at com.sun.proxy.$Proxy88.selectList(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:230) |
|
at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:139) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:76) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy174.queryStatusForGateway(Unknown Source) |
|
at com.mh.eems.service.impl.GatewayServiceImpl.queryStatusForGateway(GatewayServiceImpl.java:112) |
|
at com.mh.eems.service.impl.GatewayServiceImpl$$FastClassBySpringCGLIB$$cf71d564.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.service.impl.GatewayServiceImpl$$EnhancerBySpringCGLIB$$e75674fa.queryStatusForGateway(<generated>) |
|
at com.mh.eems.controller.GatewayController.queryAllHome(GatewayController.java:295) |
|
at com.mh.eems.controller.GatewayController$$FastClassBySpringCGLIB$$f2f69270.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.GatewayController$$EnhancerBySpringCGLIB$$638d339e.queryAllHome(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
2020-08-18 08:44:33,809 [http-nio-10000-exec-7] ERROR o.a.tomcat.jdbc.pool.ConnectionPool -[DirectJDKLog.java:175]- Unable to create initial connections of pool. |
|
com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'sa' 登录失败。 ClientConnectionId:ff73b001-e290-4b2c-9bb0-ef524063f0f0 |
|
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:259) |
|
at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:256) |
|
at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:108) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:4548) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:3409) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$100(SQLServerConnection.java:85) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:3373) |
|
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7344) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2713) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2261) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077) |
|
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:319) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:739) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:671) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:483) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:131) |
|
at com.mh.eems.datasource.DynamicDataSource.getConnection(DynamicDataSource.java:48) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:151) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62) |
|
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:326) |
|
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) |
|
at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109) |
|
at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:143) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) |
|
at com.sun.proxy.$Proxy156.query(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
at com.sun.proxy.$Proxy88.selectList(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:230) |
|
at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:139) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:76) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy184.queryUsageAnalysisByMap(Unknown Source) |
|
at com.mh.eems.service.impl.UsageAnalysisServiceImpl.queryUsageAnalysisByMap(UsageAnalysisServiceImpl.java:32) |
|
at com.mh.eems.util.UsageAnalysisUtil.queryChart(UsageAnalysisUtil.java:43) |
|
at com.mh.eems.controller.UsageAnalysisController.queryAllHome(UsageAnalysisController.java:135) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
2020-08-18 08:44:33,811 [http-nio-10000-exec-7] ERROR adminLogger -[ExceptionHandlerAdvice.java:59]- 系统异常 |
|
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: |
|
### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
### The error may exist in com/mh/eems/mapper/UsageAnalysisMapper.java (best guess) |
|
### The error may involve com.mh.eems.mapper.UsageAnalysisMapper.queryUsageAnalysisByMap |
|
### The error occurred while executing a query |
|
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:77) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:446) |
|
at com.sun.proxy.$Proxy88.selectList(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:230) |
|
at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:139) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:76) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy184.queryUsageAnalysisByMap(Unknown Source) |
|
at com.mh.eems.service.impl.UsageAnalysisServiceImpl.queryUsageAnalysisByMap(UsageAnalysisServiceImpl.java:32) |
|
at com.mh.eems.util.UsageAnalysisUtil.queryChart(UsageAnalysisUtil.java:43) |
|
at com.mh.eems.controller.UsageAnalysisController.queryAllHome(UsageAnalysisController.java:135) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
Caused by: org.apache.ibatis.exceptions.PersistenceException: |
|
### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
### The error may exist in com/mh/eems/mapper/UsageAnalysisMapper.java (best guess) |
|
### The error may involve com.mh.eems.mapper.UsageAnalysisMapper.queryUsageAnalysisByMap |
|
### The error occurred while executing a query |
|
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:150) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
... 80 common frames omitted |
|
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:84) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62) |
|
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:326) |
|
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) |
|
at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109) |
|
at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:143) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) |
|
at com.sun.proxy.$Proxy156.query(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148) |
|
... 86 common frames omitted |
|
2020-08-18 08:44:33,819 [http-nio-10000-exec-10] ERROR o.a.tomcat.jdbc.pool.ConnectionPool -[DirectJDKLog.java:175]- Unable to create initial connections of pool. |
|
com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'sa' 登录失败。 ClientConnectionId:e50647ce-f659-4c62-a949-d404fba527d1 |
|
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:259) |
|
at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:256) |
|
at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:108) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:4548) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:3409) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$100(SQLServerConnection.java:85) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:3373) |
|
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7344) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2713) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2261) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077) |
|
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:319) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:739) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:671) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:483) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:131) |
|
at com.mh.eems.datasource.DynamicDataSource.getConnection(DynamicDataSource.java:48) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:151) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62) |
|
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:326) |
|
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) |
|
at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109) |
|
at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:143) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) |
|
at com.sun.proxy.$Proxy156.query(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:77) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
at com.sun.proxy.$Proxy88.selectOne(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:166) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:83) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy186.homeException(Unknown Source) |
|
at com.mh.eems.service.impl.UsageExceptionServiceImpl.homeException(UsageExceptionServiceImpl.java:155) |
|
at com.mh.eems.controller.UsageExceptionController.homeException(UsageExceptionController.java:104) |
|
at com.mh.eems.controller.UsageExceptionController$$FastClassBySpringCGLIB$$e7a3a67a.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.UsageExceptionController$$EnhancerBySpringCGLIB$$7445fc.homeException(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
2020-08-18 08:44:33,821 [http-nio-10000-exec-10] ERROR adminLogger -[ExceptionHandlerAdvice.java:59]- 系统异常 |
|
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: |
|
### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
### The error may exist in com/mh/eems/mapper/UsageExceptionMapper.java (best guess) |
|
### The error may involve com.mh.eems.mapper.UsageExceptionMapper.homeException |
|
### The error occurred while executing a query |
|
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:77) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:446) |
|
at com.sun.proxy.$Proxy88.selectOne(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:166) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:83) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy186.homeException(Unknown Source) |
|
at com.mh.eems.service.impl.UsageExceptionServiceImpl.homeException(UsageExceptionServiceImpl.java:155) |
|
at com.mh.eems.controller.UsageExceptionController.homeException(UsageExceptionController.java:104) |
|
at com.mh.eems.controller.UsageExceptionController$$FastClassBySpringCGLIB$$e7a3a67a.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.UsageExceptionController$$EnhancerBySpringCGLIB$$7445fc.homeException(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
Caused by: org.apache.ibatis.exceptions.PersistenceException: |
|
### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
### The error may exist in com/mh/eems/mapper/UsageExceptionMapper.java (best guess) |
|
### The error may involve com.mh.eems.mapper.UsageExceptionMapper.homeException |
|
### The error occurred while executing a query |
|
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:150) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:77) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
... 86 common frames omitted |
|
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:84) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62) |
|
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:326) |
|
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) |
|
at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109) |
|
at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:143) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) |
|
at com.sun.proxy.$Proxy156.query(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148) |
|
... 93 common frames omitted |
|
2020-08-18 08:44:33,829 [http-nio-10000-exec-4] ERROR o.a.tomcat.jdbc.pool.ConnectionPool -[DirectJDKLog.java:175]- Unable to create initial connections of pool. |
|
com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'sa' 登录失败。 ClientConnectionId:b3b9372d-5b31-40bd-aca8-1094ebc8e3db |
|
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:259) |
|
at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:256) |
|
at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:108) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:4548) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:3409) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$100(SQLServerConnection.java:85) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:3373) |
|
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7344) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2713) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2261) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077) |
|
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:319) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:739) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:671) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:483) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:131) |
|
at com.mh.eems.datasource.DynamicDataSource.getConnection(DynamicDataSource.java:48) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:151) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49) |
|
at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) |
|
at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63) |
|
at com.sun.proxy.$Proxy156.update(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:198) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:185) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
at com.sun.proxy.$Proxy88.insert(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:278) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:58) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy166.insertLogs(Unknown Source) |
|
at com.mh.eems.service.impl.SysLogServiceImpl.insertLogs(SysLogServiceImpl.java:30) |
|
at com.mh.eems.advice.LogAdvice.logSave(LogAdvice.java:63) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) |
|
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.PermissionController$$EnhancerBySpringCGLIB$$98e7a7f5.permissionsCurrent(<generated>) |
|
at com.mh.eems.controller.PermissionController$$FastClassBySpringCGLIB$$1e51875b.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) |
|
at com.mh.eems.controller.PermissionController$$EnhancerBySpringCGLIB$$7cc6ed87.permissionsCurrent(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
2020-08-18 08:44:33,839 [http-nio-10000-exec-4] ERROR o.a.tomcat.jdbc.pool.ConnectionPool -[DirectJDKLog.java:175]- Unable to create initial connections of pool. |
|
com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'sa' 登录失败。 ClientConnectionId:63c80b36-bca0-40ff-8e9c-5af251e299b4 |
|
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:259) |
|
at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:256) |
|
at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:108) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:4548) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:3409) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$100(SQLServerConnection.java:85) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:3373) |
|
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7344) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2713) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2261) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077) |
|
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:319) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:739) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:671) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:483) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:131) |
|
at com.mh.eems.datasource.DynamicDataSource.getConnection(DynamicDataSource.java:48) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:151) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49) |
|
at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) |
|
at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63) |
|
at com.sun.proxy.$Proxy156.update(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:198) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:185) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
at com.sun.proxy.$Proxy88.insert(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:278) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:58) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy166.insertLogs(Unknown Source) |
|
at com.mh.eems.service.impl.SysLogServiceImpl.insertLogs(SysLogServiceImpl.java:30) |
|
at com.mh.eems.advice.LogAdvice.logSave(LogAdvice.java:69) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) |
|
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.PermissionController$$EnhancerBySpringCGLIB$$98e7a7f5.permissionsCurrent(<generated>) |
|
at com.mh.eems.controller.PermissionController$$FastClassBySpringCGLIB$$1e51875b.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) |
|
at com.mh.eems.controller.PermissionController$$EnhancerBySpringCGLIB$$7cc6ed87.permissionsCurrent(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
2020-08-18 08:44:33,842 [http-nio-10000-exec-4] ERROR adminLogger -[ExceptionHandlerAdvice.java:59]- 系统异常 |
|
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: |
|
### Error updating database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:77) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:446) |
|
at com.sun.proxy.$Proxy88.insert(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:278) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:58) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy166.insertLogs(Unknown Source) |
|
at com.mh.eems.service.impl.SysLogServiceImpl.insertLogs(SysLogServiceImpl.java:30) |
|
at com.mh.eems.advice.LogAdvice.logSave(LogAdvice.java:69) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) |
|
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.PermissionController$$EnhancerBySpringCGLIB$$98e7a7f5.permissionsCurrent(<generated>) |
|
at com.mh.eems.controller.PermissionController$$FastClassBySpringCGLIB$$1e51875b.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) |
|
at com.mh.eems.controller.PermissionController$$EnhancerBySpringCGLIB$$7cc6ed87.permissionsCurrent(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
Caused by: org.apache.ibatis.exceptions.PersistenceException: |
|
### Error updating database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:200) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:185) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
... 94 common frames omitted |
|
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:84) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49) |
|
at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) |
|
at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63) |
|
at com.sun.proxy.$Proxy156.update(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:198) |
|
... 100 common frames omitted |
|
2020-08-18 08:44:38,543 [http-nio-10000-exec-2] ERROR o.a.tomcat.jdbc.pool.ConnectionPool -[DirectJDKLog.java:175]- Unable to create initial connections of pool. |
|
com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'sa' 登录失败。 ClientConnectionId:a337771d-4235-4865-9f0a-f7d27fc9099e |
|
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:259) |
|
at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:256) |
|
at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:108) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:4548) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:3409) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$100(SQLServerConnection.java:85) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:3373) |
|
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7344) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2713) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2261) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077) |
|
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:319) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:739) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:671) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:483) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:131) |
|
at com.mh.eems.datasource.DynamicDataSource.getConnection(DynamicDataSource.java:48) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:151) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62) |
|
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:326) |
|
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) |
|
at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109) |
|
at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:143) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) |
|
at com.sun.proxy.$Proxy156.query(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:77) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
at com.sun.proxy.$Proxy88.selectOne(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:166) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:83) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy179.getUser(Unknown Source) |
|
at com.mh.eems.service.impl.SysUserServiceImpl.getUser(SysUserServiceImpl.java:147) |
|
at com.mh.eems.service.impl.SysUserServiceImpl$$FastClassBySpringCGLIB$$13a62af0.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) |
|
at com.mh.eems.service.impl.SysUserServiceImpl$$EnhancerBySpringCGLIB$$a37209c0.getUser(<generated>) |
|
at com.mh.eems.service.impl.SysUserServiceImpl$$FastClassBySpringCGLIB$$13a62af0.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) |
|
at com.mh.eems.service.impl.SysUserServiceImpl$$EnhancerBySpringCGLIB$$92b8f8fe.getUser(<generated>) |
|
at com.mh.eems.config.MyShiroRealm.doGetAuthenticationInfo(MyShiroRealm.java:39) |
|
at org.apache.shiro.realm.AuthenticatingRealm.getAuthenticationInfo(AuthenticatingRealm.java:571) |
|
at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doSingleRealmAuthentication(ModularRealmAuthenticator.java:180) |
|
at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:267) |
|
at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198) |
|
at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106) |
|
at org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:274) |
|
at org.apache.shiro.subject.support.DelegatingSubject.login(DelegatingSubject.java:260) |
|
at com.mh.eems.controller.LoginController.login(LoginController.java:63) |
|
at com.mh.eems.controller.LoginController$$FastClassBySpringCGLIB$$73666d55.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) |
|
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) |
|
at com.mh.eems.advice.LogAdvice.logSave(LogAdvice.java:60) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) |
|
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.LoginController$$EnhancerBySpringCGLIB$$1eb63b6d.login(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:901) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
2020-08-18 08:44:38,555 [http-nio-10000-exec-2] ERROR o.a.tomcat.jdbc.pool.ConnectionPool -[DirectJDKLog.java:175]- Unable to create initial connections of pool. |
|
com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'sa' 登录失败。 ClientConnectionId:301ebb29-7f7e-4917-b3b6-e8483c583563 |
|
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:259) |
|
at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:256) |
|
at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:108) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:4548) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:3409) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$100(SQLServerConnection.java:85) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:3373) |
|
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7344) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2713) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2261) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077) |
|
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:319) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:739) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:671) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:483) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:131) |
|
at com.mh.eems.datasource.DynamicDataSource.getConnection(DynamicDataSource.java:48) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:151) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49) |
|
at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) |
|
at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63) |
|
at com.sun.proxy.$Proxy156.update(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:198) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:185) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
at com.sun.proxy.$Proxy88.insert(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:278) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:58) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy166.insertLogs(Unknown Source) |
|
at com.mh.eems.service.impl.SysLogServiceImpl.insertLogs(SysLogServiceImpl.java:30) |
|
at com.mh.eems.advice.LogAdvice.logSave(LogAdvice.java:63) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) |
|
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.LoginController$$EnhancerBySpringCGLIB$$1eb63b6d.login(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:901) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
2020-08-18 08:44:38,570 [http-nio-10000-exec-2] ERROR o.a.tomcat.jdbc.pool.ConnectionPool -[DirectJDKLog.java:175]- Unable to create initial connections of pool. |
|
com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'sa' 登录失败。 ClientConnectionId:bd6d6d3a-2240-4692-8e5c-80ff88e3006c |
|
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:259) |
|
at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:256) |
|
at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:108) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:4548) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:3409) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$100(SQLServerConnection.java:85) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:3373) |
|
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7344) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2713) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2261) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077) |
|
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:319) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:739) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:671) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:483) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:131) |
|
at com.mh.eems.datasource.DynamicDataSource.getConnection(DynamicDataSource.java:48) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:151) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49) |
|
at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) |
|
at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63) |
|
at com.sun.proxy.$Proxy156.update(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:198) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:185) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
at com.sun.proxy.$Proxy88.insert(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:278) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:58) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy166.insertLogs(Unknown Source) |
|
at com.mh.eems.service.impl.SysLogServiceImpl.insertLogs(SysLogServiceImpl.java:30) |
|
at com.mh.eems.advice.LogAdvice.logSave(LogAdvice.java:69) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) |
|
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.LoginController$$EnhancerBySpringCGLIB$$1eb63b6d.login(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:901) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
2020-08-18 08:44:38,573 [http-nio-10000-exec-2] ERROR adminLogger -[ExceptionHandlerAdvice.java:59]- 系统异常 |
|
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: |
|
### Error updating database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:77) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:446) |
|
at com.sun.proxy.$Proxy88.insert(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:278) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:58) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy166.insertLogs(Unknown Source) |
|
at com.mh.eems.service.impl.SysLogServiceImpl.insertLogs(SysLogServiceImpl.java:30) |
|
at com.mh.eems.advice.LogAdvice.logSave(LogAdvice.java:69) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) |
|
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.LoginController$$EnhancerBySpringCGLIB$$1eb63b6d.login(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:901) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
Caused by: org.apache.ibatis.exceptions.PersistenceException: |
|
### Error updating database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:200) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:185) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
... 90 common frames omitted |
|
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:84) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49) |
|
at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) |
|
at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63) |
|
at com.sun.proxy.$Proxy156.update(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:198) |
|
... 96 common frames omitted |
|
2020-08-18 08:44:39,869 [http-nio-10000-exec-6] ERROR o.a.tomcat.jdbc.pool.ConnectionPool -[DirectJDKLog.java:175]- Unable to create initial connections of pool. |
|
com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'sa' 登录失败。 ClientConnectionId:1139b636-be7b-4f6a-8e88-45004809b984 |
|
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:259) |
|
at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:256) |
|
at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:108) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:4548) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:3409) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$100(SQLServerConnection.java:85) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:3373) |
|
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7344) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2713) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2261) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077) |
|
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:319) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:739) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:671) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:483) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:131) |
|
at com.mh.eems.datasource.DynamicDataSource.getConnection(DynamicDataSource.java:48) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:151) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62) |
|
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:326) |
|
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) |
|
at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109) |
|
at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:143) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) |
|
at com.sun.proxy.$Proxy156.query(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:77) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
at com.sun.proxy.$Proxy88.selectOne(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:166) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:83) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy179.getUser(Unknown Source) |
|
at com.mh.eems.service.impl.SysUserServiceImpl.getUser(SysUserServiceImpl.java:147) |
|
at com.mh.eems.service.impl.SysUserServiceImpl$$FastClassBySpringCGLIB$$13a62af0.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) |
|
at com.mh.eems.service.impl.SysUserServiceImpl$$EnhancerBySpringCGLIB$$a37209c0.getUser(<generated>) |
|
at com.mh.eems.service.impl.SysUserServiceImpl$$FastClassBySpringCGLIB$$13a62af0.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) |
|
at com.mh.eems.service.impl.SysUserServiceImpl$$EnhancerBySpringCGLIB$$92b8f8fe.getUser(<generated>) |
|
at com.mh.eems.config.MyShiroRealm.doGetAuthenticationInfo(MyShiroRealm.java:39) |
|
at org.apache.shiro.realm.AuthenticatingRealm.getAuthenticationInfo(AuthenticatingRealm.java:571) |
|
at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doSingleRealmAuthentication(ModularRealmAuthenticator.java:180) |
|
at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:267) |
|
at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198) |
|
at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106) |
|
at org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:274) |
|
at org.apache.shiro.subject.support.DelegatingSubject.login(DelegatingSubject.java:260) |
|
at com.mh.eems.controller.LoginController.login(LoginController.java:63) |
|
at com.mh.eems.controller.LoginController$$FastClassBySpringCGLIB$$73666d55.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) |
|
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) |
|
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) |
|
at com.mh.eems.advice.LogAdvice.logSave(LogAdvice.java:60) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) |
|
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.LoginController$$EnhancerBySpringCGLIB$$1eb63b6d.login(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:901) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
2020-08-18 08:44:39,881 [http-nio-10000-exec-6] ERROR o.a.tomcat.jdbc.pool.ConnectionPool -[DirectJDKLog.java:175]- Unable to create initial connections of pool. |
|
com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'sa' 登录失败。 ClientConnectionId:c5f02acd-bb68-462e-958b-e6df9174bf7e |
|
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:259) |
|
at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:256) |
|
at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:108) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:4548) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:3409) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$100(SQLServerConnection.java:85) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:3373) |
|
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7344) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2713) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2261) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077) |
|
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:319) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:739) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:671) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:483) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:131) |
|
at com.mh.eems.datasource.DynamicDataSource.getConnection(DynamicDataSource.java:48) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:151) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49) |
|
at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) |
|
at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63) |
|
at com.sun.proxy.$Proxy156.update(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:198) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:185) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
at com.sun.proxy.$Proxy88.insert(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:278) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:58) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy166.insertLogs(Unknown Source) |
|
at com.mh.eems.service.impl.SysLogServiceImpl.insertLogs(SysLogServiceImpl.java:30) |
|
at com.mh.eems.advice.LogAdvice.logSave(LogAdvice.java:63) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) |
|
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.LoginController$$EnhancerBySpringCGLIB$$1eb63b6d.login(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:901) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
2020-08-18 08:44:39,891 [http-nio-10000-exec-6] ERROR o.a.tomcat.jdbc.pool.ConnectionPool -[DirectJDKLog.java:175]- Unable to create initial connections of pool. |
|
com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'sa' 登录失败。 ClientConnectionId:b57072bf-b90d-430a-93fb-9a8dfa66b857 |
|
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:259) |
|
at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:256) |
|
at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:108) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:4548) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:3409) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$100(SQLServerConnection.java:85) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:3373) |
|
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7344) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2713) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2261) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1921) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1762) |
|
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1077) |
|
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:623) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:319) |
|
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:739) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:671) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:483) |
|
at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107) |
|
at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:131) |
|
at com.mh.eems.datasource.DynamicDataSource.getConnection(DynamicDataSource.java:48) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:151) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115) |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49) |
|
at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) |
|
at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63) |
|
at com.sun.proxy.$Proxy156.update(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:198) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:185) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
at com.sun.proxy.$Proxy88.insert(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:278) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:58) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy166.insertLogs(Unknown Source) |
|
at com.mh.eems.service.impl.SysLogServiceImpl.insertLogs(SysLogServiceImpl.java:30) |
|
at com.mh.eems.advice.LogAdvice.logSave(LogAdvice.java:69) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) |
|
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.LoginController$$EnhancerBySpringCGLIB$$1eb63b6d.login(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:901) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
2020-08-18 08:44:39,893 [http-nio-10000-exec-6] ERROR adminLogger -[ExceptionHandlerAdvice.java:59]- 系统异常 |
|
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: |
|
### Error updating database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:77) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:446) |
|
at com.sun.proxy.$Proxy88.insert(Unknown Source) |
|
at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:278) |
|
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:58) |
|
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) |
|
at com.sun.proxy.$Proxy166.insertLogs(Unknown Source) |
|
at com.mh.eems.service.impl.SysLogServiceImpl.insertLogs(SysLogServiceImpl.java:30) |
|
at com.mh.eems.advice.LogAdvice.logSave(LogAdvice.java:69) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) |
|
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) |
|
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) |
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) |
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) |
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) |
|
at com.mh.eems.controller.LoginController$$EnhancerBySpringCGLIB$$1eb63b6d.login(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:215) |
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:142) |
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) |
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) |
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) |
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) |
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) |
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998) |
|
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:901) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) |
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875) |
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) |
|
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) |
|
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) |
|
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) |
|
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) |
|
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) |
|
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) |
|
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) |
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) |
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) |
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) |
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) |
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) |
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) |
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) |
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) |
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) |
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) |
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) |
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) |
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) |
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) |
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) |
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) |
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) |
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) |
|
at java.lang.Thread.run(Thread.java:745) |
|
Caused by: org.apache.ibatis.exceptions.PersistenceException: |
|
### Error updating database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:200) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:185) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) |
|
... 90 common frames omitted |
|
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: DataSource returned null from getConnection(): com.mh.eems.datasource.DynamicDataSource@416eaabb{ConnectionPool[defaultAutoCommit=null; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver; maxActive=1500; maxIdle=100; minIdle=10; initialSize=20; maxWait=60000; testOnBorrow=false; testOnReturn=false; timeBetweenEvictionRunsMillis=60000; numTestsPerEvictionRun=0; minEvictableIdleTimeMillis=600000; testWhileIdle=true; testOnConnect=false; password=********; url=jdbc:sqlserver://%s;Databasename=%s; username=sa; validationQuery=select 'T'; validationQueryTimeout=-1; validatorClassName=null; validationInterval=3000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=false; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; } |
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:84) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) |
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) |
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338) |
|
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:84) |
|
at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49) |
|
at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) |
|
at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63) |
|
at com.sun.proxy.$Proxy156.update(Unknown Source) |
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:198) |
|
... 96 common frames omitted |
|
2020-08-18 11:17:19,206 [restartedMain] ERROR o.s.boot.SpringApplication -[SpringApplication.java:858]- Application run failed |
|
java.lang.IllegalStateException: java.lang.IllegalStateException: Logback configuration error detected: |
|
ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - Could not find an appender named [DEBUG-OUT]. Did you define it below instead of above in the configuration file? |
|
ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - See http://logback.qos.ch/codes.html#appender_order for more details. |
|
at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:302) |
|
at org.springframework.boot.context.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:263) |
|
at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEnvironmentPreparedEvent(LoggingApplicationListener.java:226) |
|
at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:199) |
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) |
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) |
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) |
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127) |
|
at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:75) |
|
at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54) |
|
at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:347) |
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:306) |
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) |
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) |
|
at com.mh.eems.QuartzApplication.main(QuartzApplication.java:49) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) |
|
Caused by: java.lang.IllegalStateException: Logback configuration error detected: |
|
ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - Could not find an appender named [DEBUG-OUT]. Did you define it below instead of above in the configuration file? |
|
ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - See http://logback.qos.ch/codes.html#appender_order for more details. |
|
at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:169) |
|
at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithSpecificConfig(AbstractLoggingSystem.java:67) |
|
at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:57) |
|
at org.springframework.boot.logging.logback.LogbackLoggingSystem.initialize(LogbackLoggingSystem.java:117) |
|
at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:295) |
|
... 19 common frames omitted |
|
2020-08-18 11:18:14,389 [restartedMain] ERROR o.s.boot.SpringApplication -[SpringApplication.java:858]- Application run failed |
|
java.lang.IllegalStateException: java.lang.IllegalStateException: Logback configuration error detected: |
|
ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - Could not find an appender named [DEBUG-OUT]. Did you define it below instead of above in the configuration file? |
|
ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - See http://logback.qos.ch/codes.html#appender_order for more details. |
|
at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:302) |
|
at org.springframework.boot.context.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:263) |
|
at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEnvironmentPreparedEvent(LoggingApplicationListener.java:226) |
|
at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:199) |
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) |
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) |
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) |
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127) |
|
at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:75) |
|
at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54) |
|
at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:347) |
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:306) |
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) |
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) |
|
at com.mh.eems.QuartzApplication.main(QuartzApplication.java:49) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) |
|
Caused by: java.lang.IllegalStateException: Logback configuration error detected: |
|
ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - Could not find an appender named [DEBUG-OUT]. Did you define it below instead of above in the configuration file? |
|
ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - See http://logback.qos.ch/codes.html#appender_order for more details. |
|
at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:169) |
|
at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithSpecificConfig(AbstractLoggingSystem.java:67) |
|
at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:57) |
|
at org.springframework.boot.logging.logback.LogbackLoggingSystem.initialize(LogbackLoggingSystem.java:117) |
|
at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:295) |
|
... 19 common frames omitted |
|
2020-08-18 11:18:43,222 [main] ERROR o.s.boot.SpringApplication -[SpringApplication.java:858]- Application run failed |
|
java.lang.IllegalStateException: java.lang.IllegalStateException: Logback configuration error detected: |
|
ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - Could not find an appender named [DEBUG-OUT]. Did you define it below instead of above in the configuration file? |
|
ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - See http://logback.qos.ch/codes.html#appender_order for more details. |
|
at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:302) |
|
at org.springframework.boot.context.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:263) |
|
at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEnvironmentPreparedEvent(LoggingApplicationListener.java:226) |
|
at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:199) |
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) |
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) |
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) |
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127) |
|
at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:75) |
|
at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54) |
|
at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:347) |
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:306) |
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) |
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) |
|
at com.mh.eems.QuartzApplication.main(QuartzApplication.java:49) |
|
Caused by: java.lang.IllegalStateException: Logback configuration error detected: |
|
ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - Could not find an appender named [DEBUG-OUT]. Did you define it below instead of above in the configuration file? |
|
ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - See http://logback.qos.ch/codes.html#appender_order for more details. |
|
at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:169) |
|
at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithSpecificConfig(AbstractLoggingSystem.java:67) |
|
at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:57) |
|
at org.springframework.boot.logging.logback.LogbackLoggingSystem.initialize(LogbackLoggingSystem.java:117) |
|
at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:295) |
|
... 14 common frames omitted |
|
2020-08-18 15:30:05,991 [restartedMain] ERROR o.s.boot.SpringApplication -[SpringApplication.java:858]- Application run failed |
|
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'cacheManager' defined in class path resource [org/springframework/boot/autoconfigure/cache/EhCacheCacheConfiguration.class]: Unsatisfied dependency expressed through method 'cacheManager' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ehCacheCacheManager' defined in class path resource [org/springframework/boot/autoconfigure/cache/EhCacheCacheConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [net.sf.ehcache.CacheManager]: Factory method 'ehCacheCacheManager' threw exception; nested exception is net.sf.ehcache.CacheException: Another unnamed CacheManager already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following: |
|
1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary |
|
2. Shutdown the earlier cacheManager before creating new one with same name. |
|
The source of the existing CacheManager is: InputStreamConfigurationSource [stream=java.io.BufferedInputStream@ec29ddd] |
|
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:767) |
|
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:508) |
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1288) |
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1127) |
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:538) |
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:498) |
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) |
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) |
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) |
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) |
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:846) |
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:863) |
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546) |
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140) |
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) |
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) |
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) |
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) |
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) |
|
at com.mh.eems.QuartzApplication.main(QuartzApplication.java:49) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) |
|
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ehCacheCacheManager' defined in class path resource [org/springframework/boot/autoconfigure/cache/EhCacheCacheConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [net.sf.ehcache.CacheManager]: Factory method 'ehCacheCacheManager' threw exception; nested exception is net.sf.ehcache.CacheException: Another unnamed CacheManager already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following: |
|
1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary |
|
2. Shutdown the earlier cacheManager before creating new one with same name. |
|
The source of the existing CacheManager is: InputStreamConfigurationSource [stream=java.io.BufferedInputStream@ec29ddd] |
|
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:625) |
|
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:455) |
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1288) |
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1127) |
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:538) |
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:498) |
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) |
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) |
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) |
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) |
|
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:273) |
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1239) |
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1166) |
|
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:855) |
|
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:758) |
|
... 24 common frames omitted |
|
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [net.sf.ehcache.CacheManager]: Factory method 'ehCacheCacheManager' threw exception; nested exception is net.sf.ehcache.CacheException: Another unnamed CacheManager already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following: |
|
1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary |
|
2. Shutdown the earlier cacheManager before creating new one with same name. |
|
The source of the existing CacheManager is: InputStreamConfigurationSource [stream=java.io.BufferedInputStream@ec29ddd] |
|
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) |
|
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:620) |
|
... 38 common frames omitted |
|
Caused by: net.sf.ehcache.CacheException: Another unnamed CacheManager already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following: |
|
1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary |
|
2. Shutdown the earlier cacheManager before creating new one with same name. |
|
The source of the existing CacheManager is: InputStreamConfigurationSource [stream=java.io.BufferedInputStream@ec29ddd] |
|
at net.sf.ehcache.CacheManager.assertNoCacheManagerExistsWithSameName(CacheManager.java:529) |
|
at net.sf.ehcache.CacheManager.init(CacheManager.java:374) |
|
at net.sf.ehcache.CacheManager.<init>(CacheManager.java:259) |
|
at org.springframework.cache.ehcache.EhCacheManagerUtils.buildCacheManager(EhCacheManagerUtils.java:54) |
|
at org.springframework.boot.autoconfigure.cache.EhCacheCacheConfiguration.ehCacheCacheManager(EhCacheCacheConfiguration.java:71) |
|
at org.springframework.boot.autoconfigure.cache.EhCacheCacheConfiguration$$EnhancerBySpringCGLIB$$634d5e93.CGLIB$ehCacheCacheManager$1(<generated>) |
|
at org.springframework.boot.autoconfigure.cache.EhCacheCacheConfiguration$$EnhancerBySpringCGLIB$$634d5e93$$FastClassBySpringCGLIB$$8c21e135.invoke(<generated>) |
|
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) |
|
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:363) |
|
at org.springframework.boot.autoconfigure.cache.EhCacheCacheConfiguration$$EnhancerBySpringCGLIB$$634d5e93.ehCacheCacheManager(<generated>) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) |
|
... 39 common frames omitted |
|
2020-08-18 15:36:12,211 [restartedMain] ERROR o.s.boot.SpringApplication -[SpringApplication.java:858]- Application run failed |
|
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'methodValidationPostProcessor' defined in class path resource [org/springframework/boot/autoconfigure/validation/ValidationAutoConfiguration.class]: Unsatisfied dependency expressed through method 'methodValidationPostProcessor' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'shirFilter' defined in class path resource [com/mh/eems/config/ShiroConfig.class]: Unsatisfied dependency expressed through method 'shirFilter' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'securityManager' defined in class path resource [com/mh/eems/config/ShiroConfig.class]: Unsatisfied dependency expressed through method 'securityManager' parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.apache.shiro.cache.ehcache.EhCacheManager' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} |
|
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:767) |
|
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:508) |
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1288) |
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1127) |
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:538) |
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:498) |
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) |
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) |
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) |
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:204) |
|
at org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:228) |
|
at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:707) |
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:531) |
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140) |
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) |
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) |
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) |
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) |
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) |
|
at com.mh.eems.QuartzApplication.main(QuartzApplication.java:49) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
|
at java.lang.reflect.Method.invoke(Method.java:498) |
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) |
|
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'shirFilter' defined in class path resource [com/mh/eems/config/ShiroConfig.class]: Unsatisfied dependency expressed through method 'shirFilter' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'securityManager' defined in class path resource [com/mh/eems/config/ShiroConfig.class]: Unsatisfied dependency expressed through method 'securityManager' parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.apache.shiro.cache.ehcache.EhCacheManager' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} |
|
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:767) |
|
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:508) |
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1288) |
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1127) |
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getSingletonFactoryBeanForTypeCheck(AbstractAutowireCapableBeanFactory.java:974) |
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryBean(AbstractAutowireCapableBeanFactory.java:848) |
|
at org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:565) |
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:514) |
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:477) |
|
at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:227) |
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1403) |
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1202) |
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1166) |
|
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:855) |
|
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:758) |
|
... 24 common frames omitted |
|
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'securityManager' defined in class path resource [com/mh/eems/config/ShiroConfig.class]: Unsatisfied dependency expressed through method 'securityManager' parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.apache.shiro.cache.ehcache.EhCacheManager' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} |
|
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:767) |
|
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:508) |
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1288) |
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1127) |
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:538) |
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:498) |
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) |
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) |
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) |
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) |
|
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:273) |
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1239) |
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1166) |
|
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:855) |
|
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:758) |
|
... 38 common frames omitted |
|
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.apache.shiro.cache.ehcache.EhCacheManager' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} |
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchingBeanFound(DefaultListableBeanFactory.java:1646) |
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1205) |
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1166) |
|
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:855) |
|
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:758) |
|
... 52 common frames omitted
|
|
|