Previous Topic: Non-Reentrant System Calls Used In CA AdapterNext Topic: JavaScript Error When User Changed LDAP Password


Authentication Transactions Were Very Slow

Symptom:

Authentication transactions were taking a very long time when the load was heavy.

Solution:

The reason for this issue was that the putenv() function was getting called for each call to SmAuthQuery API, consequently corrupting environment variables for the process. This issue is fixed now and the putenv() function is getting called only once as expected.

Time-Based Rollover of Log Files Caused Performance Issues

Symptom:

In the earlier release, the default log file rollover policy was time-based, which resulted in large log file sizes. This caused performance issues.

Solution:

This issue has been addressed in the current release by enabling the configuration of size-based rollover policies. The default logging configuration in adaptershim.ini has been changed to roll over the Adapter SHIM log file after reaching the configured file size instead of rolling over based on time. Log rollover policy can be configured as shown in the following examples:

To configure a time-based rollover policy with a rollover time interval of one day, make the following settings under the section [arcot/integrations/smadapter/LogLibrary1] in adaptershim.ini:

DLLName=ArcotLog2FileSC
HandleLevel=3
EntryPoint=CreateFileLogHandler
ParamSupported=3
Param1=LOG_FILE_NAME=ARCOT_HOME/logs/arcotadaptershim.log
Param2=LOG_FILE_ROLLOVER_INTERVAL=DAILY
Param3=BACKUP_LOG_FILE_LOCATION=ARCOT_HOME/logs/backup
#Param4=LOG_LINE_FORMAT=$$TS1L$$ $$SEV$$ pid $$PID$$ tid $$TID$$: $$MID$$ $$MSG$$ ($$LID$$)

To configure a size-based rollover policy with a maximum log file size limit of 10000000 bytes, make the following settings under the section [arcot/integrations/smadapter/LogLibrary1] in adaptershim.ini:

DLLName=ArcotLog2FileSC
HandleLevel=3
EntryPoint=CreateFileLogHandler
ParamSupported=3
Param1=LOG_FILE_NAME=ARCOT_HOME/logs/arcotadaptershim.log
Param2=MAX_LOG_FILE_SIZE=10000000
Param3=BACKUP_LOG_FILE_LOCATION=ARCOT_HOME/logs/backup
#Param4=LOG_LINE_FORMAT=$$TS1L$$ $$SEV$$ pid $$PID$$ tid $$TID$$: $$MID$$ $$MSG$$ ($$LID$$)