[Glass] Fwd: Error migrating instances
Sebastian Van Lacke
svanlacke at caesarsystems.com
Thu Jan 16 11:32:39 PST 2014
James, Dale:
There was a session holding a gcLock, I have stopped this session and
executed the migration code again.
I will consider Dale's workaround next time.
Thanks!
Sebastián
On Wed, Jan 15, 2014 at 8:53 PM, Dale Henrichs <
dale.henrichs at gemtalksystems.com> wrote:
> new mailer and replied to sender instead of list ...
>
> ---------- Forwarded message ----------
> From: Dale Henrichs <dale.henrichs at gemtalksystems.com>
> Date: Wed, Jan 15, 2014 at 10:08 AM
> Subject: Re: [Glass] Error migrating instances
> To: James Foster <james.foster at gemtalksystems.com>
>
>
> Sebastian,
>
> We've seen this one before[1] and the post describes the workaround that
> you can use ...
>
> Dale
>
> [1] http://forum.world.st/Deploying-with-GsDeployer-td4630819.html
>
>
> On Wed, Jan 15, 2014 at 7:54 AM, James Foster <
> james.foster at gemtalksystems.com> wrote:
>
>> Hi Sebastián,
>>
>> I did a search for ‘gcLock’ in the System Admin Guide and found several
>> operations that require and/or hold the lock. In particular, see pages
>> 310-11. Also, you can determine the session holding the GcLock by using the
>> following:
>>
>> *System sessionIdHoldingGcLock*
>>
>> James
>>
>> On Jan 15, 2014, at 4:40 AM, Sebastian Van Lacke <
>> svanlacke at caesarsystems.com> wrote:
>>
>> Hi all,
>>
>> I'm getting an error while migrating instances. I have added an instance
>> variable to a class, and I trying to migrate the instances by evaluating
>> this code:
>>
>> | userHist allUsers |
>> userHist := CSUserRequest classHistory.
>> allUsers := SystemRepository listInstances: userHist.
>>
>> 1 to: userHist size-1 do: [:index |
>> (userHist at: index) migrateInstances:(allUsers at: index) to: (userHist
>> at: userHist size)].
>>
>> After some minutes, I get this error:
>>
>> a Error occurred (error 2501), An operation that needs to acquire the
>> gcLock was not able to get the lock within a reasonable amount of time.
>>
>> I have no idea how to proceed. I will appreciate some help.
>>
>> Thank you very much
>>
>> Sebastián
>>
>>
>>
>>
>> --
>>
>> sebastian van lacke | web developer | *caesar systems *| *see clearly.
>> decide smarter.*
>>
>> svanlakce at caesarsystems.com <gamaral at caesarsystems.com> | t:
>> +1.281.598.8790 | t: +54.11.4389.0126 | petrovr.blogspot.com |
>> www.caesarsystems.com
>>
>> This message and any attached documents contain information from Caesar
>> Systems LLC that may be confidential/trade secret and/or privileged. If you
>> are not the intended recipient, you may not read, copy, distribute or use
>> this information. If you have received this transmission in error, please
>> notify the sender immediately by telephone or by reply e-mail and then
>> delete this message.
>> _______________________________________________
>> Glass mailing list
>> Glass at lists.gemtalksystems.com
>> http://lists.gemtalksystems.com/mailman/listinfo/glass
>>
>>
>>
>> _______________________________________________
>> Glass mailing list
>> Glass at lists.gemtalksystems.com
>> http://lists.gemtalksystems.com/mailman/listinfo/glass
>>
>>
>
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass
>
>
--
sebastian van lacke | web developer | *caesar systems *| *see clearly.
decide smarter.*
svanlakce at caesarsystems.com <gamaral at caesarsystems.com> | t:
+1.281.598.8790 | t: +54.11.4389.0126 | petrovr.blogspot.com |
www.caesarsystems.com
This message and any attached documents contain information from Caesar
Systems LLC that may be confidential/trade secret and/or privileged. If you
are not the intended recipient, you may not read, copy, distribute or use
this information. If you have received this transmission in error, please
notify the sender immediately by telephone or by reply e-mail and then
delete this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20140116/ccd99755/attachment-0001.html>
More information about the Glass
mailing list