[mapguide-users] Re: MgApplicationException: Cannot create any more connections to the OSGeo.SDF FDO provider

Dave Wilson dave.wilson at autodesk.com
Thu Feb 25 10:57:02 EST 2010


In the serverconfig.ini you need to be looking at the ConnectionPool settings in the FeatureServices section:

DataConnectionPoolSize = 200
DataConnectionPoolExcludedProviders = OSGeo.SDF,OSGeo.SHP

The above are the defaults. If SDF or SHP is excluded you are only allowed one connection at a time. If you remove either or both then you can maintain multiple connections. You normally exclude them if you plan to update SDF or SHP via the API. If you don't then you can remove the DataConnectionPoolExcludedProviders entries.

Use the Web Tier Test pages http://localhost/mapguide/mapagent/index.html and under Feature select GetFdoCacheInfo and this will show you how many connections are being made.

Regards,
Dave

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of vittorio
Sent: Thursday, February 25, 2010 3:04 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Re: MgApplicationException: Cannot create any more connections to the OSGeo.SDF FDO provider


I looked at the file serverconfig.ini, what values do you mean?

The map is displayed quickly enough, the problem occurs about after two
hours when at most there are four concurrent connections
-- 
View this message in context: http://n2.nabble.com/MgApplicationException-tp4626154p4631572.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list