Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Active PITMember with sourceId= not found

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Active PITMember with sourceId= not found


Chronological Thread 
  • From: Killian Stone <>
  • To: Shilen Patel <>, Scott Koranda <>
  • Cc: grouper-users <>
  • Subject: Re: [grouper-users] Active PITMember with sourceId= not found
  • Date: Tue, 7 Feb 2017 17:12:52 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:mbrZSBRCeJXOMgJQ4vHM7+yhf9psv+yvbD5Q0YIujvd0So/mwa6zYxyN2/xhgRfzUJnB7Loc0qyN4vymCTRLvsnJmUtBWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6OPn+FJLMgMSrzeCy/IDYbxlViDanb75/KBq7oR/Su8UKjodvKKQ8wQbVr3VVfOhb2XlmLk+JkRbm4cew8p9j8yBOtP8k6sVNT6b0cbkmQLJBFDgpPHw768PttRnYUAuA/WAcXXkMkhpJGAfK8hf3VYrsvyTgt+p93C6aPdDqTb0xRD+v4btnRAPuhSwaLDMy7n3ZhdJsg6JauBKhpgJww4jIYIGOKfFyerrRcc4GSWZdW8pcUTFKDIGhYIsVF+cPPfhWoZThp1UArhW+CwujBOLzxTBHnXL5x7E23/g7HA3awAAsAdQDu2nUotXvM6cSVPi4wqzJzTXHa/NW2C3y6I7VeR48vfGMWrRwftTMwkQoFAPFj1GQqYj+PzOJ0eQAqGub7/F9Ve61lWEothxxryGpy8wxhIfJgYcVxUrF9SV/2Is1Kse4SElmYd68DpRQrTqaN4toTcMmR2Fkojw6yqAAuZKjcygK0pMnxwPHa/OZaYiE+AjsVP6JITp+mXlre6q/ig6s/Ue61uHwS8y53EtXoiZYl9TMuH8A2wDP5sWCRPty4Eis1SqK2g3W6+xIPF04mbLFJ5Mh2LI8i5sevEvZEiPrhEn6lqCbe0M58eay8evneK/pppqEOo90lA7+NqMul9SnD+kkNQYCQ3WX9f2h2rP74EH1WbJKgeYonaXDt5DaONgbqbW+Aw9I1IYs9gyzDy+80NQfgXkIMk5KeA6Gj4juPVHCOvf4Deqjg1SolzdrwPPGMqf9DZXKK3jPiLbhfbBj5E5A0Ac/08pQ645JBrwEPf7/R1L9udnWDhI2LwC43+PqCNtj2Y4RRW6CB6qUPaLPvVOV/u4vJvODZI4RuDbzMfgl4PvugGc6mV8ceamp2YAXaGy/Hvl9IEWZemfsjs0fHmgXowoyVPbqh0GaUT5Pe3ayWLox5j4hCIKhEIfDXp6igKaY0CemBZ1ZeHpGCkuXHHfsdoWEQOsMaDmMLsN7kzwEU6ShRJE71RGoqgD616RrIvDK9SIFqJKwnORystbTlBU/83RMBtiQ1ynZVGF1mm4ObzMr3605rEBgnBPL6qN/n+AQNttJ7vVFW09uLp3b1eV8B9naVQfIf9PPQ1GjFIaIGzY0G/Ewx9sPakA1IMmliB2LiymrB7sOi7ujB4cptK/Qwi6idI5G13/a2fx53BEdScxVODjj3/Yn+g==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

I have seen a similar problem happen when sticky sessions on a webserver and additions to a group are being made. It seems to happen when a member is being added to groups on multiple nodes at the same time. One of the transactions gets rolled back when inserting into the PIT table. At least, that is one of the theories but I haven't had time to confirm it. Temporarily using only one node confirmed the problem is at least similar to the theory.


Since this is a dev instance it is likely that syncing the PIT table once will fix the problem. If it happens again it may be something else. 

