windows server 2012 tomcat 下如何连接访问Hsql?

求教:     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".


FineReportCaradigm 发布于 2015-10-22 09:55
悬赏:0 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共4回答
最佳回答
0
java|┌小z发布于2015-10-22 09:55(编辑于 2023-9-6 09:34)
555
最佳回答
0
阿迪发布于2015-10-22 10:27(编辑于 2023-9-6 09:34)
555
最佳回答
0
e_apachi2154发布于2015-10-22 10:27(编辑于 2023-9-6 09:34)
555
最佳回答
0
二喵发布于2015-10-28 14:43(编辑于 2023-9-6 09:34)
555
  • 0关注人数
  • 2015浏览人数
  • 最后回答于:2015-10-28 14:43
    活动推荐 更多
    热门课程 更多
    返回顶部