Skip to Main Content

APEX

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!

How to configure *application and workspace* static files after upgrade from 4.2 to 5.0?

Skip - AbsoluteApr 18 2015 — edited May 19 2015

Hi.

I just upgraded from 4.6 to 5.0 on Windows 7 64-bit.  Running ORDS 2 and Tomcat.  Both APEX and my application run.  APEX images are OK.

Problem: Application and workspace images do not display.

Here are the different paths:

  • C:\apache-tomcat-7.0.59\webapps\i  
  • C:\APEX\images

I copied the contents of the APEX images directory to the tomcat webapps\i directory. 

I ran both flavors of the image load script, and each completed without errors.

  • SQL> @apxldimg.sql c:
  • SQL> @apex_epg_config.sql c:

I am able to log on to APEX admin or developer mode, and everything looks all right and works all right. 

I'm able to log in to my application, and it works, but the images, such as the logo, are not displaying.  The application's CSS file is not being used.

The page source shows this in the <head>, where "pva" is the workspace name:

<link rel="shortcut icon" href="pva/static-files-not-configured/files/static/v4Y/eprentise_favicon-32x.png" type="image/x-icon" />
<link rel="stylesheet" href="pva/static-files-not-configured/files/static/v4Y/epr_4_6.css" type="text/css" />

This is the logo in the <body> <hgroup>

   <a href="f?p=520:1:1212525121720" id="uLogo"><img src="pva/static-files-not-configured/files/static/v4Y/eprentise_default-logo.png" alt="eprentise demo" title="eprentise demo" height="50" /></a>

#WORKSPACE_IMAGES#  = pva/static-files-not-configured/files/static/v4Y/ , which is seen in the above locations.


#APP_IMAGES# = pva/static-files-not-configured/520/files/static/v2Y/, where the application_id is 520.  These images don't display either


My understanding is that the workspace and app images are not stored in the file system in the \i directory.


Any advice or pointer to documentation on how to configure the static files for application and workspace images and for the application's CSS file?


Thanks,

Skip

This post has been answered by Patrick Wolf-Oracle on Apr 21 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 27 2015
Added on Apr 18 2015
11 comments
24,562 views