Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: ldap group not being loaded to grouper

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: ldap group not being loaded to grouper

Chronological Thread 
  • From: Niva Agmon <>
  • To: Chris Hyzer <>, "" <>
  • Subject: [grouper-users] RE: ldap group not being loaded to grouper
  • Date: Fri, 6 Feb 2015 22:28:24 +0000
  • Accept-language: en-US

Hi Chris,


Thanks a lot for your reply and for the pointers. I’ve changed the subject ID a few times but it still doesn’t work.

I’m running a gsh script based on the example at the Grouper ++Loader+Ldap site and the error is:


// Error: unable to evaluate command: Sourced file: inline evaluation of: ``loaderRunOneJob(group);'' : Error invoking compiled command: : Error in compiled command: java.lang.RuntimeException: java.lang.RuntimeException: Error substituting string: '${loaderLdapElUtils.convertDnToSpecificValueTest(subjectId)}'



This is from the log:

2015-02-06 17:15:30,910: [main] ERROR GrouperLoaderJob.runJobLdap(603) -  - Error on job: LDAP_SIMPLE__From_LDAP:LdapTestGroup__18ef31dc248e4ab9ba66530f79e3dd1a

java.lang.RuntimeException: Error substituting string: '${loaderLdapElUtils.convertDnToSpecificValueTest(subjectId)}'

        at edu.internet2.middleware.grouper.util.GrouperUtil.substituteExpressionLanguage(








        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(

        at java.lang.reflect.Method.invoke(

        at bsh.Reflect.invokeMethod(Unknown Source)

        at bsh.Reflect.invokeStaticMethod(Unknown Source)

        at bsh.Reflect.invokeCompiledCommand(Unknown Source)

        at bsh.Name.invokeLocalMethod(Unknown Source)

        at bsh.Name.invokeMethod(Unknown Source)

        at bsh.BSHMethodInvocation.eval(Unknown Source)

        at bsh.BSHPrimaryExpression.eval(Unknown Source)

        at bsh.BSHPrimaryExpression.eval(Unknown Source)

        at bsh.Interpreter.eval(Unknown Source)

        at bsh.Interpreter.eval(Unknown Source)

        at bsh.Interpreter.eval(Unknown Source)






Caused by: org.apache.commons.jexl2.JexlException: edu.internet2.middleware.grouper.util.GrouperUtil.substituteExpressionLanguage@9118![18,57]: 'loaderLdapElUtils.convertDnToSpecificValueTest(subjectId);' unknown or ambiguous method


From: Chris Hyzer [mailto:]
Sent: Friday, February 06, 2015 12:07 AM
To: Niva Agmon;
Subject: RE: ldap group not being loaded to grouper


I think you need to get it so that the subject id is just the for xxxx part, and not with an "ou" right?


I think you need to set the attribute: grouperLoaderLdapSubjectExpression


to the value: ${loaderLdapElUtils.convertDnToSpecificValue(subjectId)}


Its mentioned here:





From: [] On Behalf Of Niva Agmon
Sent: Thursday, February 05, 2015 10:44 PM
Subject: [grouper-users] ldap group not being loaded to grouper


I am trying to load a test group from Ldap to grouper using the ldap loader for our proof of technology demo, but nothing is being imported:


gsh 23% loaderRunOneJob(group);

loader ran successfully, inserted 0 memberships, deleted 0 memberships, total membership count: 1


The log indicates that there is a problem with SubjectID, but the values that are returned are the correct ones, so I’m not sure what the subjectId should be or what else am I doing wrong:


2015-02-05 21:32:09,072: [main] ERROR GrouperLoaderResultset$Row.getSubject(1399) -  - Problem with subjectId: xxxx,ou=xxxxxxxx..., subjectSourceId: Temple, in jobName: From_LDAP:LdapTestGroup

edu.internet2.middleware.subject.SubjectNotFoundException: No results: searchSubject filter:(& (xxxid=%TERM%) (objectclass=EduPerson)) searchValue:xxxx,ou=xxxxxxxx...,

        at edu.internet2.middleware.subject.provider.LdapSourceAdapter.getLdapUnique(

        at edu.internet2.middleware.subject.provider.LdapSourceAdapter.getSubject(




Niva Agmon

Temple University


Archive powered by MHonArc 2.6.16.

Top of Page