首页 / 浏览问题 / 云GIS / 问题详情
supermap iserver在linux系统上部署成功之后为什么访问不了
15EXP 2020年12月25日
2020-12-24 17:17:45 - INFO - iServer的home目录为:/root/supermap/iServer/supermap-iserver-10.0.1-linux64-deploy/webapps/iserver/  

2020-12-24 17:17:45 - INFO - iServer的ContextPath为:/iserver  

2020-12-24 17:17:45 - INFO - iServer的配置文件路径为:/root/supermap/iServer/supermap-iserver-10.0.1-linux64-deploy/webapps/iserver/WEB-INF  

2020-12-24 17:17:50 - INFO - com.supermap.services.rest.encoders.BigDataJsonDecoderResolver  

2020-12-24 17:17:52 - WARN - key(Tool.getLocalHost.UnknownHostException) not found in resources.  

java.net.UnknownHostException: sanxianyidan: sanxianyidan: 域名解析暂时失败

at java.net.InetAddress.getLocalHost(InetAddress.java:1506)

at com.supermap.services.util.Tool.getLocalNetAddress(SourceFile:1006)

at com.supermap.services.util.Tool.getLocalHostIP(SourceFile:892)

at com.supermap.server.host.webapp.handlers.BasicHandler.a(SourceFile:718)

at com.supermap.server.host.webapp.handlers.BasicHandler.n(SourceFile:714)

at com.supermap.server.host.webapp.handlers.BasicHandler.a(SourceFile:629)

at com.supermap.server.host.webapp.handlers.BasicHandler.init(SourceFile:183)

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:283)

at org.apac
问题关闭原因: 重新发布

1个回答

您这个报错显示的是由于主机名导致的,您尝试下修改/etc/hosts文件:主机名 本机IP

或者  :

设置本机名称:hostname mName     xxx最好不是写IP地址的形式,若写则必须是本机的完全IP形式(不要只写一半)

在/etc/hosts里加一行 本机IP mName

用InetAddress.getLocalHost().getHostAddress()测试一下结果是否是与本机IP一致
2,243EXP 2020年12月25日
...