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: Thu, 15 Feb 2018 14:36:51 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:uqIoChw9dhfWBdfXCy+O+j09IxM/srCxBDY+r6Qd2usSIJqq85mqBkHD//Il1AaPAd2Araocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze+/94HdbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDtU7s6RSqt4LtqSB/wiScIKTg58H3MisdtiK5XuQ+tqwBjz4LRZoyeKfhwcb7Hfd4CRWRPQNtfVzBPDI2/YYsADesBMvpXoYbyvFYOsQK+CRWwCO/z1jNEmHn71rA63eQ7FgHG2RQtE9wMvnXUrdT6Kr0SXfiox6TWzTXDdfJW2Szz5IPVdR0hpO2DXbJwcMvQ10YvDRjIjlSLqYP5JT+Vy/wNvHad7+pmT+6glXMoqxxorzWp28wiiZHJi5oLxlzY9yh12ok4KNyiREJmYNOpHoFcuz+GO4duX88vTX1ktDw+x7Ebo5K3YjUGxZA9yxLCafGKcpCE4hz9W+uSPTt1gXdodK+iiBux/kWtz/PzWdOo3FtPrSdKjMfAu3QI2hPI6sWHROdy80G80jiVzQ/T8PtLIUUsmKrbNZEhxrkwm4ILv0nfGSH6hEv7gLaYeEsj9OWk8uPnba74qZOGMI90lx3+Pb8pmsyiB+Q3LxICX3CB+eS7yL3s41H2QKlLjv0xlKnVqpfaJdkHpq69BA9V1YUj5wyjADeh1dQUhXgHLFRbdxKbl4XlJU3CLfLiAfqwglmgiipnyvHIM7H7HJnBMmDPkLL7crZ8705cxhAzzdda559MD7EOPPLzW0/wtdPGFB80KA20w/37B9lny4MeQXyAAqmfMK/Ir1CH+/8vL/GWZIAJoDb9N+Ql5/n2gH82g18derSp3YMJZ3CiB/hmPl6ZbmT2gtcaCmoKugs+TPf2iF2ZTzJffXeyX6Qg5j4lEoKmC5nMRpyzjLCbwii0A4BWNSh6DQW3GnD0a82nXO0Fbi6bapt6kTseXL6tQqcu0BivsEnxzL8xfcTO/ShN/7LyxtVvo6X4lQsz7nY8W8GW03CfQntcn3gDASIu0aZ550Fx1wHQguBDn/VEGIkLtLtyWQAgOMuZlrQiBg==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Patch 87 in the API introduced the problem (below). You might try reducing
the loader threads to 1 and not run on multiple hosts if you like (if we cant
get a patch fix to work)...

Thanks,
Chris




private static void
updateLoaderMetadataForGroupsNoLongerInLoader(Set<String> groupNamesInLoader)
{
AttributeDefName loaderMetadataAttributeDefName =
AttributeDefNameFinder.findByName(loaderMetadataStemName()+":"+ATTRIBUTE_GROUPER_LOADER_METADATA_LAODED,
false);
//get all groups with settings
Set<Group> groupsWithLoaderMetadata = new
GroupFinder().assignPrivileges(null)
.assignIdOfAttributeDefName(loaderMetadataAttributeDefName.getId())

.assignAttributeValuesOnAssignment(GrouperUtil.toSetObjectType("true"))
.assignAttributeCheckReadOnAttributeDef(false)
.findGroups();



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

Sent: Thursday, February 15, 2018 8:29 AM
To: Hyzer, Chris
<>
Cc: grouper-users
<>
Subject: Re: [grouper-users] StaleObjectStateException thrown by loader jobs
after patch

Hi,

> I appreciate your patience here but Im really trying to make this
> work. I believe I have a fix now in patch api 95. Which is even
> ready to install :) You need to either revert your
> grouper.base.properties or in the interactive patch mode elect to
> "force it" since it will detect that file modified. If it doesn't
> work (which I hope I does), please send me a stack and let me know if
> you want to punt or go for it on 4th down (go eagles).

Unfortunately the decision was made to revert before I received your
last note.

We have now reverted back to the state the deployment was in on February
2 and we are going to try and just pick up patch 87 for the API, which
is really the one that we have been after. It fixes a specific issue
that is causing some pain for this particular deployment.

If that works, then the plan is to do the same on production. I can then
turn back to the dev environment and try all patches up to and including
95. I will let you know what I find.

Thanks,

Scott K



Archive powered by MHonArc 2.6.19.

Top of Page