<div dir="ltr">The only thing I found should be explicitly closed is FeatureReader... <div><br></div><div>Riccardo</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-01-13 19:29 GMT+01:00 Rémy Gourrat <span dir="ltr"><<a href="mailto:rgourrat@ag-carto.fr" target="_blank">rgourrat@ag-carto.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<div>
<p class="MsoNormal"><span lang="EN-US">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I developped in .net, a mapguide 2.5.2 ajax viewer application which read a map definition in library repository, edit and change the srs of all the feature source used by the current map,  add a filter to each layer
 and save it in the repository session.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">It seem to work fine.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">But 1 time by day, after 20 or 30 session initialized, mapguide can’t initialize a new session.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">The Old sessions are fine, I checkrd serverconfig.ini but I didn’t change the limit session.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">If i do nothing, sometime or not I have a dbxml error in the log but not systematically : “Error: An exception occurred in DB XML component.”<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">But i see something important,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">- if i use a map without using my code (standard solution), after closing the viewer, MapGuide close the session and delete session files in the session repository correctly.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">- if I use the same map but using my code, map display and run very fine, but MapGuide never close the session.
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Session files in the session repository are present until I restart the mapguide service.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">If I try to connect to this session with Ajax viewer it said to me this session not exist…<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">It’s a bug.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">i think I must forget something fundamental,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">is it necessary to close resource and feature service after generation of the runtimemap, and how ?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">is it something locked and mapguide can’t really delete sessions files ?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal">thanks for your help<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Rémy<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>




        
        
        <div style="margin-top:1em;color:#666666;font-size:11px">
                                AG-Carto - Bayonne
                        </div>
<br><hr align="left" width="300">
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/MapGuide-2-5-2-runtime-map-not-properly-closed-tp5181326.html" target="_blank">MapGuide 2.5.2 : runtime map not properly closed...</a><br>
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html" target="_blank">MapGuide Users mailing list archive</a> at Nabble.com.<br><br>_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><font face="courier new, monospace">Riccardo Pucci</font></div><div><span style="color:rgb(0,0,0);background-color:rgb(245,245,245)"><font face="courier new, monospace">Geoweb Italia S.r.l.</font></span><br></div></div></div>
</div>