Resources are not Found when Accessing Activities Page First after Restart (Doc ID 1514367.1)

Last updated on JULY 29, 2016

Applies to:

Oracle WebCenter Portal - Version 11.1.1.6.0 to 11.1.1.8.4 [Release 11g]
Information in this document applies to any platform.
Checked for relevance on 21-May-2014

Symptoms

Resources (Images, JS scripts, CSS) are not found when accessing the Activities page first from Google Chrome after restarting Spaces.
The problem is consistently reproducible under the following circumstances:

  1. WebCenter is accessed via SSL URL.
  2. WebCenter is accessed via the web tier.
  3. A Header extension is used to simulate WNA in Firefox or Chrome so there is no need to login.
  4. Cache is cleared.

If all of these circumstances apply, then, the way to reproduce the problem is the following:

  1. Restart Spaces
  2. Clear Google Chrome's cache
  3. Access the Activities page from Google Chrome.
    i.e: http://<host>/webcenter/adf/jsLibs/wall.js
    From then on, the users will always see the problem until the next restart.
  4. After server restart the user access another page first, i.e. the Administration then the issue does not appear. 
URLs that reproduce the problem after restartURLs that do not reproduce the problem after restart:
https://middleware/webcenter https://middleware/webcenter/spaces/admin
https://middleware/webcenter/faces/oracle/webcenter/page/scopedMD/s8bba98ff_4cbb_40b8_beee_296c916a23ed/businessRolePages/ActivityStreamMainView.jspx https://middleware/webcenter/spaces/system/page/Spaces
https://middleware/webcenter/spaces/system/page/Activities https://middleware:8788/webcenter/spaces/system/page/Activities
https://middleware/webcenter https://middleware:8788/webcenter/spaces/system/page/Activities
  https://middleware:8788/webcenter
  http://middleware/webcenter

 
Firebug console shows many warnings like this:

Resource interpreted as Image but transferred with MIME type text/html: https://eapt.univers.int/webcenter/.../PageNotFound.jspx ActivityStreamMainView.jspx:49

Then many error like this:

UnaughtL ReferenceError: AdfUIPanel is not defined

WC_Spaces-diagnostic.log shows warnings like these:

"
[2012-11-23T11:49:40.281+02:00] [WC_Spaces1] [WARNING] [] [org.apache.myfaces.trinidad.webapp.ResourceServlet] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 004nmQ0_m_WFw00Fzzx0g00000pA000009,0:1] [APP: webcenter#11.1.1.4.0] [URI: /webcenter/adf/jsLibs/wall.js] URL for resource not found.[[
 resourcePath: /adf/jsLibs/wall.js
 loader class name: org.apache.myfaces.trinidad.resource.ResourceLoader@2c41fe20
 request.pathTranslated: /u01/app/oracle/admin/eapt_domain/mserver/eapt_domain/servers/WC_Spaces1/tmp/_WL_user/webcenter_11.1.1.4.0/o1bnrb/war/jsLibs/wall.js
 request.requestURL: https://eapt.universe.int:443/webcenter/adf/jsLibs/wall.js
]]
...
[2012-11-23T11:49:44.802+02:00] [WC_Spaces1] [WARNING] [] [org.apache.myfaces.trinidad.webapp.ResourceServlet] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 004nmQ0r_IAFw00Fzzx0g00000pA00002v,0:1] [APP: webcenter#11.1.1.4.0] [URI: /webcenter/adf/webcenter/nophoto_50.png] URL for resource not found.[[
  resourcePath: /adf/webcenter/nophoto_50.png
  loader class name: org.apache.myfaces.trinidad.resource.ResourceLoader@2c41fe20
  request.pathTranslated: /u01/app/oracle/admin/eapt_domain/mserver/eapt_domain/servers/WC_Spaces1/tmp/_WL_user/webcenter_11.1.1.4.0/o1bnrb/war/webcenter/nophoto_50.png
  request.requestURL: https://eapt.universe.int:443/webcenter/adf/webcenter/nophoto_50.png
[2012-11-23T11:49:44.845+02:00] [WC_Spaces1] [WARNING] [] [org.apache.myfaces.trinidad.webapp.ResourceServlet] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 004nmQ0rjmdFw00Fzzx0g00000pA00002y,0:1] [APP: webcenter#11.1.1.4.0] [URI: /webcenter/adf/images/t.gif] URL for resource not found.[[
  resourcePath: /adf/images/t.gif
  loader class name: org.apache.myfaces.trinidad.resource.ResourceLoader@2c41fe20
  request.pathTranslated: /u01/app/oracle/admin/eapt_domain/mserver/eapt_domain/servers/WC_Spaces1/tmp/_WL_user/webcenter_11.1.1.4.0/o1bnrb/war/images/t.gif
  request.requestURL: https://eapt.universe.int:443/webcenter/adf/images/t.gif
]]
"

Spaces access_log shows the following:

<IP> - weblogic [23/Nov/2012:11:49:44 +0200] "GET /webcenter/adf/webcenter/dropdown_n.png HTTP/1.1" 302 495
<IP> - weblogic [23/Nov/2012:11:49:44 +0200] "GET /webcenter/adf/images/t.gif HTTP/1.1" 302 495
<IP> - weblogic [23/Nov/2012:11:49:44 +0200] "GET /webcenter/adf/webcenter/delete_sm_dis.png HTTP/1.1" 302 495
<IP> - weblogic [23/Nov/2012:11:49:44 +0200] "GET /webcenter/adf/webcenter/nophoto_50.png HTTP/1.1" 302 495
<IP> - weblogic [23/Nov/2012:11:49:44 +0200] "GET /webcenter/faces/oracle/webcenter/page/scopedMD/s8bba98ff_4cbb_40b8_beee_296c916a23ed/businessRolePages/PageNotFound.jspx HTTP/1.1" 200 5305
....

Apache access_log shows the following:

<IP> - - [23/Nov/2012:11:49:44 +0200] "GET /webcenter/adf/webcenter/delete_sm_dis.png HTTP/1.1" 302 487
<IP> - - [23/Nov/2012:11:49:44 +0200] "GET /webcenter/adf/webcenter/nophoto_50.png HTTP/1.1" 302 487
<IP> - - [23/Nov/2012:11:49:44 +0200] "GET /webcenter/faces/oracle/webcenter/page/scopedMD/s8bba98ff_4cbb_40b8_beee_296c916a23ed/businessRolePages/PageNotFound.jspx HTTP/1.1" 200 5281
...




Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms