Tuesday, January 19, 2016

Verify registration using OAM Console "out of space in CodeCache for adapters"

 Verify registration using OAM Console
Logon to the OAM Console
http://.:/oamconsole
Verify that the following artifacts are visible now in the OAM Console, under Launch Pad:.
  • Application Security (tab) > Click on the 'Agents' icon > Search for {Identifier for your WebGate}
  • Application Security (tab) > Click on 'Host Identifiers' (in the 'Access Manager' region) > Search for {Identifier for your WebGate}
  • Application Security (tab) > Click on 'Application Domains' (in the 'Access Manager' region) > Search for {Identifier for your WebGate}
If any one see "out of space in CodeCache for adapters" error below is the solution.

Solution:
On your oam_domain location:


/apps/oemora/Oracle/Middleware/user_projects/domains/oam_domain/bin/setDomainEnv.sh


set USER_MEM_ARGS=-XX:ReservedCodeCacheSize=128M -Xms2048M -Xmx2048M -XX:PermSize=256M -XX:MaxPermSize=512M -XX:+UseParallelGC -XX:+UseParallelOldGC -verbose:gc -XX:+PrintGCDetails -XX:-PrintGCDateStamps -Xloggc:/temp/gc/wls_pre_sizing_jms.log