[mapguide-trac] #1051: MapGuide exhausts FDO connections during
Fusion selection
MapGuide Open Source
trac_mapguide at osgeo.org
Mon Jul 27 20:26:13 EDT 2009
#1051: MapGuide exhausts FDO connections during Fusion selection
-----------------------------+----------------------------------------------
Reporter: jbirch | Owner:
Type: defect | Status: new
Priority: high | Milestone: 2.1
Component: Feature Service | Version: 2.1.0
Severity: blocker | Resolution:
Keywords: | External_id:
-----------------------------+----------------------------------------------
Comment (by jbirch):
I'm not sure that the changes to Fusion are relevant to this problem. My
Fusion application is 1.1 based, exhibits the problem when connecting to
2.1, and does not when connecting to 2.0.x. The only variable is this
setup is the MapGuide version. I believe that Andy's application is 2.0
based and has the same behaviour.
An additional clue from the email:
{{{
I've been stepping through code and think I have isolated the problem.
At this point I'm assuming that both of my issues (layers becoming
permenantly busy and running out of FDO connections) are related.
The issues occur after use of setSelection, which uses both
SaveSelection.php and GetSelectionProperties.php. Both of these
create a feature service then call GetExtents. Here's a sample from
SaveSelection.php:
$featureService =
$siteConnection->CreateService(MgServiceType::FeatureService);
$oExtents = $selection->GetExtents($featureService);
Creation of $featureService doesn't seem cause a problem, but as
soon as $oExtents is created the layer becomes busy and stays
busy until the MapGuide server is restarted.
}}}
--
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/1051#comment:2>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list