1

我对 openam 完全陌生。面临 am7.1 设置的问题。按照此文档中的步骤进行安装,https://backstage.forgerock.com/docs/am/7.1/eval-guide/

问题:登录 openam 后,“创建默认配置”失败。

UTC 时间 2021 年 10 月 29 日上午 07:19:24:042:加载架构 opendj_user_schema.ldif UTC 时间 2021 年 10 月 29 日上午 07:19:24:053:...失败。AMSetupDSConfig.loadSchemaFiles:failedConnect 错误:org.forgerock.opendj.ldap.LdapException.newLdapException(LdapException.java:230) 上没有可用的操作连接工厂

设置细节:

  1. Ubuntu 操作系统 18.04 LTS

  2. $ java -version 拾取_JAVA_OPTIONS: -Xmx1024m -XX:MetaspaceSize=256m openjdk version "11.0.11" 2021-04-20 OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.18.04) OpenJDK 64-Bit Server虚拟机(build 11.0.11+9-Ubuntu-0ubuntu2.18.04,混合模式,共享)

  3. apache tomcat 8.5.72

  4. 使用 export JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64" export CATALINA_OPTS="-Xmx1024m -XX:MaxPermSize=256m" 更新了 tomcat/bin/setenv.sh

5.使用对 $JAVA_HOME/lib/security/cacerts 具有正确权限的 root

登录到 openam 后,“创建默认配置”失败

