报错日志 2017-02-28 10:26:52 严重:com.fr.third.org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (The database is already in use by another process: lockFile: com.fr.third.org.hsqldb.persist.LockFile@b4d8b3d3[file =E:\Program Files (x86)\apache-tomcat-9.0.0.M9\webapps\WebReport\WEB-INF\finedb\db.lck, exists=true, locked=false, valid=false, ] method: checkHeartbeat read: 2017-02-28 10:26:51.552 heartbeat - read: -2099 ms.) at java.util.concurrent.FutureTask.report(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) at com.fr.dav.LocalEnv.testConnection(Unknown Source) at com.fr.design.data.datapane.connect.DatabaseConnectionPane$1$1.doInBackground(Unknown Source) at javax.swing.SwingWorker$1.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at javax.swing.SwingWorker.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 2017-02-28 10:26:52 正常:columnIndex:1[12]<--->columnValue:非模板触发错误[java.lang.String] 2017-02-28 10:26:52 正常:columnIndex:2[-6]<--->columnValue:6[java.lang.Short] 2017-02-28 10:26:52 正常:columnIndex:3[12]<--->columnValue:com.fr.third.org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (The database is already in use by another process: lockFile: com.fr.third.org.hsqldb.persist.LockFile@b4d8b3d3[file =E:\Program Files (x86)\apache-tomcat-9.0.0.M9\webapps\WebReport\WEB-INF\finedb\db.lck, exists=true, locked=false, valid=false, ] method: checkHeartbeat read: 2017-02-28 10:26:51.552 heartbeat - read: -2099 ms.)[java.lang.String] 2017-02-28 10:26:52 正常:columnIndex:4[-1]<--->columnValue:java.util.concurrent.ExecutionException: com.fr.third.org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (The database is already in use by another process: lockFile: com.fr.third.org.hsqldb.persist.LockFile@b4d8b3d3[file =E:\Program Files (x86)\apache-tomcat-9.0.0.M9\webapps\WebReport\WEB-INF\finedb\db.lck, exists=true, locked=false, valid=false, ] method: checkHeartbeat read: 2017-02-28 10:26:51.552 heartbeat - read: -2099 ms.) at java.util.concurrent.FutureTask.report(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) at com.fr.dav.LocalEnv.testConnection(Unknown Source) at com.fr.design.data.datapane.connect.DatabaseConnectionPane$1$1.doInBackground(Unknown Source) at javax.swing.SwingWorker$1.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at javax.swing.SwingWorker.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.fr.third.org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (The database is already in use by another process: lockFile: com.fr.third.org.hsqldb.persist.LockFile@b4d8b3d3[file =E:\Program Files (x86)\apache-tomcat-9.0.0.M9\webapps\WebReport\WEB-INF\finedb\db.lck, exists=true, locked=false, valid=false, ] method: checkHeartbeat read: 2017-02-28 10:26:51.552 heartbeat - read: -2099 ms.) at com.fr.third.org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549) at com.fr.third.org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at com.fr.third.org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at com.fr.data.pool.MemoryConnection.create(Unknown Source) at com.fr.data.impl.JDBCDatabaseConnection.createConnection(Unknown Source) at com.fr.data.impl.JDBCDatabaseConnection.testConnection(Unknown Source) at com.fr.dav.LocalEnv$2.call(Unknown Source) at com.fr.dav.LocalEnv$2.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) ... 3 more Caused by: java.sql.SQLException: The database is already in use by another process: lockFile: com.fr.third.org.hsqldb.persist.LockFile@b4d8b3d3[file =E:\Program Files (x86)\apache-tomcat-9.0.0.M9\webapps\WebReport\WEB-INF\finedb\db.lck, exists=true, locked=false, valid=false, ] method: checkHeartbeat read: 2017-02-28 10:26:51.552 heartbeat - read: -2099 ms. at com.fr.third.org.hsqldb.jdbc.Util.sqlException(Util.java:63) at com.fr.third.org.hsqldb.jdbc.jdbcConnection.<init>(jdbcConnection.java:2430) at com.fr.third.org.hsqldb.jdbcDriver.getConnection(jdbcDriver.java:183) at com.fr.third.org.hsqldb.jdbcDriver.connect(jdbcDriver.java:161) at com.fr.third.org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at com.fr.third.org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at com.fr.third.org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at com.fr.third.org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) ... 13 more [java.lang.String] 2017-02-28 10:26:52 正常:columnIndex:5[93]<--->columnValue:2017-02-28 10:26:52[java.util.Date] 2017-02-28 10:27:17 正常:加载配置文件:"datasource.xml". |
最佳回答 |
||||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|