Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] understanding diagnostic servlet output for loader jobs

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] understanding diagnostic servlet output for loader jobs


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: Scott Koranda <>, grouper-users <>
  • Subject: RE: [grouper-users] understanding diagnostic servlet output for loader jobs
  • Date: Sat, 5 Nov 2016 16:39:50 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:j6IWWBFmoiryB+L7Vk5eXp1GYnF86YWxBRYc798ds5kLTJ74psuwAkXT6L1XgUPTWs2DsrQf2rCQ4vmrCT1IyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TWM5DIfUi/yKRBybrysXNWD1YLmjqviqtX6WEZhvHKFe7R8LRG7/036l/I9ps9cEJs30QbDuXBSeu5blitCLFOXmAvgtI/rpMYwuwwZgf8q9tZBXKPmZOx4COUAVHV1e1wysfbgsgXfBSiI/HIaXmxexgFLBBLM6h3zdpj0uyr+8OF63X/edcLsSq0sVC7n8rxmUgSg3CgdMCMh/XuSl9d9lrlzoRS9qgZ5zpKOJoyZKawtULnaeIZQZXtTU9wVHwdBGIKnJcNbCuEBLPRVtaH8vFBIsAOzAw/qCe/ynGwbzkTq1LE3hrxyWTrN2xYtSpdX6CzZ
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Give me a full screen copy of the status servlet, and look in logs and get
full error message there. Sometimes it fails on a job but its really another
job (but threaded so it say both, if you know what I mean). IF that doesn't
help find the problem job...

Maybe run this in the database: (is it oracle? If not you need to change
the SYSDATEs to whatever else for your DB...

SELECT DISTINCT 'loaderRunOneJob("' || job_name || '");' AS script
FROM grouper_loader_log gll
WHERE started_time > SYSDATE - 1
AND status != 'SUCCESS'
AND gll.job_name NOT LIKE 'subjobFor%'
AND NOT EXISTS
(SELECT 1
FROM grouper_loader_log gll2
WHERE gll2.started_time > SYSDATE - 1
AND gll2.status = 'SUCCESS'
AND gll2.job_name = gll.job_name);

-----Original Message-----
From:


[mailto:]
On Behalf Of Scott Koranda
Sent: Saturday, November 05, 2016 12:33 PM
To: grouper-users
<>
Subject: [grouper-users] understanding diagnostic servlet output for loader
jobs

Hi,

I am using Grouper 2.3 with all the latest patches as of 11/5/2016.

The diagnostic servlet with diagnosticType=all was reporting

Grouper status error!

There was an error in the diagnostic task
DiagnosticLoaderJobTest, Loader job
LDAP_SIMPLE__community:facstaffother:members_systemOfRecord__381b6af6779f4f03a866669339ad5afa

So I then used GSH to run the loader job "by hand":

gsh 0% grouperSession = GrouperSession.startRootSession();
edu.internet2.middleware.grouper.GrouperSession:
b0928e7b3e7d4e498db56d7fb9713e56,'GrouperSystem','application'
gsh 1% group = GroupFinder.findByName(grouperSession,
"community:facstaffother:members_systemOfRecord")
group: name='community:facstaffother:members_systemOfRecord'
displayName='community:facstaffother:members_systemOfRecord'
uuid='381b6af6779f4f03a866669339ad5afa'
gsh 2% loaderRunOneJob(group)
loader ran successfully, inserted 0 memberships, deleted 0 memberships, total
membership count: 7066, unresolvable subjects: 0
gsh 3% quit

I then restarted Tomcat to make sure that the diagnostic servlet cleared
its state.

When I again query the diagnostic servlet (after Tomcat restart) I see (still)

Grouper status error!

There was an error in the diagnostic task DiagnosticLoaderJobTest, Loader job
LDAP_SIMPLE__community:facstaffother:members_systemOfRecord__381b6af6779f4f03a866669339ad5afa

Why do I still see that error even though the loader job ran successfully?

Thanks,

Scott K




Archive powered by MHonArc 2.6.19.

Top of Page