Flash chart fails through proxy

I've had to setup one of my applications recently to run through an Apache proxy to reach my Oracle HTTP server. It's setup as a 'reverse proxy' and works fantastic for everything - except my flash charts.
Does anyone have any idea why this is failing and how I might fix this? I've noticed that there is a parameter in the chart XML
<param name="allowScriptAccess" value="sameDomain">I've Googled this and found very little that tells me exactly what this parameter is controlling, and whether it might be causing this problem. Anyone have any ideas?
Earl

Hi Earl,
The 'problem' is that the #HOST# substitution string in the Region Source for the Flash chart, will be using the fully qualified address for your internal machine rather than picking up the settings (particularly the port) from the requested server.
In other words, if you have -
Publically Accessible Server - running on port 80
Internal machine - running on port 7780 (for example)
then the #HOST# substitution would use port 7780 (which would not be routable from the public facing site).
There are a couple of workarounds, including passing through the host and port through to your mod_plsql environment, e.g. adding this to your DAD -
PlsqlCGIEnvironmentList    HTTP_HOST=<public hostname>:<public_port>for example -
PlsqlCGIEnvironmentList    HTTP_HOST=foo.com:80This might, of course bring it's own problems if you rely on using HTTP_HOST internally in your processing, but as you can imagine there's ways to work around that too (which I'll share if you need to, otherwise I'd just be typing it for no reason!).
As another workaround, you can edit the region source for your Flash charts and replace the #HOST# string with a 'correct' hard-coded value appropriate for your environment, but long term this isn't a great solution.
Hope this helps,
John.

