Flex application not working when deployed run from Server

Hi,
I have Flex application which takes a parameter from user, makes a web-service call and returns the message.
This application is running perfectly when I launch from IDE.
But when I copy the files from bin-release to server and launch it, it gives me no result.
In the crossdomain file on the server which hosts web-service, I have added the my host IP in the
allow-access-from domain tag.
In the initialization method of the application I load crossdomain using following code:
    Security.allowDomain("remoteservername");
    Security.loadPolicyFile("http://remoteservername/crossdomain.xml");
    var request:URLRequest = new URLRequest("http://remoteservername/crossdomain.xml");
    var loader:URLLoader = new URLLoader();
    loader.load(request);
Is there a way I can debug application when running from server?
Please give me some pointer to solve this problem.
Thank you.
Chintan

Alex thanks for reply
The URL for the app is http://<some_IP>/flex_app
<some_IP> is added in crossdomain.
Also we have outbound IP's and of these are also added in the crossdomain file.
This is the current content of crossdomain file:
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>
<allow-access-from domain="<some_IP>"/>
<allow-access-from domain="<outbound_IP1>"/>
<allow-access-from domain="<outbound_IP2>"/>
<allow-access-from domain="<outbound_IP3>"/>
<allow-http-request-headers-from domain="<outbound_IP1>" headers="SOAPAction"/>
<allow-http-request-headers-from domain="<outbound_IP2>" headers="SOAPAction"/>
<allow-http-request-headers-from domain="<outbound_IP3>" headers="SOAPAction"/>
</cross-domain-policy>
App runs perfectly fine when launched from Flex Builder.

