AnsweredAssumed Answered

ERROR:Multiple administrators attempting to update data at the same time.

Question asked by shinnosuke mochizuki on Nov 2, 2017
Latest reply on Nov 6, 2017 by Ted Barbour

Hi there.

An error occurred while executing UpdateAMPrincipalCommand.

===============source codes==================

   AMPrincipalDTO currAMprincipal = new AMPrincipalDTO();
   currAMprincipal.setGuid(userGuid);
   currAMprincipal .setRadiusProfileGuid(radiusid);

 

   UpdateAMPrincipalCommand uapcmd = new UpdateAMPrincipalCommand(currAMprincipal);
    ses = newSession();
    uapcmd.execute(ses);
    ses.logout();


 
 ~~~~~~
 

 public static ClientSession newSession() {
  ClientSession session = null;
  try {
   Connection conn = ConnectionFactory.getConnection();
   session = conn.connect("root", "Password");
   System.out.println("sessionid : " + session.getSessionId());
  } catch (CommandException e) {

  }
  return session;
 }

===============ERROR======================

ERROR, PCxxx,,,,Exception during command execution.
com.rsa.command.exception.ConcurrentUpdateException: Multiple administrators attempting to update data at the same time.
 at com.rsa.authmgr.internal.admin.principalmgt.impl.AMPrincipalAdministrationImpl.update(AMPrincipalAdministrationImpl.java:258)
 at com.rsa.authmgr.internal.admin.principalmgt.impl.AMPrincipalAdministrationImpl.update(AMPrincipalAdministrationImpl.java:707)
 at com.rsa.authmgr.internal.admin.principalmgt.impl.AMPrincipalAdministrationImpl.update(AMPrincipalAdministrationImpl.java:573)

...

..

.

===========================================

 

need help thanks

Outcomes