UTC 时间 2021 年 10 月 29 日上午 7:18:59:484:接受许可条款。许可证,legal-notices/Forgerock_License.txt,已被接受。许可证哈希:Yalwb9SLaQCqu0NjseRm+vqup41ucHzs83eS3VP3uZI=。10/29/2021 07:18:59:493 AM UTC:检查配置目录 /home/midadev1/am。2021 年 10 月 29 日上午 07:19:03:473 UTC:...成功。2021 年 10 月 29 日上午 07:19:05:619 UTC:正在提取 DS,请稍候... 2021 年 10 月 29 日上午 07:19:11:897 UTC:完成 2021 年 10 月 29 日 07:19:11: UTC 上午 897:运行 DS 设置 10/29/2021 07:19:15:330 AM UTC:...成功 10/29/2021 07:19:15:332 AM UTC:为 serverRoot /home/midadev1/ 启动 DS am/opens 10/29/2021 07:19:21:392 AM UTC: ...成功。2021 年 10 月 29 日上午 07:19:21:392 UTC:...成功。10/29/2021 07:19:21:393 AM UTC:在 /home/midadev1/am/opends 中安装嵌入式 DS 配置存储 10/29/2021 07:19:21:527 AM UTC:创建 AM 后缀 10/29 /2021 07:19:23: UTC 上午 641 点:...成功 2021 年 10 月 29 日上午 07:19:23:715 UTC:标记交换架构文件。2021 年 10 月 29 日上午 07:19:23:754 UTC:...成功。UTC 时间 2021 年 10 月 29 日上午 07:19:23:755:加载架构 opendj_config_schema.ldif UTC 时间 2021 年 10 月 29 日上午 07:19:24:042:...成功。 UTC 时间 2021 年 10 月 29 日上午 07:19:24:042:加载架构 opendj_user_schema.ldif UTC 时间 2021 年 10 月 29 日上午 07:19:24:053:...失败。AMSetupDSConfig.loadSchemaFiles:failedConnect 错误:没有可用的操作连接工厂e 在 org.forgerock.opendj.ldap.LdapException.newLdapException(LdapException.java:145) 在 org.forgerock.opendj.ldap.LdapException 的 org.forgerock.opendj.ldap.LdapException.newLdapException(LdapException.java:230)。 newLdapException(LdapException.java:114) at org.forgerock.opendj.ldap.LdapException.newLdapException(LdapException.java:72) at org.forgerock.opendj.ldap.LoadBalancer.noOperationalConnectionFactoriesException(LoadBalancer.java:768) at org.forgerock .opendj.ldap.LoadBalancer.connect0(LoadBalancer.java:326) 在 io.reactivex.rxjava3.internal.operators.single.SingleFromCallable.subscribeActual(SingleFromCallable.java:43) 在 io.reactivex.rxjava3.core.Single.subscribe (Single.java:4813) 在 io.reactivex.rxjava3.internal.operators.single.SingleMap.subscribeActual(SingleMap.java:35) 在 io.reactivex.rxjava3.core.Single.subscribe(Single.java:4813) 在伊奥。reactivex.rxjava3.internal.operators.single.SingleObserveOn.subscribeActual(SingleObserveOn.java:35) 在 io.reactivex.rxjava3.core.Single.subscribe(Single.java:4813) 在 io.reactivex.rxjava3.internal.operators。 single.SingleDoFinally.subscribeActual(SingleDoFinally.java:44) at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4813) at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4799)在 org.forgerock.opendj.ldap.LdapConnectionFactory.getConnectionAsync(LdapConnectionFactory.java:346) 在 org.forgerock.opendj.ldap.LdapConnectionFactory.getConnection(LdapConnectionFactory.java:353) 在 com.sun.identity.setup.AMSetupDSConfig.loadSchemaFiles (AMSetupDSConfig.java:258) 在 com.sun.identity.setup.AMSetupServlet.writeSchemaFiles(AMSetupServlet.java:1514)java:35) at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4813) at io.reactivex.rxjava3.internal.operators.single.SingleDoFinally.subscribeActual(SingleDoFinally.java:44) at io.reactivex .rxjava3.core.Single.subscribe(Single.java:4813) at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4799) at org.forgerock.opendj.ldap.LdapConnectionFactory.getConnectionAsync(LdapConnectionFactory.java :346) 在 com.sun.identity.setup.AMSetupDSConfig.loadSchemaFiles(AMSetupDSConfig.java:258) 在 com.sun.identity.setup 的 org.forgerock.opendj.ldap.LdapConnectionFactory.getConnection(LdapConnectionFactory.java:353)。 AMSetupServlet.writeSchemaFiles(AMSetupServlet.java:1514)java:35) at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4813) at io.reactivex.rxjava3.internal.operators.single.SingleDoFinally.subscribeActual(SingleDoFinally.java:44) at io.reactivex .rxjava3.core.Single.subscribe(Single.java:4813) at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4799) at org.forgerock.opendj.ldap.LdapConnectionFactory.getConnectionAsync(LdapConnectionFactory.java :346) 在 com.sun.identity.setup.AMSetupDSConfig.loadSchemaFiles(AMSetupDSConfig.java:258) 在 com.sun.identity.setup 的 org.forgerock.opendj.ldap.LdapConnectionFactory.getConnection(LdapConnectionFactory.java:353)。 AMSetupServlet.writeSchemaFiles(AMSetupServlet.java:1514)org.forgerock.opendj.ldap.LdapConnectionFactory.getConnectionAsync(LdapConnectionFactory. java:346) 在 org.forgerock.opendj.ldap.LdapConnectionFactory.getConnection(LdapConnectionFactory.java:353) 在 com.sun.identity.setup.AMSetupDSConfig.loadSchemaFiles(AMSetupDSConfig.java:258) 在 com.sun.identity.setup .AMSetupServlet.writeSchemaFiles(AMSetupServlet.java:1514)org.forgerock.opendj.ldap.LdapConnectionFactory.getConnectionAsync(LdapConnectionFactory. java:346) 在 org.forgerock.opendj.ldap.LdapConnectionFactory.getConnection(LdapConnectionFactory.java:353) 在 com.sun.identity.setup.AMSetupDSConfig.loadSchemaFiles(AMSetupDSConfig.java:258) 在 com.sun.identity.setup .AMSetupServlet.writeSchemaFiles(AMSetupServlet.java:1514)loadSchemaFiles(AMSetupDSConfig.java:258) 在 com.sun.identity.setup.AMSetupServlet.writeSchemaFiles(AMSetupServlet.java:1514)loadSchemaFiles(AMSetupDSConfig.java:258) 在 com.sun.identity.setup.AMSetupServlet.writeSchemaFiles(AMSetupServlet.java:1514)

请给点建议。

4

0 回答 0