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 <>
  • Cc: grouper-users <>
  • Subject: RE: [grouper-users] understanding diagnostic servlet output for loader jobs
  • Date: Mon, 7 Nov 2016 15:29:17 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:RSoGfBJilBQTcMKxiNmcpTZWNBhigK39O0sv0rFitYgULf7xwZ3uMQTl6Ol3ixeRBMOAuqgC2rad6PqocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXsq3G/pQQfBg/4fVIsYL+kQMiD04/sjaibwN76W01wnj2zYLd/fl2djD76kY0ou7ZkMbs70RDTo3FFKKx8zGJsIk+PzV6nvp/jtLYqySlbuuog+shcSu26Ov1gFf0LRAghZls+49H3/TrEVwKJ6nJUBn4VlQBBBQTMxB7/V5b19CD9s7wu9jOdOJi8baEmVC7mp4xrUh7zwm9TMjU54XPakORxl6kdvQqsoRo5zoLJNtLGfMFid7/QKItJDVFKWdxcAmkYWtux
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Jira it up J

 

From: Scott Koranda [mailto:]
Sent: Monday, November 07, 2016 9:25 AM
To: Hyzer, Chris <>
Cc: grouper-users <>
Subject: Re: [grouper-users] understanding diagnostic servlet output for loader jobs

 

Hi,

 

Should I file an RFE to enhance the diagnostic servlet output to make that more clear? Or is the output ambiguous enough that you cannot easily determine the situation?

 

Thanks,

 

Scott K

 

 

 

On Mon, Nov 7, 2016 at 8:20 AM, Hyzer, Chris <> wrote:

Also, when the error looks like this:

 

There was an error in the diagnostic task DiagnosticLoaderJobTest, Loader job LDAP_SIMPLE__inst:community:someGroup_systemOfRecord__381b6af6779f4f03a866669339ad5afa

:Cant find a success in job CHANGE_LOG_consumer_someConsumer, expecting one in the last 30 minutes,

 

That is the threading thing I was talking about where it has trouble knowing which job is an issue.  The error is not with the first job listed, but instead it is with the second job listed.

 

Thanks

Chris

 

-----Original Message-----
From: Scott Koranda [mailto:]
Sent: Monday, November 07, 2016 9:07 AM
To: Hyzer, Chris <>
Cc: grouper-users <>
Subject: Re: [grouper-users] understanding diagnostic servlet output for loader jobs

 

> 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);

 

For the archives:

 

The issue was that the copy of grouper-loader.properties in

the WS and UI deployment directories was out of sync with the

one in the "API" deployment directory (the one from which the

loader process actually runs).

 

So although there was no issue with the loader, the diagnostic servlet

was not working from a "proper" configuration.

 

After synchronizing that file across the API, UI, and WS and

restarting Tomcat the diagnostic servlet is reporting 200 OK,

the expected value based on the state of the loader jobs.

 

Thanks,

 

Scott K

 




Archive powered by MHonArc 2.6.19.

Top of Page