The application server is Oracle BEA WebLogic Version 9.2. When you try to open a work object attachment, your browser displays a message indicating that the requested site is unavailable or cannot be found.
For example, when you try to open a Microsoft Word document attached to a Use Case rule, Internet Explorer displays this message:
Internet Explorer cannot download <document name> from <URL>. Internet Explorer was not able to open this internet site. The requested site is either unavailable or cannot be found. Please try again later.
The results of tracing the requests and responses of the browser session with a tool such as the Fiddler Web Debugging Proxy utility show that the output is being returned properly, but with the following Cache-Control header:
In WebLogic 9.1, the output was returned with the following Cache-Control header:
When the Cache-Control header indicates Private, requested content (the work object attachment) is temporarily cached on the local computer and will display in the browser. The change in the Cache-Control header being returned by WebLogic 9.2 indicates a difference in the WebLogic deployment descriptor file, weblogic.xml, specifically the default setting for the property http-proxy-caching-of-cookies.
In WebLogic 9.1, the property was set to true:
http-proxy-caching-of-cookies = true
In WebLogic 9.2, the property is set to false:
http-proxy-caching-of-cookies = false
The cache setting returned from WebLogic 9.2 is not allowing the work object attachment being requested to be cached on the local computer. As a result, the attachment is not displayed.
To change the default value of http-proxy-caching-of-cookies, follow these steps:
- Stop the WebLogic application server.
- Find the WebLogic deployment descriptor file, weblogic.xml, in the prweb/WEB-INF directory.
- Open the weblogic.xml file in an editor.
- In the session-descriptor section, edit the default value of http-proxy-caching-of-cookies, changing it from false to true: http-proxy-caching-of-cookies=true
- Save the file, prweb/WEB-INF/weblogic.xml.
- Restart the application server.
- Clear your browser cache:
- Open Internet Explorer.
- Click Tools > Internet Option-> General->Browsing History.
- In the Delete Browsing History window, Temporary Internet Files, click Delete files.
- In the Delete Browsing History window, Cookies, click Delete cookies.