Static files download problems

Is there any specific reason why I have to download the same javascript FILE STATIC 3 or 4 times before the changes are implemented in the application?

It's almost like the old file is put in cache or when the file is deleted there are enforcement once or twice so he can notice/implement the new file.

APEX: 4.0.2

THEME: SAND

SERVER: Oracle-Application-Server-10g/10.1.3.1.0 Oracle-HTTP-Server

Steven

I think I understand the problem, but don't know why it happened.

When I questioned the $ WWV_FLOW_FILE_OBJECTS and searched my file, there were 5 instances of it.

When I deleted all but 1 instance, everything worked again.

No idea why the file has not been entirely deleted when I clicked to remove static files?

Steven

Tags: Database

Similar Questions

  • on the large file download problem. Pls help. Thank you very much

    Hello.

    My application got a function is the downloading of files. App works when I download a small file (like a video (4 MB)).

    But had a problem about large file download.

    1. when I try to open a video file (size: 30 MB) use the code below, it cost much too much time to open it, how to optimize? :

               FileConnection fc = (FileConnection) Connector.open("file:///" + filePath);
                InputStream is = fc.openInputStream();
                ByteArrayOutputStream baos = new ByteArrayOutputStream();
                int j = 0;
                while((j=is.read()) != -1) {
                    baos.write(j);
                }
                postdata = baos.toByteArray();
    

    2. What is the file size limitation in by Httpconnection? HTTPConnection may transfer a large file (like 30MB video)?

    Any smaple can share to me?

    Thank you very much.

    In addition to what maghue gave you, I would recommend you rework your logic so that you don't send a 30 MB of data in a single shipment.  That's a lot of have to fire if it fails and this defect, especially on a WiFi connection not, chances are high enough, that I would have thought given the time it will take.

    In addition, the approach you've taken means that you have a buffer of 30 MB, as the transport mechanism to send the file.  You could reduce the memory required by a small segment of both reading and write in the http connection output stream, but that will always force the http connection to have a 30 MB buffer, which may have to be contiguous (depending on how it is implemented).  Normally transmission is not made until you ask the response code, so it will be stamped on the device.

  • The display of a static file downloaded content

    Hello

    APEX version is 4.0.2.

    I want to see the content of some static files (javascript files) that have been uploaded in the database. However, I see that the options 'Display install file Script' and 'Display delete Script file '. Is it not possible to simply download these files to the database?

    Thank you
    Matthias

    Hello

    You can change the view of your report of static files in the shared components of the icons to details. When you do so, you will see a download link for each file. In my opinion, the 'Details' should be the default view.

  • Vodafone UK wav file download problem

    Hi all

    I have a request that download a WAV from my server and play. So far, it works well in the United States and other parts of the world. However, in the Vodafone UK network, anything that has been downloaded is a wav file of 'silence' with small sounds of background hiss. Any who encounter this problem and know how to work around?

    Thank you.

    RML

    I finally found the solution to this problem. So that the Vodafone UK server does not interfere with the HTTP traffic, I added the following to the HTTP header:

    1 requestHeaders.setProperty("User-Agent", "Blackberry");
    2 requestHeaders.setProperty("Cache-Control", "no-transform");

    I hope this information can help someone.

    RML

  • WebVPN file download problem

    Hello world

    I have an ASA5520 with active WebVPN ASA 8.21 is software version.  I have users of webVPN login and need to download files from a cifs share.  Users successfully connect and gain access to the share.  However, it seems that when a file is greater than 2 GB, the download does not complete.  The download stops each time than 2GB.  If I log on locally and ride sharing, I can successfully download the entire file over 2GBs.    Is there a download through the WebVPN file limit?  Any other ideas of what could be the cause?

    Thank you

    Scott

    There are a few legacy group policy controls that allow you to restrict download, view, and download files.  What I read, I do not believe that these commands are hooked into the burner without ASA 8.x client.  I have this model in my lab to see if it really affects the max download file size.

    attributes of Group Policy WebVPNGroupPolicy
    Protocol-tunnel-VPN l2tp ipsec webvpn
    WebVPN
    size of download-max 3000000

    size of download-max 3000000

    mini-Max-size 3000000

  • APEX 5 - problem with static files after Installation

    Hello

    I've updated my development environment of APEX 4.2.6 to 5.0.0 with REST Data Services.

    Whenever I enter the Administration Services login page or run my application, I get the following message:

    There are problems with the configuration of static files in your environment. Please see the section "Configuration static file Support" in the Guide of the Installation Application Express.

    In Administration Services everything looks and works very well, but in my application there is no static file from the workspace loaded (for example CSS-files, images,...). The links "broken" to these files are translated in this way:

    <link rel="stylesheet" href="lets/static-files-not-configured/files/static/v1Y/lets.css" type="text/css">
    

    After some research, I discovered, that static files normally appear in my workspace in the Administration Services - I can access it and download it. BUT: When I compared the scheme with APEX_050000 APEX_040200 in the database, I discovered, that static files were not copied to the new instance (in the view APEX_WORKSPACE_FILES are just a few files...).

    Does anyone have an idea what the reason would be so?

    Thank you

    Christian

    Hi Christian Klingbacher,.

    I've updated my development environment of APEX 4.2.6 to 5.0.0 with REST Data Services.

    Whenever I enter the Administration Services login page or run my application, I get the following message:

    There are problems with the configuration of static files in your environment. Please see the section "Configuration static file Support" in the Guide of the Installation Application Express.

    In Administration Services everything looks and works very well, but in my application there is no static file from the workspace loaded (for example CSS-files, images,...).

    • You have configured the RESTful Services during the installation of Oracle APEX?

    Reference: https://docs.oracle.com/cd/E59726_01/install.50/e39144/listener.htm#HTMIG29335

    Reference: http://docs.oracle.com/cd/E37099_01/doc.20/e25066/install.htm#AELIG7217

    The file Support static configuration to demand Express Installation Guide (using ORDS) says:

    RESTful Services configuration is necessary when upgrading to Oracle Application Express version 5.0 and RESTful Services were not configured in a previous version.


    See the thread with the same question: How to configure * application and the workspace of static files after upgrade from 4.2 to 5.0?

    I hope this helps!


    Kind regards

    Kiran

  • Optimize the download of static files in APEX developemnt

    Heyo!

    I use apex 4.2.6.

    Scenario:

    I use the js or css custom referenced in my application file. Whenever I need to change something that I have to open my file in my editor (ST3), edit it, save it, remove the old static file in the apex, download the new and then check the results.

    It is extremely tedious. Is there an easier way? Something like from the file system? Just while I am in the process of development.

    Hi Para,

    Para wrote:

    I checked the folder of images on my server and it is not all the files I've downloaded at the apex. It contains only the ordinary images/js/css... files needs to this Summit.

    Yes. It contains the files of images/js/css for the constructor of the APEX. But you can create a new folder at the location of the East and store your images/js/css application files and send them using the #IMAGE_PREFIX #yourfolder/yourfile.js, instead of upload to SEO and the shared components using #APP_IMAGES # #WORKSPACE_IMAGES or #.

    Kind regards

    Kiran

  • After the upgrade of the APEX 4.2 to 5.0 problems with static files

    Hello

    After the upgrade from 4.2 to 5.0 works of apex APEX (Apex runs on thothgateway 1.4.1 Morten Bråten.) but once the connection I get this message: "there are problems with the configuration of static files in your environment. Please see the section "Configuration static file Support" in the application Express Installation Guide. "and the page designer says"no page or page has no templates".

    OTN I found only advice for APEX with ADR.

    I tried to apex_rest_config and apex_epg_config.sql but without result.

    Apex works on thothgateway Morten Bråten 1.4.1. (I know: it is not supported.)

    Best regards

    Marco

    Hi Marco W.

    In the "Setup Guide" to "Thoth Gateway 1.4.1" go to 'step 3.' Configuration of DAD' and change/add the parameter:

    • PlsqlPathAlias the r value
    • The value PlsqlPathAliasProcedure wwv_flow.resolve_friendly_url

    Re-start the Middle Tier and check.

    It is of note for OSH who said:

    Note:

    PlsqlPathAliasand PlsqlPathAliasProcedure are required new parameters that must be added to an existing DAD. This is important when the upgrade to Application Express version 5.0.

    Reference: https://docs.oracle.com/cd/E59726_01/install.50/e39144/http_server.htm#HTMIG29263 (see the note below point 2)

    Kind regards

    Kiran

  • SE "There are problems with the configuration of static files in your environment" after the APEX 5 install using Oracle HTTP Server

    There is not much information in the doc around the new configuration of static file.  Someone at - it an example of this dads.conf he file should look similar to static files?  Everything else seems to work fine - it's my only hang up now.

    Thank you!

    Exact pop-up message:

    There are problems with the configuration of static files in your environment.  Please see the section "Configuration static file Support" in the Guide of the Installation Application Express

    I figured it out on my own - the doc has a section "6.5.4 configuration Support for static file" which basically said yes, it is now supported for static files, then a "see also:" link to the dads.conf section, that I'm not good enough to see there are now 2 new parameters in your dads config file...  All is ready!  It works!  YAY!

  • js and css downloaded from apex of static files 4.2.4

    Hello

    1. I need to know in what file are stored files js downloaded from 'components shared - static files?

    2. I need to know in what file are stored the css files downloaded from "sharing of components - Cascading Style Sheets?

    My version of the apex is 4.2.4.

    Thank you

    Iulian

    Hi, Alban,.

    These files are not stored in a folder, they are stored in the database. You can access in your application by specifying

    • #APP_IMAGES #your_file_name.js (if it is a static file that is stored for an application) or
    • #WORKSPACE_IMAGES #your_file_name.js (if it is a static file for your workspace).

    The #APP_IMAGES # and #WORKSPACE_IMAGES # substitution variables will be automatically replaced with a URL to retrieve the files of the database.

    Concerning

    Patrick

    Member of the APEX development team

    My Blog: http://www.inside-oracle-apex.com

    APEX Plug-Ins: http://apex.oracle.com/plugins

    Twitter: http://www.twitter.com/patrickwolf

  • the construction of my portfolio on Muse site. Download my examples of banner ads that are SWF files, no problem. I need to download HTML5 banners I have done, but cannot get them on my page in Muse. Also, here the HTML5 banner ad to appear on a break, th

    Build my portfolio in Muse site. Download my examples of banner ads that are SWF files, no problem.

    I need to download HTML5 banners I have done, but cannot get them on my page in Muse.

    In addition, would be like HTML5 banner ad to appear in pause, then Viewer would click to watch it animate.

    Anyone know to solve it for it?

    Have you tried to insert via object > insert HTML?

    https://helpx.Adobe.com/Muse/topics/Embedding-HTML.html

    https://helpx.Adobe.com/Muse/using/adding-edge-animate-content.html

    Thank you

    Sanjit

  • -A file association problem exist, which prevents the file you are trying to download from being associated with the correct application of the operating system using the windows 7 IE 11

    --Is a file association problem, which prevents the file you are trying to download from being associated with the correct application of the operating system

    IN USING THE WINDOW 7 IE 11 HOW CAN I FIX IT?

    Try to download the installation offline programs:

  • Difference between downloading a file JS under "Static files" and "Images".

    I got to know of 2 ways in which the "JS" files can be downloaded in application APEX "Shared Files" and "Images".

    I would like to know the difference and how it should be used once its downloaded through "Static Files".

    I don't think it makes a difference when you download your JS files, but you would link/load them in your pages in the same way it is using WORKSPACE_IMAGES and APP_IMAGES, prefix depending on how your downloaded.

    Not just one of these methods, the images in the comic book extractions/stores and therefore a DB connection is open when the resource is requested. A better option is to load it into the file system HTTP (prefix of image or less/i) directory server so that a direct URL can be used.

  • Import the Javascript library as a static file not work but working from URL

    Hi, I need to use the oCanvas library: download - oCanvas - oriented drawing canvas object in a page.

    I followed this guide: filing of APEX JavaScript static file

    I've downloaded the library and the updloaded in sharing of components/static files and referenced in the page header:

    < script src = "" #APP_IMAGES #ocanvas.js "type =" text/JavaScript"> < / script >"

    On the page, I created a html subregion and in the body, used the following test code:

    < canvas id = "canvas" width = "200" height = "100" > < / canvas >

    < script >

    output function (label, entry) {}

    var out = document.getElementById ("output"),

    input_string = ' ", i, number;

    If (typeof input = 'object') {}

    input_string += "{\n";

    for {(i input)

    number =! isNaN (parseFloat (input [i]))? true: false;

    input_string += ' < span class =------"tab\" > \t </span > ' + i + ":" + (number? ' ")". " "': ' \ '") + input [i] + (number? "": "\" "") + "\n";

    }

    input_string += '} \n ";

    }

    out.innerHTML += (out.innerHTML = ""?) ("": "\n") + label + input_string;

    }

    var c = document.querySelector ("#canvas"),

    CTX = c.getContext ("2d");

    c.Width = window.innerWidth;

    c.Height = window.innerHeight;

    c.addEventListener ("touchmove", function (e) {e.preventDefault ()}; false);

    var canvas = oCanvas.create ({canvas: "#canvas", the decoration: "#222" "});

    Planet Center

    Var Center = canvas.display.ellipse({)

    x: canvas.width / 2, y: canvas.height / 2,.

    RADIUS: canvas.width / 20,.

    fill: "#fff."

    ({. add()});

    Prototype that will be used to instantiate other objects

    var satelliteProto = canvas.display.ellipse ({fill: "#eee"});

    var pathProto = canvas.display.ellipse ({stroke: "1px #999"});

    Implement data

    satellites of var = [], depth = 3;

    var satelliteColors = ["#107B 99", "#5F92C0", "#c7509f"];

    var pathColors = ["#666", "#107B 99", "#5F92C0"];

    Create seven satellites and access roads. Definition is longer down.

    for (var i = 0, l = 7; i < l; i ++) {}

    createSatellite({)

    parent: focus, depth: 1,.

    distance: (i + 1) * canvas.width / 6,.

    RADIUS: canvas.width / 100,.

    Speed: 1

    });

    }

    Set up a tick function that moves all satellites each image

    canvas.setLoop (function () {}

    for (var i = 0, l = satellites.length; i < l; i ++) {}

    satellites [i] .rotation += satellites [i] .speed;

    }

    });

    Definition of a satellite and its corresponding path

    function createSatellite (options) {}

    Create the path which will follow the satellite

    var path = pathProto.clone({)

    Ray: options.distance,.

    x: options.x | 0, y: options.y | 0,

    strokeColor: pathColors [options.depth - 1]

    });

    options.parent.addChild (path);

    Create a new satellite

    satellite var = satelliteProto.clone({)

    origin: {}

    x: 0,.

    y: options.distance * (Math.round (Math.random ())?-1: 1)

    },

    Speed: Math.Random () * (2 * Math.Random () - 0.5) + 0.5,.

    Ray: options.radius,.

    x: options.x | 0, y: options.y | 0,

    filling: satelliteColors [options.depth - 1].

    rotation: Math.Random () * 360

    });

    options.parent.addChild (satellite);

    satellites.push (satellite);

    Create another satellite which will tour around the hub

    If (options.depth < depth) {}

    createSatellite({)

    parent: satellite, depth: + 1 options.depth,

    distance: options.radius * 7.

    RADIUS: options.radius / 1.5,.

    x: satellite.origin.x *-1, y: satellite.origin.y *-1;

    Speed: 10

    });

    }

    }

    Implement control of play/pause for the demo

    var text = canvas.display.text({)

    x: canvas.width / 2, y: 220,.

    origin: {x: 'Centre', y: 'Center'},

    filling: '#fff', size: 25, weight: 'bold', text: 'Play '.

    ({. add()});

    Canvas.bind ("click tap", function () {})

    Text.Text = canvas.timeline.running? 'Play': 'Pause '; Canvas.Redraw ();

    Canvas.Timeline [Canvas.Timeline.Running? "stop": "start"] ();

    });

    < /script >

    That does not work, but if I change reference from the page to the next header it works:

    <script src="http://cdnjs.cloudflare.com/ajax/libs/ocanvas/2.7.2/ocanvas.min.js"></script>

    What can I do to use the static reference correctly?

    It's a library problem?

    I created a test workspace, there are two pages with the static reference and the other with the URL reference, here's the connection info, if you want to try it:

    https://Apex.Oracle.com/pls/Apex/f?p=4550:1:0:

    workspace: ocanvas

    user: user

    Pass: ocanvas

    Thank you for your time.

    The file you have downloaded seems to have some formatting problems (missing CR/LF?).   I downloaded the same file from the remote site and referenced and it works.  Also, you can simply reference the file in the page URL of file header instead of add field tags in the html header scripts.

    -Jeff

  • JavaScript as a static file or file system?

    Hello

    We use the APEX 3.2 with Oracle 10 g and Oracle HTTP Server.
    I know there are two ways to include custom javascript source files in an application:
    1) download as a static file to the workspace or the application and refer using the # #WORKSPACE_IMAGES tag # or #APP_IMAGES.
    (2) put on the Web server as a file on the file system under the images directory and refer using the #IMAGE_PREFIX tag #.

    Are there advantages of performace (caching perhaps?) to use one method over the other?


    Thank you
    Matthias

    Hello

    Download in the form of static files has the advantage of being stored in the database (such as retrieval etc.), but is generally slower. In previous versions, it also prevented the caching, but this problem has been fixed now.

    However I have noticed significant storage performance benefits in the file system, it is much faster (there no round-trip to the database to retrieve them.). It also means that they can be shared with other non-apex applications, easily. It is also independent, app/workspace

    How I organize it is to have a base directory for recording things like the external libraries (ExtJS, jQuery, etc.) you want shared on a global scale. They are saved by the ie version.

    /Custom/core/ExtJS/2.3.0
    /Custom/core/ExtJS/3.0.0

    Then I create a substitution at the level of the application than the cards called /custom/cor/extjs/2.3.0 to & EXTJS. then I can change the full version at the application level and without having to modify the templates whenevr a different version is necessary. It goes the same for levels theme files and work space. If my file structure has these levels.

    core/custom /.
    space of work/custom /.
    /Custom/workspace/.../application
    /Custom/workspace/.../theme
    /Custom/workspace/.../application/.../theme

    Once again, everything that he mapped with chains of substitution to make reference and path of change more easily.

    Very fast, very simple.

    See you soon

    Ben
    http://www.munkyben.WordPress.com
    Don't forget to mark the answers useful or correct ;)

