[mapguide-users] MapGuide runs out of FDO connections under Fusion MGOS 2.1 Beta

GreenMapSanMiguel webmaster at SMAmap.com
Sat Jul 18 21:09:47 EDT 2009


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. 

Can anyone suggest where to go from here?  Perhaps the feature service needs
to be closed/destroyed somehow after use?  

My undying gratitude to whoever can help me with this show-stopper,

Andy 
-- 
View this message in context: http://n2.nabble.com/MapGuide-runs-out-of-FDO-connections-under-Fusion-MGOS-2.1-Beta-tp3281668p3282820.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list