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: Shilen Patel <>
  • To: "" <>
  • Cc: "" <>
  • Subject: Re: [grouper-users] gsh error
  • Date: Mon, 8 Oct 2018 13:45:28 +0000
  • Accept-language: en-US
  • Authentication-results: mail-gw.oit.duke.edu; spf=none ; dmarc=none
  • Ironport-phdr: 9a23:msZ4Bhy6jBQGJMPXCy+O+j09IxM/srCxBDY+r6Qd2+gQIJqq85mqBkHD//Il1AaPAd2Eraocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze+/94HRbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDwULs6Wymt771zRRHolikJKiI5/m/UhMx+jq1UrhOhqABwzIPPeo6ZKP9+c7nBcd4AR2dMWNtaWSxbAoO7aosCF/cPPeZZr4n5uVQOqwa1CxO2C+Pz1DBIgmL90Koh0+QhEAHG2BIvH9QVvXvJsdX1N7kdXfqrw6bV0DXOdvVb0irz5ojPdxAuu/CMXbRofMre00kvEB7Fjk2Opoz/JT+azPwNs3Cd4uF9Vuyvk3YqpxxxrzSx3MshhJPFip8Wx13A7yl13ok4KcGgREJmYdOoDoFcui+AO4Z4Tc4uWW9ltD40yrIYupO3YC0HxZE8yBHCZfGIaY2F7xP/W+qNLzp1gW5qd6m9ihmp9EWtzvfzWteq31tMsyFLiMPDtmoX2BzW8sWHSuVy/kOm2TuX0gDc8OBEIUQtmarUJZ8t26M8m5UJvUTEHy/2hF/6g7KLdkUn5Oek8frobaj7ppOENo90jB/xMrg2l8CiAek0LBICUmaB9eih17Du+Vf1TKtFg/EqiqXZtYrVJcUfpq63GQ9V1YMj5g6kDzem0dQYmWcILFRedR2akojpOE/BLOrmAviinlSgiC1ryOzePr39HpXNKWDOkLj7fbZ69k5c0BQ8zcpG65JJEbEOPujzWlTqudzcDx85KBC0w/35BNln14MeX36PDbGDMKPUr1CI+vwjL/OSa4AIpTauY8QisrTni3MjlHcAdrKim5YbdTrwSv1gL1+USWfnmdxHHGsX6FkQVuvv3WaCUDpeYT6KVr4x4nlvE4KnCYrFboywg7HH0SumSM4FLltaA0yBRC+7P76PXO0BPXrIeJ1ojyAEWL69SoQoyRCpskrgxqF6KvbPpXNKsJvi0J16+KvUlA10+SF3AoKQ33zeKgMVhXsGEjkx2q03uklh0hGG2Kl8jeZfEIlI5/JNXwESOYPfwqp3B82hP2CgctKAUl3zRNKgDDw=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

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




Archive powered by MHonArc 2.6.19.

Top of Page