[mapguide-users] Intermittent failure to request features
simon hope
simonh at geobiz.co.nz
Sun Oct 14 23:39:41 EDT 2007
Just a quick update, I made the following changes to the serverconfig:
under F E A T U R E S E R V I C E
DataConnectionTimeout = 1
DataConnectionTimerInterval = 1
under G E N E R A L
ConnectionTimeout = 1
ConnectionTimerInterval = 1
and i built a stress tester and sent a request every second and didn't get a
failure...so good show.
Simon
simon hope wrote:
>
> Hi,
>
> I've created a service to request features from ArcSDE via the Mapguide
> .Net web API and I am experiencing an issue intermittently when a request
> is made. Sometimes the request is successful sometime it fails with the
> following error:
>
> Error: An unclassified exception occurred.
> StackTrace:
> - MgFeatureServiceHandler.ProcessOperation line 83 file
> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\feature\FeatureServiceHandler.cpp
> - MgOpSelectFeatures.Execute line 112 file
> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\feature\OpSelectFeatures.cpp
> - MgServiceOperation.EndExecution line 532 file
> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\common\base\ServiceOperation.cpp
> - MgServerFeatureReader.Serialize line 615 file
> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\feature\ServerFeatureReader.cpp
> - MgServerGetFeatures.GetFeatures line 101 file
> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\feature\ServerGetFeatures.cpp
> An unclassified exception occurred.
>
> I've also tested making the same request from the web tier tests and I get
> similar results. I am using MapGuide OS 1.2 together with the
> MapGuideDotNetApi.dll and ArcSDE 9.2 (with the corresponding provider).
>
> I've made a couple of changes to my server config. Here are the details:
>
> GENERAL
>
> ConnectionTimeout = 5
> ConnectionTimerInterval = 5
> DefaultMessageLocale =en
> DisplayName =
> FdoPath =C:\Program
> Files\MapGuideOpenSource\Server\Bin\FDO\
> LicenseServerPath = @localhost
> Locale =
> LogsDelimiter = \t
> LogsPath =C:\Program
> Files\MapGuideOpenSource\Server\Logs\
> MachineIp = 127.0.0.1
> MaxLogFileSize = 1024
> MaxLogFileSizeEnabled = 0
> ResourcesPath =C:\Program
> Files\MapGuideOpenSource\Server\Resources\
> SerialNumber =
> ServiceRegistrationTimerInterval = 60
> TcpIpMtu = 1460
> TempPath =C:\Program
> Files\MapGuideOpenSource\Server\Temp\
> WfsDocumentPath =C:\Program
> Files\MapGuideOpenSource\Server\Wfs\
> WmsDocumentPath =C:\Program
> Files\MapGuideOpenSource\Server\Wms\
>
> FEATURE SERVICE
>
> CacheSize = 100
> CacheTimeLimit = 86400
> CacheTimerInterval = 3600
> DataCacheSize = 100
> DataConnectionPoolEnabled = 1
> DataConnectionPoolExcludedProviders= OSGeo.SDF,OSGeo.SHP
> DataConnectionPoolSize = 50
> DataConnectionPoolSizeCustom =
> DataConnectionTimeout = 5
> DataConnectionTimerInterval = 5
> JoinQueryBatchSize = 100
>
> Could anyone shed any light on the details of the error message, or
> perhaps other on the list have had similar problems?
>
> Cheers
>
> Simon
>
--
View this message in context: http://www.nabble.com/Intermittent-failure-to-request-features-tf4623901s16610.html#a13206240
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list