[mapguide-users] MgTileService - GetTile - Cannot establish connection
Walt Welton-Lair
walt.welton-lair at autodesk.com
Tue Dec 5 14:45:53 EST 2006
Does your map, by chance, reference any Oracle feature sources? I don't know the details, but I know there are connection limits with Oracle. Does your version of MapGuide support connection pooling? If so, is it enabled? If not, that could very well explain the problem you're seeing.
If the pooling is disabled then every GetTile request will open new connections to your feature sources, and in your case after 50-80 back-to-back tile requests the connection limits are exceeded.
Are the lower zoom threshhold tiles rendered more quickly than other tiles? That would support this theory even more.
Walt
-----Original Message-----
From: Kori Maleski [mailto:Kori.Maleski at websoftdev.com]
Sent: Tue 12/5/2006 8:08 PM
To: users at mapguide.osgeo.org
Cc:
Subject: [mapguide-users] MgTileService - GetTile - Cannot establish connection
Hi all,
I have built a function that will pre-generate the tiles for a tiled map.
It works – but when generating for a lower zoom threshold with numerous tiles it will generate 50-80 tiles then throw a series connection errors:
Cannot establish connection. Cannot establish connection. Exception occurred in method MgServerConnection.Open at line 95 in file c:\build_tux_area\mgdev\common\service\services\ServerConnection.cpp
The MapGuide Server service is then non responsive requiring a restart.
I am doing a long series of GetTile calls in sequence.
Has anybody run into this kind of connectivity problem? Is the best method to simply pause or delay the function so the server isn’t over taxed?
Cheers,
_____
<http://www.websoftdev.com/>
<http://www.websoftdev.com/>
<http://www.websoftdev.com/>
Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
kori.maleski at websoftdev.com
_____
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 12286 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapguide_users/attachments/20061205/e6bb6c1f/attachment.bin
More information about the Mapguide_users
mailing list