Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] StaleObjectStateException thrown by loader jobs after patch

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] StaleObjectStateException thrown by loader jobs after patch


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: Scott Koranda <>
  • Cc: grouper-users <>
  • Subject: RE: [grouper-users] StaleObjectStateException thrown by loader jobs after patch
  • Date: Wed, 14 Feb 2018 11:32:31 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:J5YfmhIC5IN+jrW+H9mcpTZWNBhigK39O0sv0rFitYgfI/TxwZ3uMQTl6Ol3ixeRBMOHs6sC07KempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9JDffxhEiCChbb9uMR67sRjfus4KjIV4N60/0AHJonxGe+RXwWNnO1eelAvi68mz4ZBu7T1et+ou+MBcX6r6eb84TaFDAzQ9L281/szrugLdQgaJ+3ART38ZkhtMAwjC8RH6QpL8uTb0u+ZhxCWXO9D9QKsqUjq+8ahkVB7oiD8GNzEn9mHXltdwh79frB64uhBz35LYbISTOfFjfK3SYMkaSHJBUMhPSiJBHo2yYYgBD+UDPOZXs4bzqFQVoBuiHAmgGP/jxiNUinPo26AxzuQvERvB3AwlB98CvnbardX0NagMS+C51LTDwCvDb/NM2Df984bEeQ0mrPGJQb1wccrQyEgxGAPflViQqJflMC+P2uQQq2iU8exgVeS1h2E5tg5xvyGiy8ExgYfHgYIVz0rL9SR/wIstJN24TlJ7bsC+EJtWqS6aK5V6Ttk8TG51pSY3zKANt52jfCUS1pgo3QLTZ+GCfoSV/x7vSeOcITl3iX55ZL6yghS//lavx+HgU8S51UhGojZEn9XUq3wA2QDf5tKDR/dg5EutxyuD2gTJ5u1ZI005lLLXK5A/zbMzipYetEHOEjLrl0j1g6Kbc1sr9fK05+niYbjpuIGQOotxhw7lMqkulNCwDOIlOQYURWeb4/6z1Lj78E35XrpKivo2n7HBvp3GIsoXurO1DxZI3Ig79hqzFjCm388GknUdK1JFZQ6HgJPuO1HTJvD3EO2zg0y2kDds2/DJIKHuAonMLnjElrftZ7F961NAyAo3ytBf4JFUBqsdL/L0X0/9rN3YDhknPAyo2+vrFs9y2p8DVW+KH6OVLb7evFqG5u8gP+WAeIoYtTTjJPUq+/LjiHo0lUEBcaSoxZcXbWq3HvViI0WXe3rshdIBHH8PvgUiTOzriFyDXiBJZ3upXqI8/S00BJi7DYfbWI+thrqB0D2lEZJLe2BKEkqMHmvwd4WYR/cMbzqfIsB7kjwDSLihU5Eu1Qu3uA/n0LpoMPDU+jYDuJLn1dh1/PHTlQos+TBuDsSd1X2NQH9unmMOWTA2wL5zrVZjxViezKgry8BfQOdY4O9VGiQ9L5faw+UyX8vxXRjIeNuAYFmjS9SiRzo2S4Ri7cUJZhM3O8SwgwqHlwGqGb4O3fTfAZc047DRxVDwPM071m7L0q9nglU7FJgcfVa6j7JyolCAT7XClF+UwuPzLfwR
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

This is fixed in patches grouper_v2_3_0_api_patch_92, and
grouper_v2_3_0_ui_patch_41. Also released are some updates from Vivek and me
about loader metadata.

https://spaces.internet2.edu/display/Grouper/Grouper+Loader+-+Changes+for+deprovisioning

You can see which groups a loader job manages (see link for screenshots), and
see that a group is managed (or was managed) by the loader.

Some other API changes were needed to make this work properly.

https://bugs.internet2.edu/jira/browse/GRP-1624: Add loader metadata
attributes to groups that are loaded via grouper loader
https://bugs.internet2.edu/jira/browse/GRP-1681: allow attribute values to be
updated without worrying about locking, hooks, auditing, etc
https://bugs.internet2.edu/jira/browse/GRP-1687: allow search for groups by
multiple attributes and values
https://bugs.internet2.edu/jira/browse/GRP-1678: grouperLoader attribute
metadata has incorrect groupId and unassigns attributes that shouldnt be
causing stale state exceptions

Let me know how it goes.

Thanks
Chris

-----Original Message-----
From: Scott Koranda
[mailto:]

Sent: Tuesday, February 13, 2018 9:55 AM
To: Hyzer, Chris
<>
Cc: grouper-users
<>
Subject: Re: [grouper-users] StaleObjectStateException thrown by loader jobs
after patch

Hi,

Is there any update on

https://bugs.internet2.edu/jira/browse/GRP-1678

?

We would like to prove out the patching of the DEV system so that we can
pick up patches in PROD that we need to better manage loader groups.

Thanks,

Scott K

> Can you tell me what patches have GrouperLoaderType in it? Do you see the
> line getGroupsNoLongerMangedByLoader in the .java file? Does the dev-tier
> deployment use git or tarballs and patches? Im having trouble seeing which
> patch that code is in...
>
> [appadmin@fastprod-mgmt-01 loader]$ find | grep GrouperLoaderType
>
> Thanks
> Chris
>
>
>
>
> -----Original Message-----
> From:
>
>
> [mailto:]
> On Behalf Of Scott Koranda
> Sent: Saturday, February 03, 2018 4:51 PM
> To: grouper-users
> <>
> Subject: [grouper-users] StaleObjectStateException thrown by loader jobs
> after patch
>
> Hi,
>
> I patched a development-tier deployment today and picked up a number of
> API patches.
>
> After patching all loader jobs are throwing errors like the one attached
> when run using 'gsh.sh -loader'.
>
> If I simply start gsh.sh and then run a loader job by doing something
> like
>
> group = GroupFinder.findByName(grouperSession, "stem:member_loader_job");
> loaderRunOneJob(group);
>
> I do not see these errors.
>
> The error mentions hooks, which is surprising since this deployment does
> not have any hooks defined.
>
> Any ideas?
>
> Thanks,
>
> Scott K



Archive powered by MHonArc 2.6.19.

Top of Page