首页 / 浏览问题 / 云GIS / 问题详情
linux部署iserver 打开/iserver页面是404
5EXP 2021年05月26日
catalina.log里面是:

26-May-2021 19:13:40.904 严重 [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal 一个或多个筛选器启动失败。完整的详细信息将在相应的容器日志文件中找到
26-May-2021 19:13:40.905 严重 [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal 由于之前的错误,Context[/iserver]启动失败
26-May-2021 19:13:40.920 警告 [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc Web应用程序 [iserver] 注册了JDBC驱动程序 [org.sqlite.JDBC],但在Web应用程序停止时无法注销它。 为防止内存泄漏,JDBC驱动程序已被强制取消注册。

------------------------

iserver.log里面是:

2021-5-26 19:09:44 - 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:129)
    at com.supermap.server.impl.RequestPerformanceRecordDAO.<init>(SourceFile:59)
    at com.supermap.server.host.webapp.ApplicationFilter.a(SourceFile:179)
    at com.supermap.server.host.webapp.ApplicationFilter.a(SourceFile:80)
    at com.supermap.server.host.webapp.ApplicationFilter$1.call(SourceFile:123)
    at com.supermap.server.host.webapp.ApplicationFilter$1.call(SourceFile:120)
    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:158)
    at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
    at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
    at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:106)
    at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4554)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5197)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1085)
    at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1802)
    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:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    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:1012)
    at org.sqlite.core.DB.newSQLException(DB.java:1024)
    at org.sqlite.core.DB.throwex(DB.java:989)
    at org.sqlite.core.NativeDB._exec_utf8(Native Method)
    at org.sqlite.core.NativeDB._exec(NativeDB.java:94)
    at org.sqlite.jdbc3.JDBC3Statement.executeUpdate(JDBC3Statement.java:102)
    at com.supermap.server.impl.RequestPerformanceRecordDAOInitializer.init(SourceFile:36)
    at com.supermap.server.impl.RequestPerformanceRecordDAO.a(SourceFile:127)
    ... 28 more

1个回答

您这个是因为iServer多次启动导致的,可以先使用命令ps -ef|grep iserver检查下iServer进程是否还存在,若存在多个的话就全部kill掉对应的进程;或者可以多执行几次./shutdown.sh关闭iServer,最后再重新启动iServer即可。
2,248EXP 2021年05月27日
...