Skip to Main Content

ORDS, SODA & JSON in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Issues when loading pages

RideTheStormJan 17 2013 — edited Jan 18 2013
Hi all,

I'm experiencing some performance issues when loading a page for the first time. The problem is caused when updating a css file of my own custom theme. When I access a page of the application for the first time, this produces a 404 error but the file truly exists. If I update the page via F5 or I access a different page it loads correctly with times more than acceptable. In contrast, if I update the page via Ctrl+F5 (to clear cache) the same issue occurs.

I performed the same test with another test application with a default theme and working properly.

The configuration I have is Apex 4.1.1 in a Oracle 11.2 and Apex Listener 1.1.4 in a WebLogic server. The file i.war does not pack the images directory directly, this file contains a configuration file which defines a virtual directory, in this way I can modify files on the fly without restarting the listener. If I get this problem and restart the listener everything works right. The configuration file is:

+<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app">+
+<!-- This element specifies the context path the static resources are served from -->+
+<context-root>/i</context-root>+
+<virtual-directory-mapping>+
+<!-- This element specifies the location on disk where the static resources are located -->+
+<local-path>/mnt/fs_servicios/apex/datos/usuarios/apex/applications/apex/images</local-path>+
+<url-pattern>*</url-pattern>+
+</virtual-directory-mapping>+
+</weblogic-web-app>+

What could be the cause of the problem?

Edited by: RideTheStorm on Jan 17, 2013 9:57 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 15 2013
Added on Jan 17 2013
4 comments
2,008 views