000017768 - Replica attachment fails after the promotion with an error: 'not writable or has an invalid setter method'RSA Authent

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000017768
Applies ToRSA Authentication Manager 7.1 SP4
IssueReplica attachment fails after the promotion with an error: "not writable or has an invalid setter method"RSA Authent
Replica attachment output on the screen shows below error:
"Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'CLULoggingConfig' defined in class path resource [applicationContext-file-logging.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'logEventRenderer' of bean class [com.rsa.tools.common.CLUAuditLogFactory]: Bean property 'logEventRenderer' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?"
CauseAdministrator attached the demoted replica first and then try to attach old replicas. This is incorrect.
Resolution

1. Connect to SQLPLUS:
   1. Obtain the password for sysdba account.

    $cd utils
    $ ./rsautil manage-secrets -a get com.rsa.db.root.password
    Enter master password:
    You will get the password for sysdba account.
  2. Command to connect:
     sqlplus sys/<value from step1> as sysdba 

    Example:
     SQL>  sqlplus sys/HIKyB0Eobm as sysdba

2. Run below SQL statement on all RSA servers:

    SELECT ID, NAME, CPU_COUNT, DESCRIPTION FROM RSA_REP.IMS_INSTANCE;

    Verify that the output shows the correct hostname on each server.

3. Attach all replicas first then at the end attach the demoted Primary to new Primary.

NOTE: You must attach all other replica instances before you can attach the demoted primary instance.

4. Collect below logs:

<RA_HOME>/imsoc/logs/imsTrace.log
<RA_HOME>/imsoc/logs/ops-console.log

Legacy Article IDa65678

Attachments

    Outcomes