iserver无法正常启动 [已关闭]

0 投票
使用产品:supermap-iserver-10.1.1-linux64 操作系统:linux64
数据类型:文件型
问题详细描述:之前能正常使用,今天早上服务不能使用,服务无法正常启动

问题重现步骤:

服务器启动的错误日志信息如下:

08-May-2021 15:14:44.785 严重 [localhost-startStop-1] org.apache.catalina.core.StandardContext.filterStart 启动过滤器异常
    java.lang.UnsatisfiedLinkError: com.supermap.data.DatasourceConnectionInfoNative.jni_New()J
        at com.supermap.data.DatasourceConnectionInfoNative.jni_New(Native Method)
        at com.supermap.data.DatasourceConnectionInfo.<init>(DatasourceConnectionInfo.java:17)
        at com.supermap.services.providers.DefaultDataSourceFactory.newDatasourceConnectionInfo(SourceFile:67)
        at com.supermap.services.providers.DefaultDataSourceFactory.openDatasource(SourceFile:13)
        at com.supermap.services.providers.BigDataFileShareProvider.a(SourceFile:158)
        at com.supermap.services.providers.BigDataFileShareProvider.b(SourceFile:284)
        at com.supermap.services.providers.BigDataFileShareProvider.d(SourceFile:317)
        at com.supermap.services.providers.BigDataFileShareProvider.<init>(SourceFile:42)
        at com.supermap.datacatalog.datastoreserver.impl.DefaultProviderFactory.newDataStoreProvider(SourceFile:26)
        at com.supermap.services.components.impl.DefaultDataCatalogService.onBigDataFileShareUpdataed(SourceFile:247)
        at com.supermap.datacatalog.datastoreserver.impl.DefaultBigDataFileShareManager.a(SourceFile:276)
        at com.supermap.datacatalog.datastoreserver.impl.DefaultBigDataFileShareManager.<init>(SourceFile:56)
        at com.supermap.datacatalog.datastoreserver.impl.DefaultDataCatalogServer$BigDataFileShareManagerFactoryImpl.defaultBigDataFileShareManager(SourceFile:165)
        at com.supermap.datacatalog.datastoreserver.impl.DefaultDataCatalogServer.initComponents(SourceFile:58)
        at com.supermap.server.host.webapp.handlers.BigDataHandler.init(SourceFile:39)
        at com.supermap.server.host.webapp.handlers.BasicHandler.a(SourceFile:850)
        at com.supermap.server.host.webapp.handlers.BasicHandler.a(SourceFile:655)
        at com.supermap.server.host.webapp.handlers.BasicHandler.init(SourceFile:187)
        at com.supermap.server.host.webapp.ApplicationFilter.a(SourceFile:214)
        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:4538)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5181)
        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:1125)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1858)
        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)

昨天晚上服务器修补过漏洞,怀疑是服务器修复升级影响的,查看昨天日志信息如下:

07-May-2021 22:04:12.841 严重 [localhost-startStop-2] org.apache.catalina.core.ApplicationFilterConfig.release 失败的销毁过滤器类型为[com.supermap.server.host.webapp.ApplicationFilter]名称为[iserver-services]
    java.lang.IllegalStateException: close()
在关闭地图前不应该释放工作空间
        at com.supermap.mapping.Map.close(Map.java:3162)
        at com.supermap.services.providers.MapUpdater.close(SourceFile:433)
        at com.supermap.services.providers.MapStatusManager.close(SourceFile:1352)
        at com.supermap.services.providers.MapStatusManagerCollection.b(SourceFile:198)
        at java.util.ArrayList.forEach(ArrayList.java:1259)
        at com.supermap.services.providers.MapStatusManagerCollection.a(SourceFile:197)
        at com.supermap.services.providers.MapPool.a(SourceFile:149)
        at java.util.Arrays$ArrayList.forEach(Arrays.java:3880)
        at com.supermap.services.providers.MapPool.destroy(SourceFile:149)
        at com.supermap.services.providers.UGCMapProvider.dispose(SourceFile:538)
        at sun.reflect.GeneratedMethodAccessor475.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.supermap.server.impl.PerformanceProxyFactory$PerformanceProxyHandler.invoke(SourceFile:216)
        at com.sun.proxy.$Proxy82.dispose(Unknown Source)

不知道什么原因,请问有哪些可能原因,怎么解决
问题关闭原因: 系统升级有文件冲突,\support\objectsjava\bin\目录下的libnss3.so文件删除或修改名称即可
5月 8 分类:  81次浏览 | 用户: henryyan (2 分)
已关闭 5月 10 用户:henryyan

1个回答

0 投票
您这个可能是系统配置文件损坏导致的,尝试下重新解压iServer安装包,将新解压的iServer根目录\webapps\iserver\WEB-INF\iserver-services.xml替换成原来的,看是否能正常启动。
5月 10 用户: 张定祥 名扬四海 (1,562 分)
我试过从官网下载的安装包重新解压,用新的包启动还是同样的错误
请问您那边linux具体是什么版本的?小版本又是什么?

是centos什么?
centos7.4,之前用的正常,就是前天晚上打了些补丁和漏洞修复,就出问题了,不知道哪里的问题
系统修复升级的时候有配置文件或依赖与iServer自带的有冲突导致的,将【iServer根目录】\support\objectsjava\bin\目录下的libnss3.so文件删除或修改名称,然后再重现启动iServer即可。
谢谢,解决了
...