[mapguide-users] Re: FDO OGR provider stops working with many layers

Hans Milling hm at geograf.dk
Tue Mar 20 09:56:16 EDT 2012


I finally had some time to test this.

I have now tested on AIMS2012 and MGOS2.2. Both fail after about 100 to 180
layers in a map. It seems like some buffer/file handle problem since it
always fails at the same layer but if you delete a few layers from the map,
it fails at another layer.
MapInfo and OGRInfo tool reports no problem with the .tab/.id/.ind/.map
files. Also using Maestro I have opened each individual layer and previewed
them with no problems.

MGOS2.2 and AIMS2012 then reports "FDO Exception. Connect failed":

I can still connect to Maestro but the OGR provider does not work at all
until restart of the MGOS2.2 server.

In AIMS2012 I see something interesting in the log file, it looks like a
file cannot be opened by the service (even though the file is there).
Perhaps some maximum open files limit is reached or something. See error
below. Also the service therefor does not work at all, after this (need to
restart the service).

Any other suggestions would be nice!

<2012-03-20T14:36:17> 	528	MapGuide Maestro API v4.0.0.6359	::1
Administrator
 Error: Cannot open repository: C:\Program Files\Autodesk\Autodesk
Infrastructure Map Server
2012\Repositories\Session\ab906dec-7291-11e1-8000-08002700eca5_en_7F0000010B060B050B04.dbxml
        The repository is already opened by another process (e.g. If you are
running the server interactively as an application from the command line,
are you also running the server as a service?).
 StackTrace:
  - MgSiteServiceHandler.ProcessOperation() line 83 file
d:\build\mge2012\build_42.2\ent\os\server\src\services\site\SiteServiceHandler.cpp
  - MgOpCreateSession.Execute() line 109 file
d:\build\mge2012\build_42.2\ent\os\server\src\services\site\OpCreateSession.cpp
  - MgServerSiteService.CreateSession() line 762 file
d:\build\mge2012\build_42.2\ent\os\server\src\services\site\ServerSiteService.cpp
  - MgServerResourceService.CreateRepository() line 541 file
d:\build\mge2012\build_42.2\ent\os\server\src\services\resource\ServerResourceService.cpp
  - MgSessionRepository.MgSessionRepository() line 76 file
d:\build\mge2012\build_42.2\ent\os\server\src\services\resource\SessionRepository.cpp
  - MgRepository.VerifyAccess() line 87 file
d:\build\mge2012\build_42.2\ent\os\server\src\services\resource\Repository.cpp	

Best regards Hans Milling...


--
View this message in context: http://osgeo-org.1560.n6.nabble.com/FDO-OGR-provider-stops-working-with-many-layers-tp4358864p4636789.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list