使用产品:iserver 8c 811 war包 操作系统:winserver2008 R2 Standard
数据类型: 文件型
问题详细描述:使用Tomcat8.5.70部署iserver 8c 811 war包,发布文件型工作空间后,无法打开地图服务,日志提示:getMapStatus 发生异常:当 mapParam.rectifyType 为 BYCENTERANDMAPSCALE 时,传入参数 mapParam.viewBounds([[0.0,0.0], [0.0,0.0]])非法。
问题重现步骤: 1.登录iServer后台管理 2.创建文件型工作空间 3.选择REST-地图服务,REST-数据服务4.点击发布 5.创建完成后点击地图服务,6.选择任意地图,打开后空白,地址栏无坐标
Iserver日志:
17:59:13 - INFO - iServer的home目录为:D:\ruangjian\supermap_iserver_8.1.1_tomcat-8.5.75\webapps\iserver\
17:59:13 - INFO - iServer的ContextPath为:/iserver
17:59:13 - INFO - iServer的配置文件路径为:D:\ruangjian\supermap_iserver_8.1.1_tomcat-8.5.75\webapps\iserver\WEB-INF
17:59:17 - INFO - 环境检查是否开启:true
17:59:17 - INFO - 许可检查是否通过:true
17:59:17 - INFO - iServer期望使用的UGO版本是:8.1.1.14427
17:59:17 - INFO - iServer实际使用的UGO版本是:8.1.1.14427
17:59:17 - INFO - iServer实际使用的UGO路径是:D:\ruangjian\support\objectsjava\bin
17:59:17 - INFO - UGO版本检查是否通过:true
17:59:17 - INFO - iServer期望使用的Java最低版本是:1.8
17:59:17 - INFO - iServer实际使用的Java版本是:1.8.0_131
17:59:17 - INFO - iServer实际使用的Java路径是:C:\Program Files\Java\jdk1.8.0_131\jre
17:59:17 - INFO - Java版本检查是否通过: true
17:59:19 - INFO - 全局属性realspaceSecurityEnabled,outputPath,envCheckEnabled,checkDatasourceConnectionInterval,outputSite,restartWhenCrash,realspaceCacheAccessKey的值被更新为true,../../webapps/{contextPath}/output,true,30,http://{ip}:{port}/{contextPath}/output/,true,-69 120 -26 8 -97 -35 68 25 -71 90 -24 -17 -115 80 -56 -17。
17:59:19 - INFO - 工作空间UntitledWorkspace正在打开
17:59:19 - INFO - 工作空间QJDC成功打开
17:59:19 - INFO - 工作空间QJDC中获取的数据源数目为0
17:59:19 - INFO - 工作空间QJDC中获取的数据源数目为0
17:59:19 - INFO - 服务提供者map-QJDC开始创建
17:59:20 - INFO - 工作空间UntitledWorkspace正在打开
17:59:20 - INFO - 工作空间QJDC成功打开
17:59:20 - INFO - 工作空间QJDC中获取的数据源数目为0
17:59:20 - INFO - 工作空间QJDC中获取的数据源数目为0
17:59:20 - INFO - 服务提供者map-QJDC创建成功
17:59:20 - INFO - 服务提供者data-QJDC开始创建
17:59:20 - INFO - 服务提供者data-QJDC创建成功
17:59:20 - INFO - 业务组件map-QJDC开始创建
17:59:20 - INFO - 业务组件map-QJDC创建成功
17:59:22 - INFO - 业务组件data-QJDC开始创建
17:59:22 - INFO - 业务组件data-QJDC创建成功
18:02:05 - INFO - getMapStatus 发生异常:当 mapParam.rectifyType 为 BYCENTERANDMAPSCALE 时,传入参数 mapParam.viewBounds([[0.0,0.0], [0.0,0.0]])非法。
18:02:05 - INFO - rect
ViewBounds的高度必须大于0
java.lang.IllegalArgumentException: rect
ViewBounds的高度必须大于0
at com.supermap.mapping.Map.setViewBounds(Unknown Source)
at com.supermap.services.providers.InnerUGCMapProvider.viewEntire(SourceFile:500)
at com.supermap.services.providers.UGCMapProvider.viewEntire(SourceFile:459)
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.server.impl.PerformanceProxyFactory$PerformanceProxyHandler.invoke(SourceFile:216)
at com.sun.proxy.$Proxy31.viewEntire(Unknown Source)
at com.supermap.services.components.impl.MapImpl.viewEntire(SourceFile:859)
at com.supermap.services.rest.resources.impl.ThumbnailsResource.a(SourceFile:138)
at com.supermap.services.rest.resources.impl.ThumbnailsResource.getResourceContent(SourceFile:62)
at com.supermap.services.rest.DefaultMethodHandler.a(SourceFile:863)
at com.supermap.services.rest.DefaultMethodHandler.handleGet(SourceFile:164)
at com.supermap.services.rest.resources.ResourceBase.handleGet(SourceFile:926)
at com.supermap.services.rest.resources.ResourceBase.handle(SourceFile:1349)
at org.restlet.resource.Finder.handle(Finder.java:246)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Router.doHandle(Router.java:431)
at org.restlet.routing.Router.handle(Router.java:648)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:155)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.engine.CompositeHelper.handle(CompositeHelper.java:211)
at org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:84)
at org.restlet.Application.handle(Application.java:384)
at org.restlet.ext.servlet.ServletAdapter.service(ServletAdapter.java:206)
at com.supermap.services.rest.servlets.ManagementServlet.service(SourceFile:179)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
at com.supermap.server.host.webapp.handlers.WebAppRequestDispatcher.forward(SourceFile:63)
at com.supermap.server.host.webapp.handlers.SelectForward.a(SourceFile:32)
at com.supermap.server.host.webapp.handlers.ManagerServiceHandler.handle(SourceFile:237)
at com.supermap.server.host.webapp.handlers.AbstractHandler.process(SourceFile:193)
at com.supermap.server.host.webapp.handlers.AbstractHandler.a(SourceFile:219)
at com.supermap.server.host.webapp.handlers.AbstractHandler.invokeLowerPriorityHandlers(SourceFile:208)
at com.supermap.server.host.webapp.handlers.AbstractHandler.process(SourceFile:195)
at com.supermap.server.host.webapp.handlers.BasicHandler.process(SourceFile:299)
at com.supermap.server.host.webapp.ApplicationFilter.doFilter(SourceFile:245)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:196)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:698)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:366)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:639)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:847)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1680)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)