Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-1816

ssoadm comand to create a realm may cause duplicate entries to be written to embedded LDAP if multiple servers are running


    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.5.4, 10.0.0
    • Fix Version/s: 9.5.6, 10.0.2, 11.0.0
    • Component/s: None
    • Labels:
    • Sprint:
      Sprint 3
    • Support Ticket IDs:


      If the ssoadm command is used to to create a realm (ie ssoadm create-realm --realm realmtest) and multiple OpenAM servers are running, The script appears to be trying to create the ou=AgentService LDAP entry in each of the running OpenAM server's embedded OpenDJ servers.

      This can be seen in the log file:
      [11/Oct/2012:02:26:32 -0400] ADD REQ conn=-1 op=499 msgID=500 dn="ou=AgentService,ou=services,o=realmtest1,ou=services,dc=opensso,dc=java,dc=net" type=synchronization
      [11/Oct/2012:02:26:32 -0400] ADD RES conn=-1 op=499 msgID=500 result=68 message="The entry ou=AgentService,ou=services,o=realmtest1,ou=services,dc=opensso,dc=java,dc=net cannot be added because an entry with that name already exists" etime=2
      [11/Oct/2012:02:26:32 -0400] ADD REQ conn=-1 op=503 msgID=504 dn="entryuuid=a19c99de-eab4-4c16-a612-b02f69df2c1a+ou=AgentService,ou=services,o=realmtest1,ou=services,dc=opensso,dc=java,dc=net" type=synchronization
      [11/Oct/2012:02:26:32 -0400] ADD RES conn=-1 op=503 msgID=504 result=0 etime=5
      [11/Oct/2012:02:26:33 -0400] ADD REQ conn=-1 op=506 msgID=507 dn="ou=1.0,ou=AgentService,ou=services,o=realmtest1,ou=services,dc=opensso,dc=java,dc=net" type=synchronization
      [11/Oct/2012:02:26:33 -0400] ADD RES conn=-1 op=506 msgID=507 result=32 etime=17
      [11/Oct/2012:02:26:33 -0400] ADD REQ conn=-1 op=512 msgID=513 dn="ou=1.0,entryuuid=a19c99de-eab4-4c16-a612-b02f69df2c1a+ou=AgentService,ou=services,o=realmtest1,ou=services,dc=opensso,dc=java,dc=net" type=synchronization
      [11/Oct/2012:02:26:33 -0400] ADD RES conn=-1 op=512 msgID=513 result=0 etime=5
      [11/Oct/2012:02:26:33 -0400] ADD REQ conn=-1 op=515 msgID=516 dn="ou=Instances,ou=1.0,ou=AgentService,ou=services,o=realmtest1,ou=services,dc=opensso,dc=java,dc=net" type=synchronization
      [11/Oct/2012:02:26:33 -0400] ADD RES conn=-1 op=515 msgID=516 result=32 etime=1
      [11/Oct/2012:02:26:33 -0400] ADD REQ conn=-1 op=519 msgID=520 dn="ou=Instances,ou=1.0,entryuuid=a19c99de-eab4-4c16-a612-b02f69df2c1a+ou=AgentService,ou=services,o=realmtest1,ou=services,dc=opensso,dc=java,dc=net" type=synchronization
      [11/Oct/2012:02:26:33 -0400] ADD RES conn=-1 op=519 msgID=520 result=0 etime=8


          Issue Links



              • Assignee:
                sachiko Sachiko Wallace
                sfraser Sam Fraser
              • Votes:
                1 Vote for this issue
                6 Start watching this issue


                • Created: