I can query all the orders and then export them in excel. I didn't configure the transactions involved in the transactions. why is the previous connection several times a day after the deployment to the remote end? why? The excuse for multiple requests will become normal. I hope that you can help me analyze. com. mysql. jdbc. exceptions. jdbc4.MySQLNonTransientConnectionException: Communicationslinkfailureduringrollback (). Transactionresolution... mybatismylexcel
I can query all the orders and then export them in excel. I didn't configure the transactions involved in the transactions. why is the previous connection several times a day after the deployment to the remote end? why? The excuse of multiple requests will become normal, and I hope my God can help me analyze it.
Com. mysql. jdbc. exceptions. jdbc4.MySQLNonTransientConnectionException: Communications link failure during rollback (). Transaction resolution unknown.
Sun. reflect. NativeConstructorAccessorImpl. newInstance0 (Native Method)
Sun. reflect. NativeConstructorAccessorImpl. newInstance (NativeConstructorAccessorImpl. java: 39)
Sun. reflect. delegatingconstruct%cessorimpl. newInstance (delegatingconstruct%cessorimpl. java: 27)
Java. lang. reflect. Constructor. newInstance (Constructor. java: 513)
Com. mysql. jdbc. Util. handleNewInstance (Util. java: 411)
Com. mysql. jdbc. Util. getInstance (Util. java: 386)
Com. mysql. jdbc. SQLError. createSQLException (SQLError. java: 1015)
Com. mysql. jdbc. SQLError. createSQLException (SQLError. java: 989)
Com. mysql. jdbc. SQLError. createSQLException (SQLError. java: 975)
Com. mysql. jdbc. SQLError. createSQLException (SQLError. java: 920)
Com. mysql. jdbc. ConnectionImpl. rollback (ConnectionImpl. java: 5068)
Org. apache. ibatis. datasource. pooled. PooledDataSource. popConnection (PooledDataSource. java: 391)
Org. apache. ibatis. datasource. pooled. PooledDataSource. getConnection (PooledDataSource. java: 82)
Org. apache. ibatis. transaction. jdbc. JdbcTransaction. openConnection (JdbcTransaction. java: 131)
Org. apache. ibatis. transaction. jdbc. JdbcTransaction. getConnection (JdbcTransaction. java: 58)
Org.apache.ibatis.exe cutor. BaseExecutor. getConnection (BaseExecutor. java: 271)
Org.apache.ibatis.exe cutor. SimpleExecutor. prepareStatement (SimpleExecutor. java: 69)
Org.apache.ibatis.exe cutor. SimpleExecutor. doQuery (SimpleExecutor. java: 56)
Org.apache.ibatis.exe cutor. BaseExecutor. queryFromDatabase (BaseExecutor. java: 259)
Org.apache.ibatis.exe cutor. BaseExecutor. query (BaseExecutor. java: 132)
Org.apache.ibatis.exe cutor. CachingExecutor. query (CachingExecutor. java: 105)
Org.apache.ibatis.exe cutor. CachingExecutor. query (CachingExecutor. java: 81)
Org. apache. ibatis. session. defaults. DefaultSqlSession. selectList (DefaultSqlSession. java: 104)
Org. apache. ibatis. session. defaults. DefaultSqlSession. selectList (DefaultSqlSession. java: 98)
Org.apache.ibatis.binding.MapperMethod.exe cuteForMany (MapperMethod. java: 114)
Org.apache.ibatis.binding.MapperMethod.exe cute (MapperMethod. java: 58)
Org. apache. ibatis. binding. MapperProxy. invoke (MapperProxy. java: 43)
$ Proxy6.findByDate (Unknown Source)
Com. axinpay. orderToExcel. service. impl. OrderInfoServiceImpl. findByDate (OrderInfoServiceImpl. java: 20)
Com. axinpay. orderToExcel. servlet. OrderInfoServlet. service (OrderInfoServlet. java: 61)
Javax. servlet. http. HttpServlet. service (HttpServlet. java: 731)
Note The full stack trace of the root cause is available in the Apache Tomcat/7.0.63 logs.