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: Scott Koranda <>
  • To: "Hyzer, Chris" <>
  • Cc: grouper-users <>
  • Subject: Re: [grouper-users] understanding diagnostic servlet output for loader jobs
  • Date: Mon, 7 Nov 2016 08:25:10 -0600
  • Ironport-phdr: 9a23:i3UUaxBqdxW2NOsn2WipUyQJP3N1i/DPJgcQr6AfoPdwSP7+p8bcNUDSrc9gkEXOFd2CrakV0ayH7+u7AyQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6kO74TNaIBjjLw09fr2zQd+IyZXrnLvos7ToICxwzAKnZr1zKBjk5S7wjeIxxbVYF6Aq1xHSqWFJcekFjUlhJFaUggqurpzopM0roGxsvKdr199SXL++N484V71DRnxyNms19d/mrzHCVgDJ+2MRVGNQnxZVVVvr9hb/C6z6tTfm/sl6wiCcMcS+Gas3Xi6r6atiYBDtgSYDcTU+9TeE2YRLkKtHrUf59FREyInObdTNOQ==

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