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: Adam Chi-Lun Chang <>
  • To: Siju Jacob <>, " 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 21:58:44 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=uci.edu;dmarc=pass action=none header.from=uci.edu;dkim=pass header.d=uci.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=w4E2GJiQc69XjE2YTUbONAynhHoIVy+Ys5vlSVo4hAY=; b=hfdh7mIJMjHVdN43t6t9TkQRFpfQjYJiqUxk5fxHo1LgzoHSaCw2z6lcY7/S3SPhPKhItBAzXOOghzElYJgiTVZiy/P0ccFDmB8V9LVNwBIDlhX/j3Ziv9YmQC7mB7C1uQb02XDxVNKY0h1RwU0rnIJjgdY0+6nbDafrJGIRfFYVx/s9RIvpInR0zAX/qXYQaQbpaEHwXVLd6AXCIlNU6GX5IS08ibJZs6oVHa2jYF7ECBk8W0SeqRM3ZdLrEAip/hgdYYEOZ8RQsFl4BA3gVClinrBBLVqHGEZsuC5OyrbsRCO7sdTRFzYrALEGrwt/PCWxSCRxtChZQppLCqSyQQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cynN53AyUDS8aXYm9h5kQ3ZJMdOhC2xbqaRoVlPK9J7YMpd2klZxTJBXzix8k6iON5b8VsI0ik5iIZSYbgfXi6SFrIp5GBJ+wV5EphaJWaSajbQ/BDX/fcKPgjtlppaje97pxk6KQcA9Yue/Gfi0/RnWP5WKRzYjFTUq99UFqlsdatUWvFNE6uFerTszx8toXQZ/mIb5tHA3i2AkPzlKQ3kA6ANB8Wgn9gAZH5y8zhLDlCAqektKt+eMr3zeH0Xptcmmw3MCWCitCDppdv84C2++43qAZSccsNnKrsnZaWlFI9K9WgCf6+5POA2g7CvlMVcW963zb+XnlKZzAggmFA==

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