Jim, >From "But i want to do this every few seconds." are you suffering from a lack of stability with Mapguide?
z On Sun, May 11, 2008 at 3:49 AM, Jason Birch <[EMAIL PROTECTED]> wrote: > Jim, I wouldn't count on a lack of entries in the log file indicating that > the server is running. This hasn't happened to me recently, but I've seen a > few cases where the server has just dumped out without any entries. > > Using something like the mapagent's GetSiteVersion would have the benefit of > testing both the web tier and the server, but of course it wouldn't tell you > which was broken so a commandline API call might be better. > > Jason > > ________________________________ > > From: [EMAIL PROTECTED] on behalf of Jim O'Leary > Sent: Sat 2008-05-10 6:34 AM > To: [email protected] > Subject: RE: [mapguide-users] Test if MapGuide server is running > > I think this would involve a lot of overhead. I would have to 'try' to create > a Session and 'catch' an exception. But i want to do this every few seconds. > It would be easier to use a Python script to parse the log file. However, it > would be more appropriate to use a built-in test, if one exists. > > > _______________________________________________ > mapguide-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