Maybe you are looking for

  • If the box is checked, SUM Qty of the reds only

    Column a: checkboxes Column B: colors (red, blue, green, etc.). [expression] Column C: quantity What I need the formula to do is... If the box is checked, SUM quantity of Red only.  In this case, the answer would be 35. What is the formula to calcula

  • HP Pavilion g6-1b39wm: upgrade the processors HP Pavilion g6-1b39wm

    Sorry if this question has been asked over and over.  Just could not get a clear answer from HP. I have a g6-1b39wm with processor AMD E350 Pavilion.  Seems to be a specialized processor designed for laptops.  Low watt, unusual design. I want to put

  • LabVIEW 2010 E4406 1XEVDO/CDMA2k pilot

    We recently bought labview 2010. I installed the drivers for Agilent E4406A VSA but it only installed the drivers for the GSM and WCDMA. Our product is running on CDMA2K (1xRTT) and EVDO-RA. How can I get labview 2010 drivers for it so that I can con

  • Using Subvi under control?

    Hi all I have tried to create a custom two-boolean control where one is 'SAVE?' and the other is a "SCREEN"? The two buttons need to be bound by the simple logic that if the DISPLAY is off, turning SAVE on towers on SCREEN, and to REGISTER, the DISPL

  • KVM does not work with the mouse

    I recently bought a pink switch KVM 4 port. I bought a microsoft keyboard and wireless mouse.I also bought a mouse 3000 and 4000 mouse. I have a pink usb to ps2 tranalator to the KVM.The keyboard and mouse 3000 work great togeather, but I can't get t