#683 closed defect (fixed)
HttpServerConnection.RenderRuntimeMap timeout
Reported by: | MaksimS | Owned by: | ksgeograf |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | Maestro | Version: | |
Severity: | major | Keywords: | |
Cc: | External ID: |
Description ¶
Didn't want to go after reopening of #675 since this one is different.
During lenghty RenderRuntimeMap() operations (I mean - lenghty on a MG server side, i.e. querying some heavy feature source), HttpServerConnection.RenderRuntimeMap() throws timeout exception. And it happens far below 5 minutes (as in a SVN), maybe after some 20-30 seconds at most. Here's a short example:
' Creating a runtime map conn.CreateRuntimeMap(rtMapId, mapDef) ' Getting created runtime map instance Dim rtMap As RuntimeClasses.RuntimeMap = conn.GetRuntimeMap(rtMapId) ' Very heavy layer turned on, returning 20.000 or more parcels rtMap.Layers("PARCELS").Visible = True ' Commit a change, everything runs fine... conn.SaveRuntimeMap(rtMapId, rtMap) ' Bang - here's where exception is being thrown after lenghty processing on MG server side conn.RenderRuntimeMap(rtMapId, 6437225.3698, 4961979.8236, 5000, 400, 400, 75)
Exception being thrown:
System.Net.WebException was unhandled by user code Message="The operation has timed out" Source="System" StackTrace: at System.Net.HttpWebRequest.GetResponse() at OSGeo.MapGuide.MaestroAPI.HttpServerConnection.RenderRuntimeMap(String resourceId, Double x, Double y, Double scale, Int32 width, Int32 height, Int32 dpi) at PredmetMapa.Page_Load(Object sender, EventArgs e) in D:\DEV\Legalizacija\PredmetMapa.aspx.vb:line 34 at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) InnerException:
This seems to happen occasionally, probably depending on actual MG server resource utilization. Maybe AJAX viewer has a solution for this since it never returned timeouts on lengthy operations.
Change History (4)
comment:1 by , 17 years ago
Status: | new → assigned |
---|
comment:3 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
No response, closing ticket. Please re-open if it does not work.
comment:4 by , 16 years ago
Version: | 2.0.1 |
---|
r3289 should fix the timeout issue: http://trac.osgeo.org/mapguide/wiki/maestro/Downloads