Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Ldap Exception: Missing property subjectApi.source.ldap-servicedn.param.ldapServerId.value in subject.properties

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Ldap Exception: Missing property subjectApi.source.ldap-servicedn.param.ldapServerId.value in subject.properties


Chronological Thread 
  • From: Siju Jacob <>
  • To: Adam Chi-Lun Chang <>, " Mailing List" <>
  • Subject: RE: [grouper-users] Ldap Exception: Missing property subjectApi.source.ldap-servicedn.param.ldapServerId.value in subject.properties
  • Date: Mon, 22 Jul 2019 22:02:37 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=oit.rutgers.edu;dmarc=pass action=none header.from=oit.rutgers.edu;dkim=pass header.d=oit.rutgers.edu;arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8ZxTFNsuQBvt8HV4KGNV7JvjRVJ3BJ8fLCXWUZJVlrg=; b=dbmcFaAW1QhlVa1qlIIE0XJM8Rn1zFDAcb8LD5suXgeHjniAEgrAGfkbbhjhE9hYy3M1oO+ED0mvhuBeXwierz037dyvRzVAIjHV/LLmlcZZWAvVSiCOPQ0umb5o3UBri2Z2Jwh+Mtz3JBUv/R1ZZX8ewDNMhq3GP1gZNYJF9BaeRdfcfRJ9qaNaNozWUKtQtXCvnsH1jGmQHNr/Xqxl/0i9MyQKt9DhC1Qnqa8K5YPrLUa9rL2LmFZYc/EO8ddAVzgbeNJicJBzeyrJKnjwRhI2CjwIoIJMarpU13I1GVzSFC7jYMtIwD5ZqqX24ICBCQ9kpdnQJC43NHbosOFHyg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eZ/4mlmmY5+xO5rWWkKMuBoTkSEGjsJONwhpauBBCet4S6+xjEXu66kHSn9W8zSyZGAplHrnzzjFCjvfh9fIM183p/cENdDpHZh6bxtoRL1pIrv4UN/NyX/XGm7VlxF2+rzy/qZeFUB5EsZN53OFd1aCAB5E9JH9Ps2IvpltUkce+QLGwKtTtnFryVoQGx7uOK2plcE5iErHRkT11u91DYCMovDJPjRiy6xYR2BSjwOmAEDkajEJMfHsljxSiBEMw3ak0K9LbocuzsMMV3GJ1CRRB/jzpCD8kfvVGIZsqvGeq9DbBd5TWGrK1opvsTVsBOQQwAsewKxlCUNj+5QIig==

Hi Adam,

  I applied the changes only to ui and ws. Let me make the changes in apibinary as well and check.

 

Thanks,

siju

 

From: Adam Chi-Lun Chang <>
Sent: Monday, July 22, 2019 5:59 PM
To: Siju Jacob <>; Mailing List <>
Subject: RE: Ldap Exception: Missing property subjectApi.source.ldap-servicedn.param.ldapServerId.value in subject.properties

 

Did you apply the changes of grouper-loader.properties & subject.properties to api, ui & ws directories?

grouper.apiBinary-2.4.0\conf\

grouper.ui-2.4.0\dist\grouper\WEB-INF\classes\

grouper.ws-2.4.0\grouper-ws\build\dist\grouper-ws\WEB-INF\classes\

 

 

 

From: <> On Behalf Of Siju Jacob
Sent: Monday, July 22, 2019 2:50 PM
To: Mailing List <>
Subject: [grouper-users] Ldap Exception: Missing property subjectApi.source.ldap-servicedn.param.ldapServerId.value in subject.properties

 

Hi Team,

     We are trying to upgrade to grouper 2.4 with latest updates.   Once I converted the sources.xml to subject.properties I am getting the below error. Did anybody came across the same error.  Any advice or guidance will be of great help and would be greatly appreciated

 

   I added the below entry in subject.properties, still its giving the same error.

subjectApi.source.ldap-servicedn.param.ldapServerId.value= personLdap

 

below is the entry in grouper-loader.properties

ldap.personLdap.url="ldaps://test-ldap.rutgers.edu:636/dc=rutgers,dc=edu,ou=Special" Users

 

Below is the exception logsā€¦

 

subject.properties ldap source id:   ldap-servicedn: null

Subject API error: error with subject source id: ldap-servicedn, name: Service Dns from LDAP, problem with getSubject by id, in subject.properties: search searchSubject: , edu.internet2.middleware.subject.SourceUnavailableException: Ldap Exception: Missing property subjectApi.source.ldap-servicedn.param.ldapServerId.value in subject.properties.  The value of this property should point to your LDAP configuration in the grouper-loader.properties file. e.g. if your grouper-loader.properties has ldap.personLdap.url, then the value of this property would be personLdap.

        at edu.internet2.middleware.subject.provider.LdapSourceAdapter.getLdapResultsHelper(LdapSourceAdapter.java:541)

        at edu.internet2.middleware.subject.provider.LdapSourceAdapter.getLdapResults(LdapSourceAdapter.java:433)

        at edu.internet2.middleware.subject.provider.LdapSourceAdapter.getLdapUnique(LdapSourceAdapter.java:562)

        at edu.internet2.middleware.subject.provider.LdapSourceAdapter.getSubject(LdapSourceAdapter.java:189)

        at edu.internet2.middleware.subject.SubjectCheckConfig.checkConfig(SubjectCheckConfig.java:114)

        at edu.internet2.middleware.grouper.misc.GrouperCheckConfig$1.callback(GrouperCheckConfig.java:530)

        at edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:974)

        at edu.internet2.middleware.grouper.misc.GrouperCheckConfig.checkConfig(GrouperCheckConfig.java:526)

        at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:313)

        at edu.internet2.middleware.grouper.ui.GrouperUiFilter.init(GrouperUiFilter.java:784)

        at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)

        at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)

        at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)

        at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4599)

        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5242)

        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)

        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)

        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)

        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)

        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

        at java.lang.Thread.run(Thread.java:745)

Caused by: edu.internet2.middleware.subject.SourceUnavailableException: Missing property subjectApi.source.ldap-servicedn.param.ldapServerId.value in subject.properties.  The value of this property should point to your LDAP configuration in the grouper-loader.properties file. e.g. if your grouper-loader.properties has ldap.personLdap.url, then the value of this property would be personLdap.

        at edu.internet2.middleware.subject.provider.LdapSourceAdapter.getLdapResultsHelper(LdapSourceAdapter.java:533)

        ... 25 more

 

Thanks,

Siju




Archive powered by MHonArc 2.6.19.

Top of Page