Similar Messages

  • App Insights for web application not working when deployed to Dev server

    App Insights is not sending telemetry data for ASP.NET MVC web *requests* (page views from the JS instrumentation are fine) when the app is deployed to the Dev or Test IIS servers.  On local IIS express it works perfectly fine.    I have
    no idea how to troubleshoot this problem.
    Bert Jackson

    - the AI.config file is both in the root of the site, and the /bin folder (which was confusing the other day).  Both are correct.
    - it looks like a local browser can go to https://dc.services.visualstudio.com (it results in a 403 since its just a GET to the root).  During this test, I found that this server did NOT have the Root trust certificate (Baltimore cybertrust), which
    would cause problems when using IE locally to browse the app; the javascript AI logging was not working, because it couldnt fetch the ai.0.js file).  I got the proper root certificate installed on the server, but request logging still not working.  I
    dont believe the firewall is a problem.
    - I've verified that all binaries are indeed deployed in to the bin folder on the server
    - web.config does have the AI http module; I've verified via logging that the ApplicationInsightsWebTracking is loaded.  However, I have custom Context/Telemetry initializers, and their Initialize() methods are *NOT* being called when deployed on the
    server.  I've tried both ways of registering the initializers; via code in the Application_Start() event and also in the ApplicationInsights.config file.
    I don't know how to troubleshoot any further, to figure out if AppInsights is actually *trying* to send telemetry out and failing, or if its not actually even trying.
    Bert Jackson

  • ?Import ? Statmenet Not working When Deploying it on Server.

    What should be the process if I want to use import statement in RTf template on Standalone BI Publisher (Verision 10.1.3.4)
    I have uploaded both the main.rtf and include.rtf and I have put the <?import:include.rtf?> in main but it does not work.
    Please advise
    Thanks

    I did that but it complains that file not found. I used the following statement
    MAIN FILE
    <?import:include.rtf?>
    <?call:TC?>
    SUB TEMPLATE (include.rtf)
    <?template:TC?>
    TESTING THIS Include Page
    End Template
    It complains that file not found.
    I have uploaded both the file BI Publisher Console.
    May be I am putting the wrong path or something now sure.

  • Application not working after deployment in remote server

    I have a standard web application working in my localhost. But when I deploy the same in a remote server it gives the following exception. This happens for all the jsp:useBean. why is the container not able to fund the Beans. The Tomcat is installed properly and I use it's manager tool to deploy the WAR.
    I checked the WEB-INF/lib directory and it has all the required JARs.
    Error:
    org.apache.jasper.JasperException: Exception in JSP: /test/CurWeatherBean.jsp:22
    19:         <a href="index.jsp">[ index ]</a>
    20:        
    21:         <h2>CurrentWeatherMapBean.ATOMICS</h2>
    22:         <jsp:useBean id="cwmDAO" class="com.news.pub.weather.CurWeatherBean$ATOMICS" scope="request"/>       
    23:         <ul>
    24:             <li>
    25:                 <h3>List<CurWeatherBean> get()</h3>
    Stacktrace:
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:506)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:395)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    java.lang.NullPointerException
         com.news.pubt.forc.oc.Container.getReference(Container.java:68)
         com.news.pubt.forc.cfg.PropertyBag.getBag(PropertyBag.java:80)
         com.news.pubt.forc.cfg.PropertyBag.getProperty(PropertyBag.java:60)
         com.news.pubt.atomicsbeans.impl.ATOMICSBean.<init>(ATOMICSBean.java:61)
         com.news.pubt.atomicsbeans.ATOMICSAwareBean.<init>(ATOMICSAwareBean.java:175)
         com.news.pubt.weather.CurWeatherBean$ATOMICS.<init>(CurWeatherBean.java:131)
         org.apache.jsp.test.CurWeatherBean_jsp._jspService(CurWeatherBean_jsp.java:65)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)Please help me.
    Edited by: danbrown on Feb 8, 2008 8:32 AM

    Your error stack refers to a class with the package sequence "com.news.pubt.weather....." but your jsp file refers to a class "com.news.pub.weather...
    Is there an error in your jsp page? If so, did you change the package name, and do you still have old class files on the classpath on your local machine with the old name?
    Anyway, the top of the error stack refers to line number 68 in the Container class. So that is where you should see a problem regarding the NullPointerExcpetion. You could post that line of code.

  • The Horizontal & vertical scroll is not visible or not working when i run the form in Forms 6i.

    Hi all,
    The Horizontal & vertical scroll is not visible or not working when i run the form.
    In this form , there are 5 canvas namely
    CANVAS2 - Stacked Canvas
    PASS - Content Canvas
    MAT_RATES - Content Canvas
    DATE - Content Canvas
    PREVIOUS - Content Canvas
    I have set "Show Horizontal Scroll Bar" to "Yes" and  "Show Vertical Scroll Bar" to "Yes" in the WINDOW Property.
    I have  set "Show Horizontal Scroll Bar" to "Yes" and  "Show Vertical Scroll Bar" to "Yes" in the STACKED CANVAS Property .
    But still the Horizontal and Vertical Scroll Bar is not working when i run the Form.
    Help me with this please. How do i make it visible??
    Oracle Forms 6i..
    Thank You.

    Vijetha wrote:
    Hi all,
    The Horizontal & vertical scroll is not visible or not working when i run the form.
    I have set "Show Horizontal Scroll Bar" to "Yes" and  "Show Vertical Scroll Bar" to "Yes" in the WINDOW Property.
    I have  set "Show Horizontal Scroll Bar" to "Yes" and  "Show Vertical Scroll Bar" to "Yes" in the STACKED CANVAS Property .
    But still the Horizontal and Vertical Scroll Bar is not working when i run the Form.
    Help me with this please. How do i make it visible??
    Oracle Forms 6i..
    Thank You.
    hello vijetha,
    window and canvas show scroll bar when it need.
    You should show block property
    and set block scroll bar
    hope this helps..
    Hamid

  • Flash catalyst cs5.5 not working when i run the project

    when i ran prodjects in flash catalyst cs5 it came up as a webpage that could scroll, now in cs5.5 when i run the prodject it cannot scroll and it doesn't scroll when you export for web servers, help much apreciated.

    Vijetha wrote:
    Hi all,
    The Horizontal & vertical scroll is not visible or not working when i run the form.
    I have set "Show Horizontal Scroll Bar" to "Yes" and  "Show Vertical Scroll Bar" to "Yes" in the WINDOW Property.
    I have  set "Show Horizontal Scroll Bar" to "Yes" and  "Show Vertical Scroll Bar" to "Yes" in the STACKED CANVAS Property .
    But still the Horizontal and Vertical Scroll Bar is not working when i run the Form.
    Help me with this please. How do i make it visible??
    Oracle Forms 6i..
    Thank You.
    hello vijetha,
    window and canvas show scroll bar when it need.
    You should show block property
    and set block scroll bar
    hope this helps..
    Hamid

  • Transferred CS4 to new MacBook Pro, now some fonts will not work when PDFing documents from InDesign CS4. Help!

    I recently purchased a new MacBook Pro. I transferred my CS4 from my older MacBook Pro to my new computer, and although it seemed to be working fine now some fonts will not work when PDFing documents from InDesign CS4. These fonts are installed on my new computer, can be found in InDesign CS4, and work fine within the program but will not appear in PDFs. The letters turn into rectangles. Does anyone know why, and how to fix that?
    Help/input would be much appreciated. Thank you!
    Kristen.

    you should properly install adobe products, not move, migrate or otherwise transfer them.
    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  12 | 11, 10 | 9,8,7
    Lightroom:  5.5 (win), 5.5 (mac) | 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • Will the reports developed in sql server 2008 r2 BIDS work when deployed on sql server 2012 reporting manager

    Will the reports developed in sql server 2008 r2 BIDS work when deployed on sql server 2012 reporting manager?
    when I check on Microsoft site it says
    Reports are not upgraded when you upload a report definition file directly to the report server
    or SharePoint site. Upgrading a report definition in SQL Server Data Tools is the only way to upgrade the .rdl file.
    When you open an .rdl file in Report Designer in SQL Server Data Tools (SSDT), if the report was
    created for a previous namespace, Report Designer automatically creates a backup file and upgrades the report to the current namespace.
    This is the only way you can upgrade a report definition file.
    Now here is another confusing statement which says
    You can upload an .rdl file created in an earlier version of Reporting Services to a SQL Server
    2012 report server and it is automatically upgraded on first use. The report server stores the report definition file in the original format. The report is automatically upgraded the first time it is viewed, but the stored report definition file remains
    unchanged.
    All I want to know is if I deploy a rdl made in 2008 r2 to 2012 will it work on the report manager of
    2012?
    <o:p>
    </o:p>
    Mudassar

    I have tested this fucntionality and can confirm that ssrs 2008 r2 reports work when you deploy them on new ssrs 2012 report manager .
    No Migration is required .
    I didnt even moved report server dbs .All I did is just deployed reports on the report manager and it worked .
    "You
    can upload an .rdl file created in an earlier version of Reporting Services to a SQL Server 2012 report server and it is automatically upgraded on first use. "
    Microsoft needs to correct this the documentation is misleading
    Mudassar

  • Help! Javascript not working when object moved from one page to another!

    Hello all:
    I am new to Adobe Livecycle Designer (version 8.0). I have created a 3 page interactive pdf form with numerous objects (text fields, radio buttons, drop-down boxes, etc.), that our business wants to begin using soon.
    I am having difficulty with some of my Javascript not working with a few of my objects on page 2 of the form. Specifically, there is a drop-down box for "Country" on page 2 of my form. When the user selects, for example, "United States" from the list, I have Javascript that is supposed to change the "Currency" drop-down box rawValue to "US Dollars" accordingly (upon the change event).
    I think my Javascript syntax is proper, but I am not certain. Here is my simple Javascript associated with the "Country" drop-down box (Note: rawValue 80 = "United States" and rawValue 105 = "US Dollars"):
    form1.Page1.cmbContactInfoCountry::change: - (JavaScript, client) -
    if (this.rawValue == 80) {     
         cmbCurrency.rawValue = 105;
    This seems pretty straight forward and it WORKS when my "Country" drop-down box is moved to page 1 of the form, but it WILL NOT WORK when I move the "Country" drop-down box back to page 2 of the form (which is where it belongs).
    Does anyone have any suggestions or solutions? I have spent probably 6-8 hours racking my brain trying to figure out why it works when on one page, but it does not work when move to a different page. I am guessing that I may have corrupted something OR that I am not fully addressing the proper name of the object?
    Please help!
    Frustrated and helpless near Chicago!
    Taylor T

    Hi Jono:
    Thank you for your quick reply.I was able to obtain the full name of the cmbCurrency object using the method you taught me. That is brilliant! Great short-cut tool.
    Unfortunately, I am still having issues with getting Javasript for the cmbCountry object to work with the cmbCurrency object. I haved pasted my new Javascript below.
    JavaScript for cmbCountry object:
    //UNITED STATES
    if (this.rawValue == 1) {
              xfa.resolveNode("form1.#subform[1].cmbCurrency").rawValue = 1;
    else
    //CANADA
    if (this.rawValue == 2) {
              xfa.resolveNode("form1.#subform[1].cmbCurrency").rawValue = 2;
    I have checked the "Specify Item Values" checkbox of the cmbCurrency drop-down object and Value 1 = "US Dollars" and Value 2 = "Canadian Dollars".
    When I select "Canada" from the cmbCountry drop-down object, the rawValue of the cmbCurrency drop-down object is changed to "US Dollars" (when it is clearly defined as "Canadian Dollars"). When I select "United States" from the cmbCountry drop-down object, the rawValue of the cmbCurrency drop-down object stays blank for uknown reasons. Very strange.
    Since I am not able to further explain in detail on what I am experiencing, I have posted a link to my file below (I just signed up for an account at ShareFile). I would forever be indebted to you if you can help me figure this out!
    https://thomptk.sharefile.com/?cmd=d&id=07ede2fe11db4549

  • Sound not working when watching movies from MacBook Pro 15'' in full screen

    after a recent iTunes upgrade the sound will not work when I watch a movie or anything else in iTunes on my Thunderbold Display. I have the 15'' retina MacBook Pro connected to the display and it used to work flawlesly. has anyone had the same problem?

    When I upgraded the volume control in iTunes (at the top) defaulted to off (all the way left) so no sound.  I just slid the slider all the way to the right.  Also be sure display audio is set in the preferences, sound menu

  • AS3 not working when uploaded to linux server

    Works like a charm when I preview it but when I upload to the
    server (tried 3 different ones) it just ignore the actionscripts
    all together no matter what I use.
    What I have is a rotating banner system. I set it up to
    randomly start at a specific one. If I preview it locally or run in
    in my .html file locally (just using preview in dreamweaver) it
    works like a charm and starts at a random one. When I upload it it
    just starts at the first one like the actionscripts do not exist.
    Using Flash CS3 and AS3.
    Thanks

    Pretty sure it is not a problem with the upload as I have
    been doing this for years the same way with Dreamweaver. In
    diagnosing the issue I rebuilt it and in place of the movie clips I
    just put text and uploaded it. Worked like a charm. Added the movie
    clips and again does not work when I upload it. Ignores the
    actionscript and just plays them in order. Did a build from top to
    bottom and from bottom to top also. Something in the movie clips is
    causing it but darned if I can find the answer. I have done this
    same thing before and it worked just fine. Just at a loss. I am
    attaching the code inside the movie scripts which work just fine.
    It is just ignoring scripts on the Scene 1 level.

  • Powershell unzip with shell.application not working when launched from windows service

    I have a deployment agent on a machine implemented as a windows service. Service is 32-bit and runs on windows server 2008R2 x64 SP1 with powershell V2. Powershell script requires elevation and to run under x64 because of dependency to powershell module
    'IIS Administration'. To achieve this, the service starts a cmd file which in turn launches powershell x64 console:
    C:\WINDOWS\sysnative\WindowsPowerShell\v1.0\powershell.exe "Start-Process C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell -ArgumentList '-ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -File C:\Temp\EndJobCmd\Install.ps1' -Verb RunAs"
    This seems to work well. The problem I have is that the script has a sequence where it unpacks a zip file to a destination folder using shell.application, this works fine when triggered manually on the server or through the task scheduler, but when triggered
    from the service it does not extract any files at all (cannot see any errors thrown by the script but it seems to continue to execute as it logs a successful message to the event log after finishing).
    Unzip sequence looks like:
    $shell = New-Object -com shell.application
    $pkg = $shell.namespace($sourceFile)
    $installDir = $shell.namespace($targetDir)
    $installDir.Copyhere($pkg.items(), 20)
    Any advice greatly appreciated. I have searched some and seen a few people with similar issue but have yet to find a solution.

    If it's still actual, I managed to fix this with having CopyHere params equal 1564. 
    So in my case extract zip function looks like:
    function Expand-ZIPFile{
    param(
    $file, $destination
    $shell = new-object -com shell.application
    $zip = $shell.NameSpace($file)
    foreach($item in $zip.items())
    $shell.Namespace($destination).copyhere($item,1564)
    "$($item.path) extracted"
    1564 description can be found here - http://msdn.microsoft.com/en-us/library/windows/desktop/bb787866(v=vs.85).aspx:
    (4) Do not display a progress dialog box.
    (8) Give the file being operated on a new name in a move, copy, or rename operation if a file with the target name already exists.
    (16) Respond with "Yes to All" for any dialog box that is displayed.
    (512) Do not confirm the creation of a new directory if the operation requires one to be created.
    (1024) Do not display a user interface if an error occurs.

  • Changes on application not visible when deployed to weblogic apps server

    Hi all,
    I have an ADF-faces application that is running on a weblogic server.
    Application is working fine, but I added some functionality on some pages.
    I tested it with Jdeveloper and the build in weblogic server, that is working fine.
    Now I deployed my application (Trough the menu application->deploy) to the weblogic server.
    When I open the application now I don't see the changes I made!!
    In the menu I did run Build->Make and Build->Rebuild but that did not help.
    What is causing this behavior?
    Thanks is advance.

    Hi Timo,
    Thanks for your quick reaction. deleting the application first solved my issue.
    I never had this issue before, but good to know how to fix it :)

  • Application is not working when changing of oracle server domain name

    Hi friends
    We decided to change oracle server domain name due to some reason .. we changed the domain name but application running on the other server cannot connect to this domain i don't know whats the problem . I change the enterprise manager ( emca -config dbcontrol db -repos recreate_) according to the new domain but some of the future not working like date,etc. can anyone help me how to rectify it plz.

    Mohd khalid wrote:
    Hi friends
    We decided to change oracle server domain name due to some reason .. we changed the domain name but application running on the other server cannot connect to this domain i don't know whats the problem . I change the enterprise manager ( emca -config dbcontrol db -repos recreate_) according to the new domain but some of the future not working like date,etc. can anyone help me how to rectify it plz.I am really confused that what's not working? What I have understood is that you recreated the EM repository. So where does "some of the future not working like date,etc." come into it? Are you checking date from EM ? Which application is not working, your application or EM or both or somethingn else? Tell us the complete version, error information and also post the output of
    emctl status dbconsoleHTH
    Aman....

  • Java script in jsff page is not working when deployed as adf lib jar

    hi,
    We have a ViewController Project with a several jsff pages that has javascript references to a .js fiile in the same project.
    When run in the same app, the javascript functions are invoked correctly.
    but, when deployed as an ADF-library and consumed in a diff application, not several components' javascript is invoked.
    Input Text Components javascript is almost always invoked. But, javascript on radio buttons or table are not invoked.
    Jdev: 11.1.1.6
    Thanks,
    Harsha.

    How to include javascript resources in  Facelet tag library

Maybe you are looking for