iserver启动报错

0 投票
2019-11-8 14:26:20 - ERROR - 启动服务失败。  
java.lang.IllegalStateException: org.sqlite.SQLiteException: [SQLITE_BUSY]  The database file is locked (database is locked)
    at com.supermap.server.impl.RequestPerformanceRecordDAO.a(SourceFile:127)
    at com.supermap.server.impl.RequestPerformanceRecordDAO.<init>(SourceFile:57)
    at com.supermap.server.host.webapp.ApplicationFilter.a(SourceFile:177)
    at com.supermap.server.host.webapp.ApplicationFilter.a(SourceFile:80)
    at com.supermap.server.host.webapp.ApplicationFilter$1.call(SourceFile:122)
    at com.supermap.server.host.webapp.ApplicationFilter$1.call(SourceFile:119)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.supermap.services.util.DelegatingErrorHandlingCallable$ReflectInvoker.a(SourceFile:177)
    at com.supermap.services.util.DelegatingErrorHandlingCallable.invokeQuietly(SourceFile:102)
    at com.supermap.server.host.webapp.ApplicationFilter.init(SourceFile:157)
    at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285)
    at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
    at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
    at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4590)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5233)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1144)
    at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1878)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:748)
Caused by: org.sqlite.SQLiteException: [SQLITE_BUSY]  The database file is locked (database is locked)
    at org.sqlite.core.DB.newSQLException(DB.java:909)
    at org.sqlite.core.DB.newSQLException(DB.java:921)
    at org.sqlite.core.DB.throwex(DB.java:886)
    at org.sqlite.core.NativeDB._exec_utf8(Native Method)
    at org.sqlite.core.NativeDB._exec(NativeDB.java:87)
    at org.sqlite.jdbc3.JDBC3Statement.executeUpdate(JDBC3Statement.java:116)
    at com.supermap.server.impl.RequestPerformanceRecordDAOInitializer.init(SourceFile:36)
    at com.supermap.server.impl.RequestPerformanceRecordDAO.a(SourceFile:125)
    ... 28 more
2019-11-8 14:26:25 - INFO - 服务即将停止。  
2019-11-8 14:30:08 - INFO - iServer的home目录为:/opt/gis/supermap-iserver-9.0.1a-linux64/webapps/iserver/  
2019-11-8 14:30:08 - INFO - iServer的ContextPath为:/iserver  
2019-11-8 14:30:08 - INFO - iServer的配置文件路径为:/opt/gis/supermap-iserver-9.0.1a-linux64/webapps/iserver/WEB-INF  
2019-11-8 14:30:09 - INFO - com.supermap.services.rest.encoders.BigDataJsonDecoderResolver  
2019-11-8 14:30:11 - INFO - 环境检查是否开启:true  
2019-11-8 14:30:11 - INFO - iServer期望使用的UGO版本是:9.0.1.15628  
2019-11-8 14:30:11 - INFO - iServer实际使用的UGO版本是:9.0.1.15627  
2019-11-8 14:30:11 - INFO - iServer实际使用的UGO路径是:/opt/gis/supermap-iserver-9.0.1a-linux64/support/objectsjava/bin  
2019-11-8 14:30:11 - WARN - iServer期望使用的UGO版本是9.0.1.15628,实际使用的UGO所在目录是/opt/gis/supermap-iserver-9.0.1a-linux64/support/objectsjava/bin,版本是9.0.1.15627,版本较低,不推荐使用。  
2019-11-8 14:30:11 - INFO - UGO版本检查是否通过:true  
2019-11-8 14:30:11 - INFO - iServer期望使用的Java最低版本是:1.8  
2019-11-8 14:30:11 - INFO - iServer实际使用的Java版本是:1.8.0_131  
2019-11-8 14:30:11 - INFO - iServer实际使用的Java路径是:/opt/gis/supermap-iserver-9.0.1a-linux64/support/jre  
2019-11-8 14:30:11 - INFO - Java版本检查是否通过: true  
2019-11-8 14:30:15 - INFO - 全局属性realspaceSecurityEnabled,outputPath,envCheckEnabled,checkDatasourceConnectionInterval,outputSite,restartWhenCrash,refreshDatasource,realspaceCacheAccessKey的值被更新为true,./output,true,30,http://{ip}:{port}/{contextPath}/output/,true,false,7 -71 121 28 12 -83 87 113 -71 90 -24 -17 -115 80 -56 -17。
11月 8 分类:  29次浏览 | 用户: dong 初出茅庐 (43 分)

1个回答

0 投票
这个报错很有可能是启动isrever时,之前iserver的进程还尚未完全关闭,kill掉所有关于iserver的服务,再启动
11月 8 用户: gesheng 牛刀小试 (185 分)
...