Similar Messages

  • Flash fails through proxy

    I've seen this thread but no real answers. I'm trying to listen to audio on MySpace through the flash player. (myspace.com/fatwreck) I see the connection bypass my proxy settings and try to go direct over 1935 then 443 then 80, but it never trys to tunnel through the proxy. I'd expect it to fall back to 1935 tunneled over port 80. No go. Is this a failure in the Flash programming on the site? Is this expected behavior? ;-< Anyone have any suggestions to fix this? Allowing any of these port access direct access to the Internet is not a solution for me. Thanks for any suggestions.

    Hi Earl,
    The 'problem' is that the #HOST# substitution string in the Region Source for the Flash chart, will be using the fully qualified address for your internal machine rather than picking up the settings (particularly the port) from the requested server.
    In other words, if you have -
    Publically Accessible Server - running on port 80
    Internal machine - running on port 7780 (for example)
    then the #HOST# substitution would use port 7780 (which would not be routable from the public facing site).
    There are a couple of workarounds, including passing through the host and port through to your mod_plsql environment, e.g. adding this to your DAD -
    PlsqlCGIEnvironmentList    HTTP_HOST=<public hostname>:<public_port>for example -
    PlsqlCGIEnvironmentList    HTTP_HOST=foo.com:80This might, of course bring it's own problems if you rely on using HTTP_HOST internally in your processing, but as you can imagine there's ways to work around that too (which I'll share if you need to, otherwise I'd just be typing it for no reason!).
    As another workaround, you can edit the region source for your Flash charts and replace the #HOST# string with a 'correct' hard-coded value appropriate for your environment, but long term this isn't a great solution.
    Hope this helps,
    John.

  • "loading data. please wait." message on flash charts after releasing to 3.1

    We are experiencing "loading data. please wait." message on all flash charts after exporting our app from dev (3.1.2) where all of the charts work fine and importing it into prod (3.1.2) where the message occurs.
    A work-around has been found by resetting the #HOST# variable in charts' regions' source code
    from:
    XMLFile=#HOST#apex_util.flash?
    to:
    XMLFile=<physical URL of the production app>apex_util.flash?
    Obviously this is an ugly work-around and requires a lot of work every time we do a release because it gets overwritten back to #HOST# with ever import (we have quite a few flash charts).
    Any suggestions, or rumors when this "bug" will be fixed?
    Thank You
    Boris

    Hello,
    Take a look at this thread and see if it addresses your problem -
    Flash chart fails through proxy
    BTW it's not really a 'bug' ;)
    John.
    http://jes.blogs.shellprompt.net
    http://www.apex-evangelists.com

  • Adding Pix device public interface through Proxy server into CSM Fails

    Hi
    I am trying to add a device into CSM. The device is only reachable through proxy server. If i try to add the device, the connectivity test fails" unable to communicate with device". If i debug on the PIX i see no connection attemps. If imake a https connection from the Explorer from the windows server running CSM i get connected. I have set the proxy settings under Server Administration. I can update packages from CCO through the proxy. Is there somewhere else to tell CSM to run through proxy ?

    Hello,
    maybe your problem has to do something with loading SLPDA.NLM. If you
    cannot get to open Autoexec.ncf then go back to DOS-Mode, rename this
    file in C:\nwserver-directory and start again. i have seenthis behaviour
    on servers loading SLPDA with no network-communication and they stop
    loading at WPSD.NLM. Try to load SLPD.NLM manually when the server is
    up. After that shift the line in Autoexec.ncf where you want to load
    Slpda.NLM to the end of the file and boot the server again to see what
    happens.
    Good luck
    Burkhard Wiegand
    Netware Admin
    Debeka-Versicherungen
    D-56068 Koblenz

  • Can't get working flash chart through SSL (Apex 4.0)

    Flash chart does not works in Apex 4.0 using ssl and Apex Listener (on glassfish v3 ). In firefox it just writes "No data found", in google chrome it writes "error loading file http://.../apex/apex_util.flash?..."
    Any help will be appreciated, thanks.

    Hello Emma I presume your in the UK.
    In the UK PPPoA is the standard PPPoE is not supported by many ISP's.
    On your Mac just use DHCP in your Network settings. Do not use PPPoE.
    Then login to your router's web configuration page. http://192.168.0.1 or http://192.168.1.1. Admin and Password are the usual login details for netgear routers.
    use the following details
    PPPoA
    VC-Mux
    Chap authentication
    vpi and vci are 38,0
    and of course use your isp username and password.
    Post edited. I just noticed you had already figured out the correct details.
    Message was edited by: Tim Haigh

  • Getting through proxy servers

    Hello,
    Does anyone know if the URLRequest / Loader classes are able
    to connect through proxy servers? In other words, does Flash read
    the PC's proxy configuration and automatically use it?
    Also, I was wondering, if one was to create a Socket and then
    connect to a web site...
    mySocket.connect("www.mydoman.com", 80);
    but the user's PC uses a proxy server to connect to the
    Internet, would this
    connection succeed or fail?
    Thanks for your insight.
    Dan

    Check the links below out. I think it may help you out some.
    http://bugs.adobe.com/jira/browse/FP-519
    http://bugs.adobe.com/jira/browse/FP-673

  • Drill Down Flash Charts dont refresh in IE

    Hi Friends,
    I am facing a typical issue when I have drill down charts in IE.
    To mimic the scenario that I am facing in my project I have created a sample project in my workspace ntekupal with login guest/apex_demo. Run the application project Emp Dept Dashboard.
    Note : Make sure you use IE to reproduce this issue
    Issue Reproduction :
    1) Select 'Accounting' department from the Departments bar chart by double clicking it(this is one more issue in IE which really annoys me).
    2) Navigate to Employees chart and observe that the Deptno text box shows '10' with the list of employees in the bar chart for Deptno - 10.
    3) Go back to previous page using breadcrumbs.
    4) Select 'Research' and it would again put you back to Employees page showing employee list for Deptno - 20.
    5) Now repeat step-3 and select again 'Accounting'
    6) Observe that the employees shown are not for Accounting Department. It is still showing for Research but the deptno text box would show the value 10(which is correct).
    7) Refresh the page then the employee bar chart would display the actual employees in Research deptmnt.
    Now run the same application in Mozilla and it works perfect.
    I know this could be some caching issue in IE but not sure how to fix this.
    It really freaks me out and my users do not wan to use Mozilla. In my project I am using a bunch of flash charts(bar & pie).
    I appreciate if I can get some of your precious inputs on this situation.
    Thanks,
    Raj.

    I have to, respectfully, take the opposite point of view on this topic. It is very much the applications responsibility to communicate to the browser that the page is dynamic. There are even meta tags specifically for this purpose.
    That said, I concur to the true underlying concern of the above two posts that you would not want a page updating any IE global settings.
    There are commonly two solutions used to solve page caching issues:
    1) There are meta tags shared disparately by certain browsers to disable cacheing, set expiration dates, and similar activities. Each browser honors the settings differently, however, you can safely "stack" several versions together and there are web-sites that suggest the appropriate combination to hit the major browsers.
    The tags to look for are CACHE-CONTROL, EXPIRES, REVISIT, and possibly others. Look them up under each browsers developer documentation as some variation exists in usage. The latter two are for search engines, but several of the browsers will use them in normal page hits.
    That said, IE inconsistently honors these tags, even from version to version, so,
    2) The end-all hack solution is to include a random value in the URL to create a unique URL on each attempt to access the page. Normally this can be achieved through a page or application item that is update on every page view and is passed on the URL line.
    This solution is also commonly used because Proxy's may not honor the tag and so will continue to re-send the proxy version every time the browser requeries.
    Whether this is possible in the Chart drill down I do not know as I haven't used this feature yet, but these are the two solutions you will find browsing the web against page caching.
    I have invariably always had to resort to (2) to get absolutely real time data, unless I am in a corporate environment that used a standard and stable version of the browser.
    Under no circumstances would I prefer to set the IE's always retrieve latest page setting, as this affects every page that IE requests.
    Hope this is helpful,
    Barney

  • Apex 3.1 and Custom Flash Charts

    I am having difficulty getting to the point where my custom flash charts can be displayed. I have Oracle 10.2, over OHS to Apex 3.1. I cannot post any of the config files or code here because it is a different network, so I realize it will be hard to troubleshoot; and I apologize in advance.
    I would use the canned Flash charts, but my application displays data much like MS Outlook's multi-user calendar does. The chart has to be color coded, similar to Outlook's Busy vs Tentative etc. It has to show multiple events at various times, including overlapping times. And it has to handle schedules for multiple people. Lastly, there are of course gaps in the schedule, because no day is comprised entirely of meetings. That is why I felt I had to do it manually.
    I wrote XML/SVG code to do this previously, with HTML DB 1.5, and it worked fine. But Flash is the way we are going now, and I can't use SVG anymore. (Besides, Adobe says SVG will no longer be supported next year.)
    I followed the thread of April 07 in which MAdelfio posted suggestions, but I can't get it right. I did everything listed except I never included the <data>...</data> code, because I am not sure where it goes. I have a custom written stored proc, exactly like in the thread, and I pass it all the args that apex_util.flash wants. I get a malformed XML message when I try to display the chart. That seems like it should be a very straight forward error, but I can't figure out where to look. I have been using 1.5 for about a year, and last month upgraded to 3.1.
    Any suggestions on how to troubleshoot this? Or, failing that, any simple examples that display Flash charts in which the code was generated by a stored procedure?
    Thanks,
    Michael

    I'm sorry about not being able to provide all the info you need. Since it is on a totally separate network, with no access to the outside world, the only way I can do it is to print and retype everything. So I was hoping that someone could just provide suggestions as to where to look rather than providing answers. I understand that it is impossible for you to solve my problems, especially when you have been given no real information. And I don't want to keep you guessing -- I'd love to be able to just show everything and ask for help; I just can't.
    Anyway, I am trying to use only those facilities provided with Apex. I do not have any 3rd party tools except for Perl. I am using the standard shockwave flash plugin for Mozilla. The way I did it with SVG was to create a stored procedure that generated an XML file. I put a button on the page that ran the stored proc and then redisplayed the page, with an HTML region. That region included an iframe, where the source was a perl script that merely regurgitated the SVG script (for some reason I could not get the iframe to accept XML as a source, so I created send_svg.pl, which merely outputted the named SVG file).
    The format I followed was in this thread: Re: Custom Flash Charts
    I even created a replacement proc for APEX_UTIL.FLASH with the exact output as the thread, knowing that even if it worked I'd still have a ton of work making it produce my chart. But once I can get the infrastructure right, I feel I can write the flash XML.
    Maybe the easiest thing is to scan that thread I referenced and tell me if it is still accurate? That is, could anything have changed in 3.0.1, or should it still work? It is possible, maybe even likely, that I made a mistake retyping all that stuff, so maybe just verifying that it SHOULD work is a good start.
    Thanks again, and sorry again.
    Michael

  • ASA cut through proxy with RADIUS challenge response?

    Have this working for IPSEC VPN on same box (tested on 8.2.1 and 8.2.3)
    Want to do cut through proxy with challenge response - same ASA and same RADUIS server but using aaa authentication match command and this is what happens...
    It looks like the ASA sends a completely different radius authentication request than with VPN authentication request. Is there any way to specify what request is sent?
    What the RADIUS Server sees with ASA VPN auth - THIS WORKS OK (included for comparison)
    Date: 15/11/2010
    Time: 3:53:57 PM
    Type: Information
    Source: Server
    Category: RADIUS
    Code: I-006001
    Description: A RADIUS Access-Request has been received.
    AMID: 0xC8500B80B3D8F49C6CB37E5D32DA6682
    Details:
    Source Location : 10.xx.21.24
    Client Location : 10.xx.21.230:1025
    Request ID : 31
    Password Protocol : PAP
    Input Details : RADIUS Code:1, RADIUS Id:31, , User-Name:xxxx, User-Password:******, NAS-IP-Address:10.xx.21.230, NAS-Port:31, NAS-Port-Type:Virtual, vendor(9):attrib(1):0x1A2000000009011A69703A736F757263652D69703D31302E32312E352E313137, Calling-Station-Id:ip:source-ip=10.21.5.117
    Action : Process
    What the RADIUS Server sees with ASA cut thru - THIS FAILS (any help V welcome)
    Date: 17/11/2010
    Time: 2:29:31 PM
    Type: Warning
    Source: Server
    Category: RADIUS
    Code: W-006001
    Description: An invalid RADIUS packet has been received.
    AMID: 0xC19D988F83365F20151C3F6339DEC74B
    Details:
    Source Location : 10.xx.21.24:1812 (Authentication)
    Client Location : 10.xx.21.230:1025
    Reason : The sub-protocol of the received RADIUS packet cannot be determined
    Request ID : 33
    Input Details : 0x01210066055A8B6881266714BDB20380B9FE5FAC01066962333504060AC815E60506000000203D06000000051A2000000009011A69703A736F757263652D69703D31302E34302E352E3131311F1A69703A736F757263652D69703D31302E34302E352E313131
    Request Type : Access-Request
    Thanks in advance
    IB

    Hi Ian,
    sorry for the late reaction - do you still need help with this?
    The difference between the working (VPN) auth and the failing (CTP) auth seems to be that VPN is using PAP (so no challenge-response!) while the CTP is using MS-Chapv2
    So my guess is that your Radius server does not support MS-Chapv2. If that is the case then you may want to try this:
    aaa-server () host
    no mschapv2-capable
    Although this command is not really meant to be used in this scenario, so I'm not sure if it will work but I'm hoping it will make the ASA revert to PAP for all auth requests to this host.
    Note that you won't be doing challenge/response, so your passwords will be transmitted over the wire (encrypted).
    hth
    Herbert

  • Passing values to iframed page with flash chart.

    Hi,
    I'm trying to dynamically generate a series of charts within a sql report.
    In my report i make several calls to a page with a (flash) chart and i pass some values to this page/chart by setting page items through the source url of the iframe.
    The problem is that all the iframed instances of the page in my report display the same data although each iframe sets specific page item values through its source url.
    (only the page item values that were set by the last call to the page are being used by all the other chart instances)
    So why does this happen?
    Are the iframed charts rendered to slow?
    Is this a flash problem?
    Should i call each iframe within a seperate session?
    And does anyone know how to correctly pass values to the iframed page / chart so each instance of the page/chart displays the correct data?
    Thanks
    Niels

    Solved my problem by leaving the SESSION part blank in the src url of the iframe.
    Apex creates a new session for every iframe now, the page items values are not overwritten and the data is displayed correctly.

  • How to create pass-through-proxy?

    How do I create some kind of pass-through proxy that can listen and receive OCI, and then forward the commands to the oracle database (sometimes where the SQL is slightly altered). What is the best way to do this?
    I failed to find any relevant help in the docs. :-(
    Thanks in advance!

    Anyone? I guess what I'm looking for is how to receive instead of just sending OCI commands, and extract the SQL from the received OCI commands/packages for possible modification/refactoring.

  • Use flash charts from multiple base URLs

    My APEX apps are hosted by a shared service provider who uses a front end proxy. Following the instructions in this forum, I was able to get flash charts to work by substituting my client URL for #HOST#.
    Example, Change:
    <embed src="#IMAGE_PREFIX#flashchart/
    #CHART_TYPE#.swf?XMLFile=#HOST#apex_util.flash?p=&APP_ID.:5:&APP_SESSION.:FL
    OW_FLASH_CHART_R#REGION_ID#"
    to
    <embed src="#IMAGE_PREFIX#flashchart/#CHART_TYPE#.swf?XMLFile=
    http://mydomain.hostingcompany.com/pls/apex/apex_util.flash?p=&APP_ID.:5:&APP
    _SESSION.:FLOW_FLASH_CHART_R#REGION_ID# "
    I changed this base url in multiple locations in the chart source code and the charts now work.
    THE PROBLEM
    Users access the site via a public domain http://www.xyz.com. In order to get the charts to work I then need to change #HOST# to http://www.xyz.com/pls/apex. Then they no longer work when accessing via http://mydomain.hostingcompany.com/pls/apex.
    Is there some way to get the charts to work irrespective of which path users take to get to the site?
    ANOTHER PROBLEM
    Though the above fix works for stand alone flash charts it does not work for the charts in interactive reports or the sample charts displayed when using the chart builder wizard in the application builder.
    Is there somewhere to change in order to get the sample charts in the create chart wizard in application builder and/or the charts in interactive reports?

    Hello,
    Take a look at this thread -
    Re: #HOST# variable at Flash chart region source
    Which discusses the issue.
    John.
    http://jes.blogs.shellprompt.net
    http://www.apex-evangelists.com

  • Flash Chart Translation Issue

    I have a region defined which is basically a pie chart based flash chart. The chart has 1 series for which I have defined a message saying 'You have no open tickets' when there is no data for the query. In english, when in fact there is no data, I see the message above which is correct. However, when I go through translating the app, and then log into french, I still see the english message appearing. I cannot find the message in my translation file at all, which tells me that it is not being picked up for translation. To me this is a bug, because it should be allowing me to translate this so that the above message will be in french for our french users. Anyone have any ideas on this?

    Yes it is a bug I think. At least in 3.0, the version I am currently using. My application was in french and all the "no data found" were in the translation file. I made the correct translation in english. But whether I'm in french or english, the message is always in french, which is the primary language for the application. So i would think that it is a bug in 3.0. Don't know about 3.1 though

  • How to customize Flash Chart color scheme (Look 1 etc..)

    Hi,
    Is their any way I can customize the Flash Chart color schemes (Look 1, Look 2). I know there's a "Custom" option but I'd like to define what Look 1 is so that I don't need to use custom values for each chart.
    Thank you,
    Martin
    [http://apex-smb.blogspot.com/]

    Thank you Dimitri
    What you suggest is what I am currently doing.
    But let's say I have to change the colors in all my graphs, I would have to go through all of them and change the "Custom Colors".
    I was looking for something similar to a template where I would only have to change the color definition in one place...

  • Flash Chart Series : SQL Query Validation

    Hello,
    I probably found a bug on the SQL Query Validation for Flash Charts, if I have two subqueries, the validation fails:
    SQL Query example:
    SELECT NULL, a, b
    FROM (SELECT c a, d b FROM
    ( SELECT 'first' c, 2 d FROM DUAL))
    Error returned:
    "Failed to parse SQL query:
    ORA-06550: line 1, column 45: PLS-00428: an INTO clause is expected in this SELECT statement"
    Is this problem known or is there just something that I do wrong ?
    Christophe

    Yes it was that problem, but I still have an issue:
    How do I set the Flash Chart to use a PL/SQL function in the first place ?
    When I try to enter:
    "return package.function;" in the Create Region Wizard, I get the following error:
    Failed to parse SQL query:
    return EXPERT.getFullListSQLByNC
    ORA-00900: invalid SQL statement
    Certain queries can only be executed when running your application, if your query appears syntactically correct, you can save your query without validation (see options below query source).

Maybe you are looking for

  • PDF to MicroSoft Word

    Any suggestions as to the best/most efficient way to process Acrobat files to Microsoft word with the least amount of work in re-formatting? We currently have Acrobat 8 (Windows/OS-XP) and would like to know if there are any layered utilities to spee

  • My animate file seems to work fine locally, but the images aren't linked properly when I publish and post them to a web server.

    I have an HTML5 animation that I am working on. When I preview it locally, it seems to work fine, but when I publish and post it on our web server, it doesn't seem to be able to find the images. The images are all in the images folder and it all seem

  • Comps.xml in Oracle 8i inventory on Windows systems

    "comps.xml" file listing the Oracle installed components along with their details is usually found in the Oracle inventory directory (%ORACLE_HOME%\Inventory\ContentsXML\comps.xml). But I noticed on a few Oracle 8i database installations that the fil

  • ASMM  - DB_KEEP_CACHE_SIZE

    Hello colleagues 10.2.0.2 - MS2003 SP2 I'm using ASMM and I like to pin a frequently scanned table to the KEEP buffer. The parameter DB_KEEP_CACHE_SIZE is per default 0. Do I have to change this parameter to the size of the object (at least) I like t

  • Consigment is having problem

    Hi all, When i'm try to do the consigment settlements in MRKO but it shows the error " Vendor is not defined in Company code ". but last month i'm  tried the with same vendor last month it is created now i'm trying to runing with this vendor and diff