I have followed http://www.ateam-oracle.com/configure-coherence-for-oracle-webcenter-portal-framework-content-presenter-task-flow/ document to configure coherence with content presenter.
I am able to follow complete document but I am confused about 'How to verify if coherence is getting used or not'.
I can see coherence under 'Application Defined MBeans' so one test is passed but I see my UCM server is always generating some text in 'System Audit log'. Whenever I refresh my content presenter and then try to refresh UCM 'System audit log' it shows below lines.
>requestaudit/6 01.08 06:42:00.001 Audit Request Monitor !csMonitorTotalRequests,23,16,0.19166666269302368,0.013782608322799206,1
>requestaudit/6 01.08 06:42:00.002 Audit Request Monitor Request Audit Report over the last 120 Seconds for server vmohskend0645410ngcom44517****
requestaudit/6 01.08 06:42:00.002 Audit Request Monitor -Num Requests 23 Errors 16 Reqs/sec. 0.19166666269302368 Avg. Latency (secs) 0.013782608322799206 Max Thread Count 1
requestaudit/6 01.08 06:42:00.002 Audit Request Monitor 1 Service GET_SERVER_OUTPUT Total Elapsed Time (secs) 0.29600000381469727 Num requests 6 Num errors 0 Avg. Latency (secs) 0.04933333396911621
requestaudit/6 01.08 06:42:00.002 Audit Request Monitor 2 Service (null) Total Elapsed Time (secs) 0.01600000075995922 Num requests 16 Num errors 16 Avg. Latency (secs) 0.0010000000474974513
requestaudit/6 01.08 06:42:00.002 Audit Request Monitor 3 Service CLEAR_SERVER_OUTPUT Total Elapsed Time (secs) 0.004999999888241291 Num requests 1 Num errors 0 Avg. Latency (secs) 0.004999999888241291
requestaudit/6 01.08 06:42:00.002 Audit Request Monitor ****End Audit Report*****
Looks like my coherence is not working. Is there anything I should verify?
One other thing that I found that all image urls are pointing to http://ucm-server/cs/idcplg. I believe if coherence is working correctly content presenter will cache images also in middletier and provide images from there. Image urls should not go to cs server Right?
Coherence will cache UCM Nodes. It means that will cache the content information and will prevent going to search again to UCM every time.
Another test to check coherence is:http://docs.oracle.com/cd/E29542_01/webcenter.1111/e27739/jpsdg_content_presenter.htm#CHDHHFCE
Your idc log files aren't showing GET_SEARCH_RESULTS, GET_FILE or queries to retrieve the content information. It means that the content is served by Coherence instead of UCM.
Which version of WebCenter Portal are you using?
It's like Daniel says. If coherence wasn't properly working you would see much more services in the audit. The info you provide seems fine.
I would also recommend following my article on how to optimize the cache settings in coherence: http://www.ateam-oracle.com/optimizing-content-cache-performance-in-webcenter-portal/
Especially the part about setting the expiry-delay to 0 is important for optimized performance.