<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Perhaps you can create a package from a Session repo?<br>
<br>
You will run into two problems if you try to copy from Session to
Library,<br>
1) Session repo is not enumerable (a security feature, IMO useless)<br>
2) Runtime Maps cannot be saved into Library.<br>
<br>
Both problems can be solved by doing a custom build of MapGuide, and
removing the checks.<br>
I seem to recal that the Session repo can be enumerated by the
Administrator.<br>
<br>
You can't make a 100% xml copy, because the xml has attached resourcesm
which are binary files.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
bruce_weston skrev:
<blockquote cite="mid:1233244461406-2239668.post@n2.nabble.com"
type="cite">
<pre wrap="">Bruce D,
Are you suggesting that this can be done? Does anyone have a script or a
method of copying the session repository into a library object? Is there
even a way of creating a copy of the session as XML?
thanks,
Bruce W
Bruce Dechant wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Bruce,
What you are doing by trying to replace the session repository of a
running server is problematic and could lead to server instability. You
really shouldn't do this.
The session repository is meant for temporary runtime data only and not
for persistent data. If you want any of your session repository data to
survive a restart you need to use the library repository instead.
Thanks,
Bruce
-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a>
[<a class="moz-txt-link-freetext" href="mailto:mapguide-users-bounces@lists.osgeo.org">mailto:mapguide-users-bounces@lists.osgeo.org</a>] On Behalf Of bruce_weston
Sent: Wednesday, January 28, 2009 2:34 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
Subject: [mapguide-users] Maintaining MapGuide Session during Restart
I'm just wondering if anyone has managed to do this yet? This is my
attempted
MapGuide restart script to keep the contents of the session folder backed
up, but it doesn't work:
echo MapGuide Scheduler Task Starting
taskkill /F /FI "SERVICES eq MapGuideServer2.0"
net stop MapGuideServer2.0
REM xcopy c:\Progra~1\MapGuideOpenSource2.0\Server\Repositories\Session\*
c:\Progra~1\MapGuideOpenSource2.0\SessionBackup\ /E /Y
net start MapGuideServer2.0
REM xcopy c:\Progra~1\MapGuideOpenSource2.0\SessionBackup\*
c:\Progra~1\MapGuideOpenSource2.0\Server\Repositories\Session\ /E /Y
echo MapGuide Scheduler Task Completed
pause
Is there session data stored anywhere else? I really want to make the
process seamless for my users.
Bruce
--
View this message in context:
<a class="moz-txt-link-freetext" href="http://n2.nabble.com/Maintaining-MapGuide-Session-during-Restart-tp2231199p2231199.html">http://n2.nabble.com/Maintaining-MapGuide-Session-during-Restart-tp2231199p2231199.html</a>
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>