Unable To Access Files Via <virtual-directory-mapping> In Weblogic Server (Doc ID 1642590.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle WebLogic Server - Version 11.1.1.5.0 and later
Information in this document applies to any platform.

Symptoms

A virtual directory is configured as the following :

 
 and test.pdf is stored in C:/tmp directory (local-path).

When accessing a local file (test.pdf) via the URL http://host:port/contextRoot/filePdf/test.pdf,
the  "HTTP-404: page NOT Found" error  is returned.

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