openAM 12.0.0. user data store installation only

Tagged: 

This topic has 4 replies, 2 voices, and was last updated 5 years, 10 months ago by Peter Major.

  • Author
    Posts
  • #2694
     sohanb
    Participant

    Hi,

    I am installing openam 12.0.0 . I want to install embedded configuration store but want to have external User store. I was able to do this in openAM 11.0.0, somehow with same configuration it does not work. If i keep DATA_STORE as “embeded” it install USER_STORE also embeded, this was not case in openam 11.x version.

    I looked at this link,
    where it mentions your can have external USER_STORE.

    I am doing silent installation.
    Here is my sample file:
    SERVER_URL=http://punvm-core06.matrix.net:8080
    DEPLOYMENT_URI=/openam
    BASE_DIR=/data/core01/openam-setup
    locale=en_US
    PLATFORM_LOCALE=en_US
    AM_ENC_KEY=
    [email protected]
    AMLDAPUSERPASSWD=welcome123
    COOKIE_DOMAIN=.matrix.net
    ACCEPT_LICENSES=true

    DATA_STORE:
    DATA_STORE=embedded
    DIRECTORY_SSL=SIMPLE
    DIRECTORY_SERVER=punvm-core06.matrix.net
    DIRECTORY_PORT=50389
    DIRECTORY_ADMIN_PORT=5444
    DIRECTORY_JMX_PORT=2689
    ROOT_SUFFIX=o=openam
    DS_DIRMGRDN=cn=Directory Manager
    DS_DIRMGRPASSWD=welcome321

    User Store:
    USERSTORE_TYPE=LDAPv3ForOpenDS
    USERSTORE_SSL=SIMPLE
    USERSTORE_DOMAINNAME=punvm-core06.matrix.net
    USERSTORE_HOST=punvm-core06.matrix.net
    USERSTORE_PORT=1389
    USERSTORE_SUFFIX=dc=matrix,dc=net
    USERSTORE_MGRDN=cn=Directory Manager
    USERSTORE_PASSWD=welcome

    I dont know how it was working with openAM 11.x ,it was installing proepr external USER_STORE.

    Also tell me If i want to install both config and user store as external, what changes you would suggest in above configuration.

    Please suggest

    Thanks,
    Sohan

    #2695
     sohanb
    Participant

    When I try to install configuration store with external openDJ with following properties:

    DATA_STORE=dirServer
    DIRECTORY_SSL=SIMPLE
    DIRECTORY_SERVER=punvm-core06.matrix.net
    DIRECTORY_PORT=1389
    DIRECTORY_ADMIN_PORT=4444
    DIRECTORY_JMX_PORT=1689
    ROOT_SUFFIX=dc=sigmasys,dc=net
    DS_DIRMGRDN=cn=Directory Manager
    DS_DIRMGRPASSWD=welcome

    The above properties are in link with user store properties showed in my 1st post.

    I get following error:

    Configuring server instance….Done
    Creating demo user.AMSetupServlet.processRequest: errorMessage:Plug-in org.forgerock.openam.idrepo.ldap.DJLDAPv3Repo: Unable to find entry: Entry uid=demo,ou=people,ou=people,dc=matrix,dc=net cannot be added because its parent entry ou=people,ou=people,dc=matrix,dc=net does not exist in the server

    at org.forgerock.openam.idrepo.ldap.DJLDAPv3Repo.handleErrorResult(DJLDAPv3Repo.java:2449)
    at org.forgerock.openam.idrepo.ldap.DJLDAPv3Repo.create(DJLDAPv3Repo.java:656)
    at com.sun.identity.idm.server.IdServicesImpl.create(IdServicesImpl.java:449)
    at com.sun.identity.idm.AMIdentityRepository.createIdentity(AMIdentityRepository.java:384)
    at com.sun.identity.setup.AMSetupServlet.createDemoUser(AMSetupServlet.java:2409)
    at com.sun.identity.setup.AMSetupServlet.configure(AMSetupServlet.java:1206)
    at com.sun.identity.setup.AMSetupServlet.processRequest(AMSetupServlet.java:693)
    at com.sun.identity.setup.AMSetupServlet.doPost(AMSetupServlet.java:613)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.forgerock.openam.validation.ResponseValidationFilter.doFilter(ResponseValidationFilter.java:44)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at com.sun.identity.setup.AMSetupFilter.doFilter(AMSetupFilter.java:117)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:722)

    Thanks

    #2697
     Peter Major
    Moderator

    This is a known issue tracked under https://bugster.forgerock.org/jira/browse/OPENAM-5381 .

    #2699
     sohanb
    Participant

    OK, so its know bug. I can see some fixed version but unable to find download link, can you please paste me the fixed version link here.

    Also let me know does those version needs subscription?

    Thanks

    #2700
     Peter Major
    Moderator

    The versions where this issue is fixed, hasn’t been released yet, so there is not much to download. You could attempt downloading a nightly build and grab the configurator from there. Nightly builds do not include the binary license.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

©2020 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?