grouper-dev - Re: [grouper-dev] Missing QuotedDnResultHandler
Subject: Grouper Developers Forum
List archive
- From: Tom Zeller <>
- To: Gagné Sébastien <>
- Cc:
- Subject: Re: [grouper-dev] Missing QuotedDnResultHandler
- Date: Wed, 22 Feb 2012 17:24:48 -0600
- Authentication-results: mr.google.com; spf=pass (google.com: domain of designates 10.180.81.66 as permitted sender) ; dkim=pass
Actually, this is my responsibility.
The psp-example-grouper-to-* configuration examples supply
ldap.properties with a custom search result handler supporting the
provisioning of quoted DNs :
# The QuotedDnResultHandler removes quotes from DNs of the form
"CN=quoted/name",DC=edu.
# The FqdnSearchResultHandler makes sure that all ldap dns are fully
qualified.
edu.vt.middleware.ldap.searchResultHandlers=edu.internet2.middleware.psp.ldap.QuotedDnResultHandler,edu.vt.middleware.ldap.handler.FqdnSearchResultHandler
The search result handler class
edu.internet2.middleware.psp.ldap.QuotedDnResultHandler
exists in the psp-ldap-target project and jar.
This search result handler may not be necessary in your environment,
so you may simply comment in out, which is my recommendation (on the
real-time provisioning wiki page) when using the example
ldap.properties in the grouper UI.
Otherwise, just make sure psp-ldap-target-<version>.jar is in your
classpath, probably grouper/lib/custom. This jar is available from the
grouper.psp-<version> distribution from the release URL, and is
installed by default by the grouper installer.
I don't know, maybe I should comment out the QuotedDnResultHandler by
default, I am not sure.
TomZ
2012/2/21 Gagné Sébastien
<>:
> Hi,
>
> I installed the Grouper 2.1 from this location
> http://www.internet2.edu/grouper/release/2.1.0/ (downloaded today, feb
> 21st), but I’m getting an exception when starting the API.
>
>
>
> $ bin/gsh.sh
>
>
>
> Using GROUPER_HOME: /app/grouper/api
>
> Using GROUPER_CONF: /app/grouper/api/conf
>
> Using JAVA: /app/java/jdk1.6/bin/java
>
> using MEMORY: 64m-750m
>
> Couldnt startup grouper: Error initializing SourceManager
>
> java.lang.RuntimeException: Error initializing SourceManager
>
> at
> edu.internet2.middleware.subject.provider.SourceManager.init(SourceManager.java:150)
>
> at
> edu.internet2.middleware.subject.provider.SourceManager.<init>(SourceManager.java:91)
>
> at
> edu.internet2.middleware.subject.provider.SourceManager.getInstance(SourceManager.java:101)
>
> at
> edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:86)
>
> at
> edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:136)
>
> at
> edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:16)
>
> Caused by: java.lang.IllegalArgumentException: Could not find class
> 'edu.internet2.middleware.psp.ldap.QuotedDnResultHandler'
>
> […]
>
> Caused by: java.lang.IllegalArgumentException: Could not find class
> 'edu.internet2.middleware.psp.ldap.QuotedDnResultHandler'
>
> […]
>
> Caused by: java.lang.ClassNotFoundException:
> edu.internet2.middleware.psp.ldap.QuotedDnResultHandler
>
> […]
>
> Exception in thread "main" java.lang.RuntimeException: Error initializing
> SourceManager
>
> […]
>
> Caused by: java.lang.IllegalArgumentException: Could not find class
> 'edu.internet2.middleware.psp.ldap.QuotedDnResultHandler'
>
> […]
>
> Caused by: java.lang.IllegalArgumentException: Could not find class
> 'edu.internet2.middleware.psp.ldap.QuotedDnResultHandler'
>
> […]
>
> Caused by: java.lang.ClassNotFoundException:
> edu.internet2.middleware.psp.ldap.QuotedDnResultHandler
>
> […]
>
>
>
> I checked in the source configuration and found the reference to the class
> in ldap.properties :
>
> edu.vt.middleware.ldap.searchResultHandlers=edu.internet2.middleware.psp.ldap.QuotedDnResultHandler,edu.vt.middleware.ldap.handler.FqdnSearchResultHandler
>
>
>
> If I remove “edu.internet2.middleware.psp.ldap.QuotedDnResultHandler” part
> the error disappears. I’m guessing the class wasn’t updated in the release.
>
>
>
> Thanks for you help
>
>
>
>
>
> Sébastien Gagné, | Analyste en informatique
>
> 514-343-6111 x33844 | Université de Montréal,
>
> | Pavillon Roger-Gaudry, local X-100-11
>
>
- [grouper-dev] Missing QuotedDnResultHandler, Gagné Sébastien, 02/21/2012
- Re: [grouper-dev] Missing QuotedDnResultHandler, Tom Zeller, 02/22/2012
- RE: [grouper-dev] Missing QuotedDnResultHandler, Gagné Sébastien, 02/23/2012
- Re: [grouper-dev] Missing QuotedDnResultHandler, Tom Zeller, 02/23/2012
- RE: [grouper-dev] Missing QuotedDnResultHandler, Gagné Sébastien, 02/23/2012
- Re: [grouper-dev] Missing QuotedDnResultHandler, Tom Zeller, 02/23/2012
- RE: [grouper-dev] Missing QuotedDnResultHandler, Gagné Sébastien, 02/23/2012
- Re: [grouper-dev] Missing QuotedDnResultHandler, Tom Zeller, 02/23/2012
- RE: [grouper-dev] Missing QuotedDnResultHandler, Gagné Sébastien, 02/23/2012
- Re: [grouper-dev] Missing QuotedDnResultHandler, Tom Zeller, 02/22/2012
Archive powered by MHonArc 2.6.16.