首页 / 浏览问题 / 云GIS / 问题详情
升级iserver到10.1.2之后,集成部署启动iserver报端口报错
8EXP 2021年04月09日
使用产品:supermap-iserver-10.1.1-win64-zip

操作系统:win10 x64
数据类型: 文件型
问题详细描述:使用10.1.0版本的iserver做集群,可以正常启动各个子服务,但是升级iserver到10.1.2之后,服务报错,报错信息如下
问题重现步骤:

2021-4-9 13:48:12 - WARN - start geoprocessing exception:  
java.util.concurrent.ExecutionException: java.net.BindException: Address already in use: JVM_Bind
    at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    at java.util.concurrent.FutureTask.get(FutureTask.java:192)
    at com.supermap.server.host.webapp.handlers.geoprocessing.GeoprocessingProcessLauncher.start(SourceFile:85)
    at com.supermap.server.host.webapp.handlers.geoprocessing.DefaultGeoprocessingServer.a(SourceFile:175)
    at com.supermap.server.host.webapp.handlers.geoprocessing.DefaultGeoprocessingServer.c(SourceFile:147)
    at com.supermap.server.host.webapp.handlers.geoprocessing.DefaultGeoprocessingServer.a(SourceFile:126)
    at com.supermap.server.host.webapp.handlers.geoprocessing.DefaultGeoprocessingServer.start(SourceFile:73)
    at com.supermap.server.host.webapp.handlers.GeoprocessingHandler.init(SourceFile:42)
    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: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: java.net.BindException: Address already in use: JVM_Bind

主节点配置:

<Server port="8015" shutdown="SHUTDOWN">

    <Connector port="8090" protocol="HTTP/1.1"
               relaxedQueryChars="[]|{}"
               relaxedPathChars="[]|{}"
               connectionTimeout="8000"
               redirectPort="8453"
               executor="tomcatThreadPool"
               enableLookups="false"
               URIEncoding="utf-8"
               compression="on"
               compressionMinSize="2048"
               compressableMimeType="text/html,text/xml,text/plain,text/javascript,text/css,application/javascript,application/xml,application/json,application/rjson"
               />

子节点配置

<Server port="18018" shutdown="SHUTDOWN">

    <Connector port="18091" protocol="HTTP/1.1"
               relaxedQueryChars="[]|{}"
               relaxedPathChars="[]|{}"
               connectionTimeout="8000"
               redirectPort="18454"
               executor="tomcatThreadPool"
               enableLookups="false"
               URIEncoding="utf-8"
               compression="on"
               compressionMinSize="2048"
               compressableMimeType="text/html,text/xml,text/plain,text/javascript,text/css,application/javascript,application/xml,application/json,application/rjson"
               />

1个回答

报错内容显示地址已经被使用,您检查下是不是因为您的端口被占用导致的,或者之前启动的iServer没有关闭。
2,248EXP 2021年04月12日
...