This article has been archived and is no longer maintained by ForgeRock.
In OpenAM 13.0, there is a known performance issue: OPENAM-8023 (OAuth2 load: contention at com.sun.identity.sm.ServiceConfigImpl.getInstance level (perf regression compared to AM12.0.2)). This issue is resolved in OpenAM 13.5.
You can mitigate this issue in OpenAM 13.0 as follows:
- Create a completely empty file. For example, you can use the following command if you are using a Linux® or Unix® operating system: $ touch [filename]
- Run the following ssoadm commands against all realms where you are using OAuth2: $ ./ssoadm add-svc-realm -e [realmname] -s ScriptingService -u [adminID] -f [passwordfile] -D [emptyfile] $ ./ssoadm create-sub-cfg -e [realmname] -s ScriptingService -g scriptConfigurations -u [adminID] -f [passwordfile] -D [emptyfile] replacing [realmname], [adminID], [passwordfile] and [emptyfile] with appropriate values.