iserver启动失败

0 投票
启动日志:

java.lang.UnsatisfiedLinkError: /data1/supermap/supermapdev/supermap-iserver-9.1.2a-linux64-deploy/support/objectsjava/bin/libWrapjGeo.so: libpng12.so.0: 无法打开共享对象文件: 没有那个文件或目录
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
        at java.lang.Runtime.loadLibrary0(Runtime.java:870)
        at java.lang.System.loadLibrary(System.java:1122)
        at com.supermap.data.Environment.LoadWrapJ(Unknown Source)
        at com.supermap.data.Environment.<clinit>(Unknown Source)
        at com.supermap.services.providers.WorkspaceContainer.<clinit>(SourceFile:79)
        at com.supermap.server.impl.ServerImpl.b(SourceFile:1077)
        at com.supermap.server.impl.ServerImpl.a(SourceFile:1001)
        at com.supermap.server.impl.ServerImpl.start(SourceFile:381)
        at com.supermap.server.host.webapp.handlers.BasicHandler.startServer(SourceFile:620)
        at com.supermap.server.host.webapp.handlers.BasicHandler.loadServer(SourceFile:353)
        at com.supermap.server.host.webapp.handlers.BasicHandler.a(SourceFile:609)
        at com.supermap.server.host.webapp.handlers.BasicHandler.init(SourceFile:170)
        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: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:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
2019-10-10 15:16:10 - ERROR - 启动服务失败。  
java.lang.UnsatisfiedLinkError: com.supermap.data.EnvironmentNative.jni_SetMaxStdIO(I)V
        at com.supermap.data.EnvironmentNative.jni_SetMaxStdIO(Native Method)
        at com.supermap.data.Environment.setMaxStdIO(Unknown Source)
        at com.supermap.services.providers.WorkspaceContainer.<clinit>(SourceFile:79)
        at com.supermap.server.impl.ServerImpl.b(SourceFile:1077)
        at com.supermap.server.impl.ServerImpl.a(SourceFile:1001)
        at com.supermap.server.impl.ServerImpl.start(SourceFile:381)
        at com.supermap.server.host.webapp.handlers.BasicHandler.startServer(SourceFile:620)
        at com.supermap.server.host.webapp.handlers.BasicHandler.loadServer(SourceFile:353)
        at com.supermap.server.host.webapp.handlers.BasicHandler.a(SourceFile:609)
        at com.supermap.server.host.webapp.handlers.BasicHandler.init(SourceFile:170)
        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: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:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
10月 10 分类:  28次浏览 | 用户: wufei043 初出茅庐 (39 分)

1个回答

1 投票
 
已采纳
你好,你的linux是什么操作系统的?建议执行ldd libWrapj.so检查一下依赖库的情况。
10月 10 用户: 李俊霖 才高八斗 (994 分)
采纳于 10月 11 用户:wufei043
CentOS Linux release 7.6.1810 (Core)
请问这个命令执行后怎么看依赖库是否完整
support/objectsjava/bin/在该目录下执行ldd libWrapj.so,会罗列出你依赖库的情况,没有安装的依赖会显示not found
...