--
Killian Stone
Application Developer
Office of Mediated Education
Kansas State University
785-532-4353

From: <> on behalf of Shilen Patel <>
Sent: Tuesday, February 7, 2017 8:27:57 AM
To: Scott Koranda
Cc: grouper-users
Subject: Re: [grouper-users] Active PITMember with sourceId= not found
 
This would happen if previously the grouper_pit_members table got out of sync.  Maybe the temp change log was truncated at some point?

In any case, to fix this via gsh:

gsh 0% new edu.internet2.middleware.grouper.misc.SyncPITTables().processMissingActivePITMembers()


Thanks!

- Shilen

On 2/7/17, 7:05 AM, "Scott Koranda" <> wrote:

Hello,

In a Grouper 2.3 dev instance that is fully patched as of this
morning, the CHANGE_LOG_changeLogTempToChangeLog job is
causing this to be thrown:

2017-02-07 07:00:57,876: [main] ERROR GrouperLoaderJob.runJob(438) -  - Error on
job: CHANGE_LOG_changeLogTempToChangeLog
java.lang.RuntimeException: Active PITMember with sourceId=a0790a8de6264eb796995
a86024bc0fa not found,
Problem in HibernateSession: HibernateSession (6e44a05e): new, notReadonly, READ
_WRITE_NEW, notActiveTransaction, session (75e17490)
        at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3PITMemberDAO.f
indBySourceIdActive(Hib3PITMemberDAO.java:78)
        at edu.internet2.middleware.grouper.changeLog.ChangeLogTempToEntity.proc
essMembershipAdd(ChangeLogTempToEntity.java:836)
        at edu.internet2.middleware.grouper.changeLog.ChangeLogTempToEntity.acce
ss$1700(ChangeLogTempToEntity.java:63)
        at edu.internet2.middleware.grouper.changeLog.ChangeLogTempToEntity$1.ca
llback(ChangeLogTempToEntity.java:144)
at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackH
ibernateSession(HibernateSession.java:700)
        at edu.internet2.middleware.grouper.changeLog.ChangeLogTempToEntity.convertRecords(ChangeLogTempToEntity.java:100)
        at edu.internet2.middleware.grouper.app.loader.GrouperLoaderType$4.runJob(GrouperLoaderType.java:613)
        at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob(GrouperLoaderJob.java:418)
        at edu.internet2.middleware.grouper.app.loader.GrouperLoader.runOnceByJobName(GrouperLoader.java:1573)
        at edu.internet2.middleware.grouper.app.gsh.loaderRunOneJob.invoke(loaderRunOneJob.java:79)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at bsh.Reflect.invokeMethod(Unknown Source)
at bsh.Reflect.invokeStaticMethod(Unknown Source)
        at bsh.Reflect.invokeCompiledCommand(Unknown Source)
        at bsh.Name.invokeLocalMethod(Unknown Source)
        at bsh.Name.invokeMethod(Unknown Source)
        at bsh.BSHMethodInvocation.eval(Unknown Source)
        at bsh.BSHPrimaryExpression.eval(Unknown Source)
        at bsh.BSHPrimaryExpression.eval(Unknown Source)
        at bsh.Interpreter.eval(Unknown Source)
        at bsh.Interpreter.eval(Unknown Source)
        at bsh.Interpreter.eval(Unknown Source)
        at edu.internet2.middleware.grouper.app.gsh.ShellHelper.eval(ShellHelper.java:63)
        at edu.internet2.middleware.grouper.app.gsh.GrouperShell.run(GrouperShell.java:440)
        at edu.internet2.middleware.grouper.app.gsh.GrouperShell.grouperShellHelper(GrouperShell.java:232)
        at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:162)
        at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(Gro
at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)

Thoughts?

Thanks,

Scott K




Archive powered by MHonArc 2.6.19.

Top of Page