Receiving Error: Unexpected CORA API Registration error

Document ID : KB000026311
Last Modified Date : 14/02/2018
Show Technical Document Details

Problem:

I am receiving Unexpected CORA API Registration errors. How can I get more information in the logs about these generic errors?

Resolution:

  1. Go to the folder in the environment path variable %GC_CONFIG%

  2. Open the file CoraLog4cplus.cfg

  3. Set

    log4cplus.logger.Cora=DEBUG
    log4cplus.appender.CoraAppender1.MaxFileSize=50MB
    log4cplus.appender.CoraAppender1.MaxBackupIndex=5

  4. Also, perform a search for CoraLog4cplus.cfg in the folder of the calling application and set the DEBUG value.

  5. The Coraout.log file will be created in the path specified in the entry log4cplus.appender.CoraAppender1.File.

  6. If no path is provided, then the coraout.log file will be created in the folder of the calling application's \CORA_LOGS folder in the %GC_CONFIG% folder.

    The UAPM cache service will need to be re-started along with IIS for the new settings to take effect.

    After reproducing the error, change out of DEBUG mode:
    log4cplus.logger.Cora=ERROR

    The UAPM cache service will need to be re-started along with IIS for the new settings to take effect.