Identity Connect Server fails to start

This topic has 5 replies, 2 voices, and was last updated 1 month ago by todd.anderson.

  • Author
    Posts
  • #28737
     ae_netops
    Participant

    We are migrating from 2.1 to 7.1 of the Identity Connect app. We are able to migrate the truststores and install fine, but when running startup.bat we get the following errors. Since Salesforce is licensing this from ForgeRock, we can’t get support from Forge and SFDC support is useless. Hoping someone here has seen/resolved this issue?

    SEVERE: Bundle: com.google.inject [75] FrameworkEvent ERROR
    org.apache.felix.log.LogException: org.osgi.framework.BundleException: Unable to resolve com.google.inject [75](R 75.0): missing requirement [com.google.inject [75](R 75.0)] osgi.wiring.package; (&(osgi.wiring.package=com.google.common.base)(version>=25.1.0)(!(version>=26.0.0))) Unresolved requirements: [[com.google.inject [75](R 75.0)] osgi.wiring.package; (&(osgi.wiring.package=com.google.common.base)(version>=25.1.0)(!(version>=26.0.0)))]
    at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
    at java.base/java.lang.Thread.run(Thread.java:834)

    [19] Oct 21, 2021 11:41:31.788 AM org.forgerock.openidm.datasource.jdbc.impl.JDBCDataSourceService lambda$initDataSourceService$1
    WARNING: Unable to establish connection: d5575831-da4b-4fc4-bc8b-81e4725d1490 – Connection is not available, request timed out after 30002ms., next attempt at Thu Oct 21 11:41:36 CDT 2021
    [19] Oct 21, 2021 11:42:06.805 AM org.forgerock.openidm.datasource.jdbc.impl.JDBCDataSourceService lambda$initDataSourceService$1
    WARNING: Unable to establish connection: d5575831-da4b-4fc4-bc8b-81e4725d1490 – Connection is not available, request timed out after 30014ms., next attempt at Thu Oct 21 11:42:16 CDT 2021
    [19] Oct 21, 2021 11:42:46.830 AM org.forgerock.openidm.datasource.jdbc.impl.JDBCDataSourceService lambda$initDataSourceService$1
    WARNING: Unable to establish connection: d5575831-da4b-4fc4-bc8b-81e4725d1490 – Connection is not available, request timed out after 30009ms., next attempt at Thu Oct 21 11:43:01 CDT 2021

    #28738
     todd.anderson
    Participant

    Hi Ae_netops,
    We would need a lot more info such as OS, Version of Java your using and the like. Please make sure your using the correct Java version as 7.1.1 uses java 11 and not 8 or 17.
    But I have not seen this error before that I can find.
    Regards,
    Todd

    #28739
     ae_netops
    Participant

    Thanks for answering Todd.

    Newly spun up vanilla Windows 2016 server
    Java version 11 newly downloaded and installed
    Fresh download of the 7.1.1 application

    We can get through the setup without issue. Setup then says it’s starting the server but looking at netstat and processes it’s not running. Running startup.bat brings up the OpenIDM window where those errors are then shown.

    Because this is a ‘Salesforce’ product, their support recommended we upgrade to Java 17, which we did, and now we get different errors, but the server will still not start.

    It’s been a real nightmare…..

    This is the final error we get in the logs when trying with Java 17. To me this looks like the installation didn’t fully configure postgres, but who knows.

    [40] Oct 21, 2021 1:03:07.120 PM org.forgerock.openidm.health.HealthService$4 run
    SEVERE: OpenIDM failure during startup, ACTIVE_NOT_READY: Not all modules started [] [org.apache.felix.scr, org.forgerock.openidm.datasource] []

    #28740
     todd.anderson
    Participant

    Hi AE_netops,

    I hate to say it but Java 17 is NOT supported on IC 7.1.1 at this time. Only Java 11 as per the implementation guide. Did you get a chance to review the implementation guide? And please make sure that the local user that starts up postgres has absolutely NO admin permissions? If it does, it will fail.
    I can tell you we have a lot of successful installations on Windows 2016 so we will get you fixed.

    https://backstage.forgerock.com/docs/identity-connect/7.1/implementation-guide/

    If you can please send me an email and I will see what I can do to help you. Also there is a SI that you can contract with to do the IC 7.1 upgrade if your interested. But let me know if your still having issues after reviewing the guide please.

    Cheers,
    Todd

    #28741
     ae_netops
    Participant

    Thanks again Todd. I don’t have your email so I’ll post this here.

    Reverted back to Java 11, did a full reinstall of the product. We’ve following both the Forgerock and Salesforce install guides to the letter, multiple times. Salesforce support says it’s a callback URL issue in the sfdc identity connect app config, but I don’t see how that’s possible since there is zero configuration on this new install the server refuses to start.

    Reverting back to Java11 gives the errors below. I know we can disregard the reflection warnings but I have no idea how to fix or if it’s fixable for the dependencies severe error.

    WARNING: An illegal reflective access operation has occurred
    WARNING: Illegal reflective access by org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender (file:/C:/salesforceIdConnect/bin/felix.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
    WARNING: Please consider reporting this to the maintainers of org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender
    WARNING: Use –illegal-access=warn to enable warnings of further illegal reflective access operations
    WARNING: All illegal access operations will be denied in a future release
    [20] Oct 22, 2021 8:54:27.181 AM org.forgerock.openidm.config.logging.LogServiceTracker logEntry
    SEVERE: Bundle: com.google.inject [75] FrameworkEvent ERROR
    org.apache.felix.log.LogException: org.osgi.framework.BundleException: Unable to resolve com.google.inject [75](R 75.0): missing requirement [com.google.inject [75](R 75.0)] osgi.wiring.package; (&(osgi.wiring.package=com.google.common.base)(version>=25.1.0)(!(version>=26.0.0))) Unresolved requirements: [[com.google.inject [75](R 75.0)] osgi.wiring.package; (&(osgi.wiring.package=com.google.common.base)(version>=25.1.0)(!(version>=26.0.0)))]
    at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
    at java.base/java.lang.Thread.run(Thread.java:834)

    #28743
     todd.anderson
    Participant

    hi ae_netops,

    I tired to send you a personal message but not able to. If you want to call Forgerock operator and ask for me, they will put you though. I hope that helps.
    Cheers,
    Todd

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

You must be logged in to reply to this topic.

©2021 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?