Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] gsh error

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] gsh error


Chronological Thread 
  • From: Andre Daniels <>
  • To:
  • Cc: Andre Daniels <>,
  • Subject: Re: [grouper-users] gsh error
  • Date: Mon, 8 Oct 2018 14:48:47 -0700
  • Ironport-phdr: 9a23:xbr9AhbzsG+x21Jm0Cm2aTH/LSx+4OfEezUN459isYplN5qZr8y+bnLW6fgltlLVR4KTs6sC17KJ9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCa/bL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjmk8qxlSgLniD0fOjE2/mHYiNZwgqJVrhyiuhJx3ZLbbZqPO/ZiZK7QZ88WSXZDU8tXSidPApm8b4wKD+cZIetYqZTyp0EQohCjCwejHuXvyj5WiX/yxq0xzuMsHhvA3AM9BdIBrnbZodf3OaoJTOC60LLIwinZY/xIxDj99ZHFfxY8qv+CWrJwdNDeyUgpFw7dgVWQs4vlPy6N1usTqWiX9fBvVfq3i2Mhtgp/oSCvy98yhoTImo4YyFXJ9St6zYkuOdG1TUF2bN2lHZZfsiyWKZd6T8YnTm52tis3y7sLsoOhcicQ0pQo3RvfZuSHc4eW5hLjU/6cITJii3JkfLKzngiy8VO9xuHlWci7zlhHoytfntnDsXAN0BPT6syZRfdn4kih3jOP2xjS6uFCP080ibLWJ4Agz7IslJcetErDEyztl0nqiaKbeUYp9+mn5unifLnqupqROopqhQzwM6kigsm/Dv45MggKUWib4+O81Lj78ELjRrVFk+c2nbfbvZ3YJ8kWvbO5DBNO0ok/8RqwESqp0MkAkXkdMF1FYA6Hj5TuO1zWL/D4F/C/g0m0kDh13fDKJ6DhAo7TIXjZi7fsZrJ9609HyAov1tBT+YhYCrAHIPLvREDxrtrYAQElMwCq2eroFshy1p5NEV6IV7SZMafft3eE++EiZeSAedwvtS75OsQisvfogWU0sUIWZqLv0JcKO16iGfEzCkOVe3ekrt4HEGoOpUJqRermklDdDmF7en2pVOQx6ixtW9HuNpvKWo342O/J5yy8BJADPm0=

That works. Thanks Shilen!

On Mon, Oct 8, 2018 at 6:45 AM Shilen Patel <> wrote:

It looks like there may be an issue where that method doesn’t work for ldap jobs if you pass the job name.  Instead, if you pass a group object, it should work.  E.g.

 

groovy:000> group = GroupFinder.findByName(GrouperSession.staticGrouperSession(), "someStem:myLdapGroup", true);

===> Group[name=someStem:myLdapGroup,uuid=e4abb6f168014b49a4c732d752171bf6]

groovy:000> loaderRunOneJob(group);

===> loader ran successfully, inserted 1 memberships, deleted 0 memberships, total membership count: 2, unresolvable subjects: 0

 

 

Thanks!

 

- Shilen

 

From: <> on behalf of Andre Daniels <>
Reply-To: "" <>
Date: Monday, October 8, 2018 at 3:36 AM
To: "" <>
Subject: [grouper-users] gsh error

 


Hello,

 

I am not sure how to diagnose this particular error. I do have a loader definition that I can successfully test in the ui but I cannot run this from gsh. Am I missing something in the configuration? 



groovy:000> loaderRunOneJob("LDAP_SIMPLE__etc:idm:loader:sundry-temporary__1a71ef9cf7d54b4e95d59e765fc34eb0");

ERROR java.lang.RuntimeException:

java.lang.RuntimeException: Cant find the ldap connection named: 'null' in the grouper-loader.properties.  Should have entry: ldap.null.url or ldap.null.configFileFromClasspath,

Problem with ldap conection: null,

Error querying ldap server id: null, searchDn: null, filter: 'null', returning attribute: null

        at edu.internet2.middleware.grouper.app.loader.GrouperLoader.runOnceByJobName (GrouperLoader.java:1618)

        at edu.internet2.middleware.grouper.app.gsh.loaderRunOneJob.invoke (loaderRunOneJob.java:95)

        at edu.internet2.middleware.grouper.app.gsh.loaderRunOneJob$invoke.call (Unknown Source)

        at groovysh_evaluate.loaderRunOneJob (groovysh_evaluate:4)

 

Thanks,

Andre

 

 

 

--

Andre Daniels 

Sr. Developer/Security Analyst

University of California Santa Cruz

(831) 459-1980



--
Andre Daniels 
Sr. Developer/Security Analyst
University of California Santa Cruz
(831) 459-1980



Archive powered by MHonArc 2.6.19.

Top of Page