报错日志
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 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:1columnValue:非模板触发错误
2017-02-28 10:26:52
正常:columnIndex:2columnValue:6
2017-02-28 10:26:52
正常:columnIndex:3columnValue: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 method: checkHeartbeat read: 2017-02-28 10:26:51.552 heartbeat - read: -2099 ms.)
2017-02-28 10:26:52
正常:columnIndex:4columnValue: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 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 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 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.(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
2017-02-28 10:26:52
正常:columnIndex:5columnValue:2017-02-28 10:26:52
2017-02-28 10:27:17
正常:加载配置文件:"datasource.xml".