[mapguide-users] MapGuide 2.5.2 : runtime map not properly closed...

Rémy Gourrat rgourrat at ag-carto.fr
Tue Jan 13 10:29:12 PST 2015


Hi,

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.

It seem to work fine.

But 1 time by day, after 20 or 30 session initialized, mapguide can't initialize a new session.

The Old sessions are fine, I checkrd serverconfig.ini but I didn't change the limit session.

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."

But i see something important,

- 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.

- if I use the same map but using my code, map display and run very fine, but MapGuide never close the session.

Session files in the session repository are present until I restart the mapguide service.

If I try to connect to this session with Ajax viewer it said to me this session not exist...

It's a bug.

i think I must forget something fundamental,

is it necessary to close resource and feature service after generation of the runtimemap, and how ?

is it something locked and mapguide can't really delete sessions files ?

thanks for your help

Rémy







-----
AG-Carto - Bayonne
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/MapGuide-2-5-2-runtime-map-not-properly-closed-tp5181326.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20150113/cbdae4a4/attachment.html>


More information about the mapguide-users mailing list