My Oracle Support Banner

Intermittent "Page Not Found"/"Page cannot be displayed" Errors using URL Path Prefix in Site Mapping and Session Binding in Web Cache (Doc ID 799584.1)

Last updated on MAY 01, 2023

Applies to:

Web Cache - Version to [Release AS10gR2 to Oracle11g]
Information in this document applies to any platform.


When pages are displayed through WebCache, intermittent "Page cannot be displayed", "Page not found" errors are returned after patching to The Web Cache site mapping using URL Prefix does work consistently.

The required Path Prefix handling was configured in the Web Cache 'Site To Server Mapping' page on the Web Cache Administration page (not the AS Control Administration GUI).

Session binding binding settings use "Default session binding" : Any Set-Cookie / Cookie-based

-- Steps To Reproduce:
OracleAS MT installed on ServerA on port 7778
OracleAS MT installed on ServerB on port 7778

WC installed on ServerA configuration:
-Site definition: : 7778
-Origin servers

-Site to server mapping
ServerB:80/prefix1/ -> ServerA:7778
ServerB:80/prefix2/ -> ServerB:7780
ServerB:80 -> ServerA:7778
-Session binding
Use "Default session binding" : Any Set-Cookie / Cookie-based

Two test URLs:
-This request goes to ServerA

-This request goes to ServerB

With the above two URLs, either URL appears to work properly initially. But checking the session details on screen and ultimately the Web Cache event_log confirms that incorrect routing is happening:
The request prefix <ServerA:7778> matches an alias for configured site <ServerA:7778>
Session binding routing to origin server ServerB:7780 (id=0) for site <ServerA:7778>
non-200 OK HTTP status code response code of 404

The issue does not happen in and and appears only after patching to which corrected a cookie scoping issue (<bug 5053392>).

The issue does not reproduce if session binding is disabled.

In WC, cookie is path-based, which may cause duplicate cookie values for the same
cookie name. This is explained and fixed in <bug 5053392>. That is why different cookie path is
observed between and

There is a session servlet test available in the default installation environment at http://<yourhost.domain>/j2ee/servlet/SessionExample


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.