WEBLOGIC IS NOT UPDATING ITS CACHE IF THE FILE PATH HAS SPACES (Doc ID 1323515.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle Weblogic Server - Version: 10.3.3 to 10.3.5
Information in this document applies to any platform.

Symptoms

On WebLogic 10.3.3 you will notice that the server isn't updating its cache if the file path has spaces.

This can be summed up as an issue with spaces: WLS JSP compiler does not recompile JSPs on change if the JSP path has spaces in it.


Replication Steps:

1. Create a WLS domain and unzip the attached application Test.zip which contains file C:\Test\Dev\applications\Content\published\WW\TestPrecompilation\a b\index.jsp (Notice space in folder a b)
2. Deploy the application on WLS 10.3.3
3. Access the jsp with -http://localhost:7001/TestPrecompilation/a%20b/index.jsp
Browser output - Parent JSP -Version3
4. Now modify the jsp (include modified) and refresh the browser -
http://localhost:7001/TestPrecompilation/a%20b/index.jsp
Browser output - Parent JSP -Version3, notice changes are not visible


Note: Please refer to the sample attached to the note - Test.zip.
Deploy this simple web application to notice the issue following above steps.

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