求教: FineReport 在服务器端如何连接Hsql数据库??? 以上错误截图 一下日志信息: 严重: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@6b4c2af6[file =X:\apache-tomcat-8.0.24-windows-x64\webapps\WebReport\WEB-INF\finedb\db.lck, exists=true, locked=false, valid=false, ] method: checkHeartbeat read: 2015-10-22 09:48:02.213 heartbeat - read: -3984 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) 2015-10-22 09:48:29 严重:Could not initialize class Sense4.Sense32 at sun.misc.Unsafe.ensureClassInitialized(Native Method) at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(Unknown Source) at sun.reflect.ReflectionFactory.newFieldAccessor(Unknown Source) at java.lang.reflect.Field.acquireFieldAccessor(Unknown Source) at java.lang.reflect.Field.getFieldAccessor(Unknown Source) at java.lang.reflect.Field.get(Unknown Source) at com.sun.jna.Native.loadLibraryInstance(Native.java:403) at com.sun.jna.Native.getStructureAlignment(Native.java:512) at com.sun.jna.Structure.setAlignType(Structure.java:213) at com.sun.jna.Structure.<init>(Structure.java:171) at com.sun.jna.Structure.<init>(Structure.java:167) at com.sun.jna.Structure.<init>(Structure.java:163) at com.sun.jna.Structure.<init>(Structure.java:154) at Sense4.Sense32$SENSE4_CONTEXT.<init>(Sense32.java:47) at Sense4.EliteLockIO32.<init>(EliteLockIO32.java:44) at Sense4.LockUtils.getEliteLockIOInstance(LockUtils.java:52) at Sense4.Elite4.readBytesFromElitee4(Elite4.java:35) at com.fr.base.FRCoreContext.getLockBytes(Unknown Source) at com.fr.base.FRCoreContext.retryLicLock(Unknown Source) at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.fr.stable.StableUtils.invokeMethod(Unknown Source) at com.fr.stable.StableUtils.invokeMethod(Unknown Source) at com.fr.stable.StableUtils.invokeMethod(Unknown Source) at com.fr.stable.LicUtils.retryLicLock(Unknown Source) at com.fr.web.core.SessionDealWith.authenticateLicense(Unknown Source) at com.fr.web.core.SessionDealWith.access$000(Unknown Source) at com.fr.web.core.SessionDealWith$1.run(Unknown Source) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) 2015-10-22 09:48:29 严重:Could not initialize class Sense4.Sense32 at sun.misc.Unsafe.ensureClassInitialized(Native Method) at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(Unknown Source) at sun.reflect.ReflectionFactory.newFieldAccessor(Unknown Source) at java.lang.reflect.Field.acquireFieldAccessor(Unknown Source) at java.lang.reflect.Field.getFieldAccessor(Unknown Source) at java.lang.reflect.Field.get(Unknown Source) at com.sun.jna.Native.loadLibraryInstance(Native.java:403) at com.sun.jna.Native.getStructureAlignment(Native.java:512) at com.sun.jna.Structure.setAlignType(Structure.java:213) at com.sun.jna.Structure.<init>(Structure.java:171) at com.sun.jna.Structure.<init>(Structure.java:167) at com.sun.jna.Structure.<init>(Structure.java:163) at com.sun.jna.Structure.<init>(Structure.java:154) at Sense4.Sense32$SENSE4_CONTEXT.<init>(Sense32.java:47) at Sense4.EliteLockIO32.<init>(EliteLockIO32.java:44) at Sense4.LockUtils.getEliteLockIOInstance(LockUtils.java:52) at Sense4.Elite4.readBytesFromElitee4(Elite4.java:35) at com.fr.base.FRCoreContext.getLockBytes(Unknown Source) at com.fr.base.FRCoreContext.getBytes(Unknown Source) at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.fr.stable.StableUtils.invokeMethod(Unknown Source) at com.fr.stable.StableUtils.invokeMethod(Unknown Source) at com.fr.stable.StableUtils.invokeMethod(Unknown Source) at com.fr.stable.LicUtils.getBytes(Unknown Source) at com.fr.stable.StableUtils.getBytes(Unknown Source) at com.fr.web.core.SessionDealWith.authenticateLicense(Unknown Source) at com.fr.web.core.SessionDealWith.access$000(Unknown Source) at com.fr.web.core.SessionDealWith$1.run(Unknown Source) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) 2015-10-22 09:48:35 正常:加载配置文件:"datasource.xml". |