Skip to content

Error setting up a second node with OpenAM 16.0.4 #956

@FireBurn

Description

@FireBurn

I'm successfully setting up single node instances but I'm having issues on our multinode setups, it's all scripted

    - name: Run setup on non-primary node
      shell:
        argv:
          - "{{ java_home }}/bin/java"
          - "--add-exports"
          - "java.base/sun.security.tools.keytool=ALL-UNNAMED"
          - "--add-exports"
          - "java.base/sun.security.util=ALL-UNNAMED"
          - "--add-exports"
          - "java.base/sun.security.x509=ALL-UNNAMED"
          - "--add-exports"
          - "java.security.jgss/sun.security.krb5=ALL-UNNAMED"
          - "--add-exports"
          - "java.xml/com.sun.org.apache.xerces.internal.dom=ALL-UNNAMED"
          - "-jar"
          - "{{ user_home_dir }}/SSOConfiguratorTools/openam-configurator-tool-{{ openam_version }}.jar"
          - "-f"
          - "{{ user_home_dir }}/SSOConfiguratorTools/Config"

Where Config is:

SERVER_URL=https://server1.example.com:10843/
DEPLOYMENT_URI=/sso
BASE_DIR=/apps/was/openam
locale=en_GB
PLATFORM_LOCALE=en_GB
AM_ENC_KEY=***
ADMIN_PWD=***
AMLDAPUSERPASSWD=***
COOKIE_DOMAIN=.example.com
ACCEPT_LICENSES=true
DATA_STORE=embedded
DIRECTORY_SSL=SIMPLE
DIRECTORY_SERVER=localhost
DIRECTORY_PORT=10389
DIRECTORY_ADMIN_PORT=10444
DIRECTORY_JMX_PORT=10689
ROOT_SUFFIX=dc=openam,dc=forgerock,dc=org
DS_DIRMGRDN=cn=Directory Manager
DS_DIRMGRPASSWD=***
DS_EMB_REPL_FLAG=embReplFlag
DS_EMB_REPL_REPLPORT1=10989
DS_EMB_REPL_HOST2=server2.example.com
DS_EMB_REPL_ADMINPORT2=10444
DS_EMB_REPL_REPLPORT2=10889
existingserverid=https://server2.example.com:10843/sso
LB_SITE_NAME=Site
LB_PRIMARY_URL=https://loadbalancer.example.com:443/sso

The error I'm seeing when that runs is:

Configuration.txt

I did see this in the primary Configuration log

amSMSEvent:01/27/2026 11:08:26:996 pm GMT: Thread[#328,smIdmThreadPool,5,Default Executor Thread Group]: TransactionId[c86219de-ca0d-46b8-971e-4b3275ed65ed-307]
ERROR: ServiceConfigManagerImpl(:iPlanetAMPlatformService) notifyGlobalConfigChange Error sending notification to ServiceListener: com.sun.identity.common.configuration.ConfigurationObserver
java.lang.NullPointerException: Cannot invoke "java.util.Map.size()" because "m" is null
        at java.base/java.util.concurrent.ConcurrentHashMap.putAll(ConcurrentHashMap.java:1100)
        at java.base/java.util.Properties.putAll(Properties.java:1354)
        at com.iplanet.am.util.SystemProperties.initializeProperties(SystemProperties.java:523)
        at com.sun.identity.common.configuration.ConfigurationObserver.globalConfigChanged(ConfigurationObserver.java:148)
        at com.sun.identity.sm.ServiceConfigManagerImpl.notifyGlobalConfigChange(ServiceConfigManagerImpl.java:485)
        at com.sun.identity.sm.ServiceConfigManagerImpl.objectChanged(ServiceConfigManagerImpl.java:457)
        at com.sun.identity.sm.SMSNotificationManager.sendNotifications(SMSNotificationManager.java:294)
        at com.sun.identity.sm.SMSNotificationManager$LocalChangeNotifcationTask.run(SMSNotificationManager.java:370)
        at org.forgerock.openam.audit.context.AuditRequestContextPropagatingRunnable.run(AuditRequestContextPropagatingRunnable.java:42)
        at com.iplanet.am.util.ThreadPool$WorkerThread.run(ThreadPool.java:314)

If needed I could attach more logs, but I'd need to sanitize them first

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions