Hi All
Its ok, i've cracked it.
MgSite.GetCurrentSiteAddress();
Gets the current server IP address.
Thanks
James
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Identifing-Load-Ballenced-Server-tp6060660p6060798.html
Sent from the MapGuide Users mailing list archive
Thanks for your reply Jackie,
Yes that makes sense. Which is a big same really, you would think that
mapguide would almost do a text replace on these functions in the layer
filter to replace out the function name with the value, or something
similar.
Yes a filter of 1 = 1 does work.
Thanks
Hi There
I am trying to create a layer which filters on the SESSION() function to
compare the mapguide session id to something else.
If I use the syntax SESSION() = SESSION() in the layer filter, you would
expect it the show all objects, but instead nothing is shown.
Using SESSION() for the
Thank you for you reply Bruce.
That make a lot of sense, and explains some of the problems i've been
experiencing.
In postgres the dafault max connections is 100, where as the default max
connection pool in mapguide is 200, which would explain why after a few hour
use of the system that
Hi All
I am using the following code in the Mapguide API to return a
MgFeatureReader to my postgis data source.
featureService.SelectFeatures(featureSourceId, classId.QualifiedClassName,
queryOptions);
I am using Mapguide2011 with FDO 3.5
When this command is executed I can see from postgis
would suggest trying to reduce the connection pool to 50 (SDF only has
one or two files open).
Also, you can try to run MapGuide interactively instead of as a service,
and you may see the errors
in the console.
Regards, Kenneth Skovhede, GEOGRAF A/S
doggybs skrev:
Hi All
I am having
of as a service,
and you may see the errors
in the console.
Regards, Kenneth Skovhede, GEOGRAF A/S
doggybs skrev:
Hi All
I am having a very strange problem with Mapguide 2010, and I have no idea
what the problem could be or where to start looking for it.
The problem only seems to happen
Hi All
I am having a very strange problem with Mapguide 2010, and I have no idea
what the problem could be or where to start looking for it.
The problem only seems to happen in a multi user situation, but what seems
to happen is that mapguide will randomly lockout a random selection of SDF