Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Troubleshooting: Cannot open a work object attachment (WebLogic 9.2)

Updated on October 2, 2015

Summary

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.

Problem

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:

Cache-Control: no-cache="set-cookie"

In WebLogic 9.1, the output was returned with the following Cache-Control header:

Cache-Control: Private

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.

Suggested Approach

To change the default value of http-proxy-caching-of-cookies, follow these steps:

  1. Stop the WebLogic application server.
  2. Find the WebLogic deployment descriptor file, weblogic.xml, in the prweb/WEB-INF directory.
  3. Open the weblogic.xml file in an editor.
  4. 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
  5. Save the file, prweb/WEB-INF/weblogic.xml.
  6. Restart the application server.
  7. Clear your browser cache:
    1. Open Internet Explorer.
    2. Click Tools > Internet Option-> General->Browsing History.
    3. In the Delete Browsing History window, Temporary Internet Files, click Delete files.
    4. In the Delete Browsing History window, Cookies, click Delete cookies.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us