Re: [mapguide-users] Please try your operation later as theresource was busy
I am also seeing this problem Apache-PHP running on XP SP2 with MG 2.0. I am confident I am closing the feature reader before calling the update. At this point this is the only thing keeping me from putting MG 2.0 into production. I saw a comment that suggested setting the content expiration to immediate. The suggestion was from an IIS user. So far I have not figured out how to set this in Apache in Windows. Any suggestions? Thanks George McLean Mark Pendergraft wrote: I have not found a solution to the issue, it's a bug in 2.0 and there is already a trac ticket for it(http://trac.osgeo.org/mapguide/ticket/524) The solution I have come up with, is to roll back my map to 1.2. Sorry for the bad news -Mark Pendergraft. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dirk-64 Sent: Thursday, June 26, 2008 11:57 PM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Please try your operation later as theresource was busy i'm using MGOS2.0 and got the same error when trying to update the feature source i just had read from, by the feature service's UpdateFeature method. I closed the feature reader and call the delete method of MgFeatureReader before. Neither the Close nor the delete makes any difference, the error stays the same: MgFeatureReader locReader = featureService.SelectFeatures(featureId locReader.ReadNext() locReader.Close(); locReader.delete(); featureService.UpdateFeatures(featureId, cmdCollection, false); did you found any solution to your issue - probably the same like i'm looking for, dirk. A H wrote: i'm using MGOS1.2 and got the same error while trying to query a recently updated layer MgFeatureQueryOptions locQuery = new MgFeatureQueryOptions(); locQuery.SetFilter("ID like '%'"); MgFeatureReader locReader = locLayer.SelectFeatures(locQuery); MgSelection selection = new MgSelection(map); selection.AddFeatures(locLayer, locReader, 0); selectionXml = selection.ToXml(); Please try your operation later as the resource was busy: Session:98c4f84e---8000-00508bbe3169_en_0A0223600AFC0AFB0AFA//Lo cation.FeatureSource Please try your operation later as the resource was busy: Session:98c4f84e---8000-00508bbe3169_en_0A0223600AFC0AFB0AFA//Lo cation.FeatureSource Exception occurred in method MgServerResourceService.RemoveCachedFdoConnection at line 2234 in file c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src \services\resource\ServerResourceService.cpp Bruce Dechant wrote: Mark, The access is similar to a database, except is dependent on what the underlying provider supports. In the SDF case I believe this is multiple reads and single write is supported. Thanks, Bruce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Pendergraft Sent: Friday, May 16, 2008 1:03 PM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Please try your operation later as the resource was busy I'm a little confused here. You make it sound as if only one person can update the library resource (in this case a .sdf file) at a time. I thought that multiple people could interact with the file making changes at the same time more like a database. I get this error about every other time i try to add a feature to my feature source. There is a lot of code that could be suspect, i will try to isolate the error this weekend and if it's not my code i will submit a trac ticket. Bruce Dechant wrote: Mark, The error you see below is typically a result of the resource still being used by someone else. However, if a feature reader is not closed and you try to do something with the same resource (update) it can report that it is in use still and therefore busy. Since you are closing your feature reader I suspect the problem is most likely a defect if you are the only one that is using it. What provider is this happening with? Is this easily reproduced? If you could create a track ticket for this and include as much information as possible for someone to investigate the issue that would be great. Thanks, Bruce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Pendergraft Sent: Friday, May 16, 2008 11:44 AM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Please try your operation later as the resource was
RE: [mapguide-users] Please try your operation later as theresource was busy
Try changing the server settings. In the IIS settings, open up the properties for the default web site and go to the HTTP headers tab. Enable Content Expiration, and set it to expire immediately. On the Web Site tab, please also disable the "HTTP Keep-Alives Enabled" box. Please let me know if that works for you after restarting the MapGuide service. This worked for me. -- View this message in context: http://www.nabble.com/Please-try-your-operation-later-as-the-resource-was-busy-tp16392736p18163492.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Please try your operation later as theresource was busy
I have not found a solution to the issue, it's a bug in 2.0 and there is already a trac ticket for it(http://trac.osgeo.org/mapguide/ticket/524) The solution I have come up with, is to roll back my map to 1.2. Sorry for the bad news -Mark Pendergraft. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dirk-64 Sent: Thursday, June 26, 2008 11:57 PM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Please try your operation later as theresource was busy i'm using MGOS2.0 and got the same error when trying to update the feature source i just had read from, by the feature service's UpdateFeature method. I closed the feature reader and call the delete method of MgFeatureReader before. Neither the Close nor the delete makes any difference, the error stays the same: MgFeatureReader locReader = featureService.SelectFeatures(featureId locReader.ReadNext() locReader.Close(); locReader.delete(); featureService.UpdateFeatures(featureId, cmdCollection, false); did you found any solution to your issue - probably the same like i'm looking for, dirk. A H wrote: > > i'm using MGOS1.2 and got the same error while trying to query a recently > updated layer > > > MgFeatureQueryOptions locQuery = new MgFeatureQueryOptions(); > locQuery.SetFilter("ID like '%'"); > > MgFeatureReader locReader = locLayer.SelectFeatures(locQuery); > > MgSelection selection = new MgSelection(map); > selection.AddFeatures(locLayer, locReader, 0); > selectionXml = selection.ToXml(); > > > Please try your operation later as the resource was busy: > Session:98c4f84e---8000-00508bbe3169_en_0A0223600AFC0AFB0AFA//Lo cation.FeatureSource > Please try your operation later as the resource was busy: > Session:98c4f84e---8000-00508bbe3169_en_0A0223600AFC0AFB0AFA//Lo cation.FeatureSource > Exception occurred in method > MgServerResourceService.RemoveCachedFdoConnection at line 2234 in file > c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src \services\resource\ServerResourceService.cpp > > > > Bruce Dechant wrote: >> >> Mark, >> >> The access is similar to a database, except is dependent on what the >> underlying provider supports. In the SDF case I believe this is multiple >> reads and single write is supported. >> >> Thanks, >> Bruce >> >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of Mark >> Pendergraft >> Sent: Friday, May 16, 2008 1:03 PM >> To: mapguide-users@lists.osgeo.org >> Subject: RE: [mapguide-users] Please try your operation later as the >> resource was busy >> >> >> I'm a little confused here. >> You make it sound as if only one person can update the library resource >> (in >> this case a .sdf file) at a time. I thought that multiple people could >> interact with the file making changes at the same time more like a >> database. >> I get this error about every other time i try to add a feature to my >> feature >> source. There is a lot of code that could be suspect, i will try to >> isolate >> the error this weekend and if it's not my code i will submit a trac >> ticket. >> >> >> Bruce Dechant wrote: >>> >>> Mark, >>> >>> The error you see below is typically a result of the resource still >>> being >>> used by someone else. However, if a feature reader is not closed and you >>> try to do something with the same resource (update) it can report that >>> it >>> is in use still and therefore busy. >>> >>> Since you are closing your feature reader I suspect the problem is most >>> likely a defect if you are the only one that is using it. >>> >>> What provider is this happening with? Is this easily reproduced? >>> If you could create a track ticket for this and include as much >>> information as possible for someone to investigate the issue that would >>> be >>> great. >>> >>> Thanks, >>> Bruce >>> >>> -Original Message- >>> From: [EMAIL PROTECTED] >>> [mailto:[EMAIL PROTECTED] On Behalf Of Mark >>> Pendergraft >>> Sent: Friday, May 16, 2008 11:44 AM >>> To: mapguide-users@lis