grouper-users - Re: [grouper-users] Getting ClassNotFoundException for PSPNG
Subject: Grouper Users - Open Discussion List
List archive
- From: Jeffrey Crawford <>
- To: "Bee-Lindgren, Bert A" <>
- Cc: "Hyzer, Chris" <>, Jared Hoffman <>, Yoann Delattre <>, "" <>, "" <>
- Subject: Re: [grouper-users] Getting ClassNotFoundException for PSPNG
- Date: Thu, 26 May 2016 10:09:27 -0700
------------------------------------------------------------------------------
2016-05-26 09:43:00,478: [DefaultQuartzScheduler_Worker-10] WARN GrouperUtil.substituteExpressionLanguage(9287) - - _expression_ ret
urned null: groupAttributes['name'], in pattern: '(&(objectclass=groupOfNames)(cn=${groupAttributes['name']}))', available variables
are: KeySet size: 12: [0]: isActiveDirectory
[1]: idIndex
[2]: userSearchBaseDn
[3]: groupAttributes
[4]: groupCreationBaseDn
[5]: stemAttributes
[6]: utils
[7]: groupSearchBaseDn
[8]: name
[9]: provisionerName
[10]: group
[11]: provisionerType
It looks like I failed to document the correct ldap properties that our upgrade to ldaptive has changed. This should work:
ldap.groupOfNames.useStartTLS = false #probably not necessary
ldap.groupOfNames.bindDn = cn=serviceacct,ou=apps,dc=ucsc,dc=edu
ldap.groupOfNames.bindCredential = xxxxxxxxxxxxxxxxxxxxx
When going beyond ldaptive's short property-configuration tutorial <1>, I found ldaptive's property-reading classes <2> abstract and opaque. In developing pspng's configuration, I had to decide whether to slog through the properties ldaptive implements or just read our own (or vtldap's) properties and initialize the connections appropriately. I was very tempted, but I knew some folks want lots of configuration knobs (eg, pooling or sasl) that we probably can't keep up with or test sufficiently.
So, all that said, we certainly need documentation and, perhaps, some vtldap-property aliases (eg, url copied into ldapUrl). I hope you can try the above properties and let us know if it helps. I've updated the wiki page <3> as well as created a jira <4> about vtldap-compatible properties.
<3> https://spaces.internet2.edu/display/Grouper/Grouper+Provisioning%3A+PSPNG
From: Jeffrey Crawford <>
Sent: Friday, May 20, 2016 3:32 PM
To: Hyzer, Chris
Cc: Jared Hoffman; Bee-Lindgren, Bert A; Yoann Delattre; ;
Subject: Re: [grouper-users] Getting ClassNotFoundException for PSPNGIt looks like it's at least loading, however when trying to use the provisioner I'm gettin "LDAP URL cannot be null". Am I understaing the relationship between the ldap.groupOfNames.xxx and ldapPoolNames correctly?
but I have something like the following:
ldap.groupOfNames.url = "ldaps://ldaphost.ucsc.edu/dc=ucsc,dc=edu
ldap.groupOfNames.tls = false
ldap.groupOfNames.user = cn=serviceacct,ou=apps,dc=ucsc,dc=edu
ldap.groupOfNames.pass = xxxxxxxxxxxxxxxxxxxxx
changeLog.consumer.pspng_groupOfUniqueNames.class = edu.internet2.middleware.grouper.pspng.PspChangelogConsumerShim
changeLog.consumer.pspng_groupOfUniqueNames.type = edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner
changeLog.consumer.pspng_groupOfUniqueNames.quartzCron = 0 * * * * ?
changeLog.consumer.pspng_groupOfUniqueNames.ldapPoolName = groupOfNames
changeLog.consumer.pspng_groupOfUniqueNames.memberAttributeName = member
changeLog.consumer.pspng_groupOfUniqueNames.memberAttributeValueFormat = ${ldapUser.getDn()}
changeLog.consumer.pspng_groupOfUniqueNames.groupSearchBaseDn = ou=groups,dc=example,dc=edu
changeLog.consumer.pspng_groupOfUniqueNames.allGroupsSearchFilter = objectclass=groupOfNames
changeLog.consumer.pspng_groupOfUniqueNames.singleGroupSearchFilter = (&(objectclass=groupOfNames)(cn=${group.name}))
changeLog.consumer.pspng_groupOfUniqueNames.groupCreationLdifTemplate = dn: utils.bushyDn(group.name, "cn", "ou") cn=${group.name}||objectclass: groupOfNames
changeLog.consumer.pspng_groupOfUniqueNames.userSearchBaseDn = ou=people,dc=example,dc=edu
changeLog.consumer.pspng_groupOfUniqueNames.userSearchFilter = ucscID=${subject.id}
Jeffrey E. Crawford
ITS Application Administrator (IdM)
831-459-4365
Both pilots and IT professionals require training and currency before charging into clouds!
---------------------------------------
On Fri, May 20, 2016 at 6:09 AM, Hyzer, Chris <> wrote:
Not sure if this is the right response, but I will say that Bert created script that generates a pspng tarball. You can copy the dist pspng jar and dependent jars to the loader lib/custom and see if it helps? J
http://software.internet2.edu/grouper/release/2.3.0/grouper.pspng-2.3.0.tar.gz
thanks,
Chris
From: [mailto:] On Behalf Of Jeffrey Crawford
Sent: Thursday, May 19, 2016 1:05 PM
To: Jared Hoffman <>
Cc: Bee-Lindgren, Bert A <>; Yoann Delattre <>; ;
Subject: Re: [grouper-users] Getting ClassNotFoundException for PSPNG
running into this one too, any way to just stick a jar file in the email thread so we can at least get our configurations squared away?
Jeffrey
Both pilots and IT professionals require training and currency before charging into clouds!
---------------------------------------
On Tue, May 17, 2016 at 1:25 PM, Jared Hoffman <> wrote:
Is there an update for this problem? We are having it, too, while trying to set up 2.3.
Thanks.
Jared
On Wed, May 4, 2016 at 6:44 AM, Bee-Lindgren, Bert A <> wrote:
Good morning,
This is a quick email to let you know that we've also duplicated the problem and will reply with a fix asap.
Sincerely,
Bert
From: <> on behalf of Yoann Delattre <>
Sent: Wednesday, May 4, 2016 3:25 AM
To:
Subject: Re: [grouper-users] Getting ClassNotFoundException for PSPNG
Hello,
same problem here :
2016-05-03 10:57:24,161: [main] ERROR GrouperCheckConfig.checkGrouperLoaderConsumers(1041) - - problem finding class: changeLog.consumer.pspng_groupOfUniqueNames.class from grouper-loader.properties: edu.internet2.middleware.grouper.pspng.PspChangelogConsumerShim, java.lang.RuntimeException: Problem loading class: edu.internet2.middleware.grouper.pspng.PspChangelogConsumerShim
at edu.internet2.middleware.grouper.util.GrouperUtil.forName(GrouperUtil.java:1783)
at edu.internet2.middleware.grouper.misc.GrouperCheckConfig.checkGrouperLoaderConsumers(GrouperCheckConfig.java:1029)
at edu.internet2.middleware.grouper.app.loader.GrouperLoader.main(GrouperLoader.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:204)
at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:144)
at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
Caused by: java.lang.ClassNotFoundException: edu.internet2.middleware.grouper.pspng.PspChangelogConsumerShim
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at edu.internet2.middleware.grouper.util.GrouperUtil.forName(GrouperUtil.java:1781)
... 9 more
Where can we find the missing jar ?
Thanks,
YoannLe 02/05/2016 à 19:34, Kumi Hagimoto a écrit :
Hello,
I just did a fresh install of grouper 2.3 and am trying to configure PSPNG.
(https://spaces.internet2.edu/display/Grouper/Grouper+Provisioning%3A+PSPNG)
I'm getting the following in grouper_error.log (see below), so I'm obviously
missing a jar somewhere. Could someone please point me in the right
direction?
Thanks,
Kumi
-- grouper_error.log ---
2016-05-02 10:19:54,928: [DefaultQuartzScheduler_Worker-1] ERROR
GrouperLoaderJob.runJob(436) - - Error on job: PSP_FULL_SYNC.runAtStartup
java.lang.RuntimeException: Problem loading class:
edu.internet2.middleware.grouper.pspng.FullSyncStarter
at
edu.internet2.middleware.grouper.util.GrouperUtil.forName(GrouperUtil.java:178
3)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderType$10.runJob(Groupe
rLoaderType.java:1174)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob(GrouperLoa
derJob.java:416)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.execute(GrouperLo
aderJob.java:318)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: java.lang.ClassNotFoundException:
edu.internet2.middleware.grouper.pspng.FullSyncStarter
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at
edu.internet2.middleware.grouper.util.GrouperUtil.forName(GrouperUtil.java:178
1)
... 5 more
2016-05-02 10:19:54,958: [DefaultQuartzScheduler_Worker-1] ERROR
GrouperLoaderJob.execute(321) - - Error running up job
java.lang.RuntimeException: Problem loading class:
edu.internet2.middleware.grouper.pspng.FullSyncStarter
at
edu.internet2.middleware.grouper.util.GrouperUtil.forName(GrouperUtil.java:178
3)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderType$10.runJob(Groupe
rLoaderType.java:1174)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob(GrouperLoa
derJob.java:416)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.execute(GrouperLo
aderJob.java:318)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: java.lang.ClassNotFoundException:
edu.internet2.middleware.grouper.pspng.FullSyncStarter
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at
edu.internet2.middleware.grouper.util.GrouperUtil.forName(GrouperUtil.java:178
1)
... 5 more
--
Jared Hoffman • Associate Director for Enterprise Infrastructure
Kenyon College LBIS • • 740.427.5948
- Re: [grouper-users] Getting ClassNotFoundException for PSPNG, (continued)
- Re: [grouper-users] Getting ClassNotFoundException for PSPNG, Yoann Delattre, 05/04/2016
- Re: [grouper-users] Getting ClassNotFoundException for PSPNG, Bee-Lindgren, Bert A, 05/04/2016
- Re: [grouper-users] Getting ClassNotFoundException for PSPNG, Jared Hoffman, 05/17/2016
- Re: [grouper-users] Getting ClassNotFoundException for PSPNG, Jeffrey Crawford, 05/19/2016
- RE: [grouper-users] Getting ClassNotFoundException for PSPNG, Hyzer, Chris, 05/20/2016
- Re: [grouper-users] Getting ClassNotFoundException for PSPNG, Jeffrey Crawford, 05/20/2016
- Re: [grouper-users] Getting ClassNotFoundException for PSPNG, Jeffrey Crawford, 05/23/2016
- RE: [grouper-users] Getting ClassNotFoundException for PSPNG, Hyzer, Chris, 05/23/2016
- Re: [grouper-users] Getting ClassNotFoundException for PSPNG, Jeffrey Crawford, 05/24/2016
- Re: [grouper-users] Getting ClassNotFoundException for PSPNG, Jeffrey Crawford, 05/20/2016
- Re: [grouper-users] Getting ClassNotFoundException for PSPNG, Bee-Lindgren, Bert A, 05/26/2016
- Re: [grouper-users] Getting ClassNotFoundException for PSPNG, Jeffrey Crawford, 05/26/2016
- RE: [grouper-users] Getting ClassNotFoundException for PSPNG, Hyzer, Chris, 05/26/2016
- Re: [grouper-users] Getting ClassNotFoundException for PSPNG, Jeffrey Crawford, 05/26/2016
- RE: [grouper-users] Getting ClassNotFoundException for PSPNG, Hyzer, Chris, 05/26/2016
- Re: [grouper-users] Getting ClassNotFoundException for PSPNG, Jeffrey Crawford, 05/26/2016
- Re: [grouper-users] Getting ClassNotFoundException for PSPNG, Jeffrey Crawford, 05/26/2016
- RE: [grouper-users] Getting ClassNotFoundException for PSPNG, Hyzer, Chris, 05/20/2016
- Re: [grouper-users] Getting ClassNotFoundException for PSPNG, Jeffrey Crawford, 05/19/2016
- Re: [grouper-users] Getting ClassNotFoundException for PSPNG, Jared Hoffman, 05/17/2016
- Re: [grouper-users] Getting ClassNotFoundException for PSPNG, Bee-Lindgren, Bert A, 05/04/2016
- Re: [grouper-users] Getting ClassNotFoundException for PSPNG, Yoann Delattre, 05/04/2016
Archive powered by MHonArc 2.6.16.