How can we handle in flex application if the server is down?

how can we handle in flex application if the server is down?

You and me both. 
As ambiguous as the original question was, I think he was just asking how to handle a server exception and I would suggest generally just using a Alert.show("your specific message (eg.  The server is currently unavailable)") in the place where you handle the fault return from your service or http call.  I'm sure there are more complicated messaging frameworks or approaches, but that seems to be enough for my apps.

Similar Messages

  • How can i let my java application closes the other opened windows

    how can i let my java application closes the other opened windows: like any other Microsoft Internet Explorer windows ... provided that my java application is not the one i used to open those other windows.... thanks in advance

    you'll have to use JNI to access the windowAPI
    then you need a list of window handles ... I think there was a function called getWindow and in order to close them you use sendMessage .... for details check out msdn (microsoft developer network)
    somwhere I saw a tool called JUtil, which might help you getting started on accessing the win api from java
    regards
    Spieler

  • How can open a html, pdf files from the server (c:\foldername\filename)

    Hi all,
    I am developing an application. in this app i have to implement RMI.
    My problem is this, How can a client open a files from the server.
    all the html, pdf files are stored in the server's directory like C:\audit\filename.
    There is a folder on the server's C directory which contains all the html , pdf files.
    please tell me how can a client open a file from the server using RMI.
    Please send me the solution as soon as possible.
    Thanks & Regards
    Bhavishya

    That's doing it the hard way. Why not use HTTP or FTP?

  • How can I remove a mailbox address from the "From" drop down box in a new e-mail my old e-mail address continue to populate as the sender address

    How can I remove a mailbox address from the "From" drop down box in a new e-mail my old e-mail address continue to populate as the sender address

    Hello,
    Try Mail>Preferences>Accounts icon>Account Information tab>Click on the Outgoing SMTP server drop down, choose edit Server list, highlight the old one & click Remove.
    (Such convolution is worthy of Windows® in my estimation)

  • How can I send an XML request to the server using servlets

    How can I send an XML request to the server using servlets

    http://forum.java.sun.com/thread.jspa?threadID=5158333
    http://forum.java.sun.com/thread.jspa?threadID=5158705
    Crossposting is lame.

  • How can i run my form application on the other site?

    how can i run my form application(already compiled) on the other computer without developer/2000 environment?
    What should i do ?
    Thanks in advance!

    Well you have to install ORACLE developer runtime on your client side. then just copy your complied forms (fmx) files to your client machine and set it up to run.
    Hope this helps
    Faisal

  • My Apple ID is registered in wrong email address. How can i change it or else when the server reply me to check my email that i can't check due to they sent to wrong email address...

    Please give advice of how can i change my Apple ID (email address) as it is wrong address. Like i just update my iPhone to latest version 6.0, and get the new app, iCloud which need me to key in my Apple ID and Password. I have no choice to use the wrong email address as it is already registerd since from 1st day i use my iPhone. Then i received the reply that tell me to check my email for verifing but the problem is i can't check my gmail as they sent to the email is not my actual gmail address....
    How can i solve this problem?

    You may change your Apple ID to any email address that is not already used as another Apple ID, or that is not already associated with another Apple ID.
    In other words, if I have an Apple ID [email protected], and have alternate email addresses of [email protected] and [email protected], none of them may be used by me or anyone else for an Apple ID, Rescue Email, alternate email, or anything Apple-related.
    If the Apple ID link above indicates your email is already in use then it is. Use https://iforgot.apple.com, select Forgot your Apple ID? and provide the information requested. If the email address is one you created and can still access, you may be able to retrieve it. If it is one someone else created, you will not.

  • How can i make a Full usage of the server's Rams

    Hello,
    is there any setting made in the registery or what ever b4 oracle installation to make the server take a full or a high perstage of the power capacity of the Ram since the server is very slow during processing.
    Configuration:db 9i,2 giga ram,3.2 m hz procssor.
    ====================================
    Regards,
    Abdetu..

    Thanks Tony for reply,
    but can u give me more details pls it's urgent,i have
    no back ground..!!
    where can i found the SGA and the PGA.?
    and how can i asign them value..?
    we were about to format the whole server..!!
    Clear and precise answers r highly appreciated..
    Abdetu..Playing around with the SGA and PGA parameters is not an simple task, any misconfiguration might slow down your server even more than it might speed it up.
    It has special calculation formulas which vary from system to another, you need to take into consideration the SQLs most frequently executed, use statspack to gather statistics, maybe the slow performance is coming from a missing index?? it can be.
    I suggest you read the documentation on [url http://www.oracle.com/pls/db102/to_URL?remark=ranked&urlname=http:%2F%2Fdownload.oracle.com%2Fdocs%2Fcd%2FB19306_01%2Fserver.102%2Fb14211%2Ftitle.htm%23BEGIN]Performance Tuning and search the [url http://forums.oracle.com/forums/forum.jspa?forumID=61]Database forum.
    Tony

  • How can I send an XML request to the server using JSP

    Can anybody say how to send a xml request
    For ex:
    Address:__________
    City: ________
    State:__________
    Country:________
    and a Submit Button.
    By clicking on the Submit Button -- xml request had to go to the server.
    Please send the detailed code for it

    xml http request..is that wat your are looking for?

  • How can I Recover an iMovie project after the program shuts down unexpectedly?

    I was working on an iMovie when the program shut down unexpectedly.  I had worked on this project many times before and it always showed up in my project library.  After the shutdown, however, I tried to open up the project and it is no longer in the project library.  I can find it in the finder but when I click on it, it will open iMovie but the project is not listed.  It has to be in there somewhere!  How can I recover it?  Please hlep!

    There are numerous reports here on the forum about this issue (I've been bitten by it too). It's becoming an epidemic.
    Here's one thread:
    https://discussions.apple.com/message/21157327#21157327
    The recent update to iMovie '11 (to version 9.0.9) may have fixed this, but it's impracticable to test, given the random nature of the problem.
    The best solution is to always have Time Machine running when editing in iMovie. Also, with larger projects, it's a good idea to duplicate the project from time to time. To duplicate, while in Project Library view (where all your projects are listed), select File > Duplicate Project. Project files are relatively small, as they mainly reference the associated Event (or Events), as well as keeping track of your edits, titles, transitions, music and so forth.
    John

  • How can i host my own website through the server?

    Hello,
    I am very new to the server and I bought it specifacally because I thought I could host my own website and not have to go through something like godaddy.
    How can I do this with the Mac OSX Lion Server? Have a domain name and publish it through something like iWeb?

    you will need a static ip address that either points to the server with port forwarding or is on its nic card. You then have to set up your dns entries and point your domain name to your dns server. You can then turn on web services.

  • Can we undeploy the application while the server is down?

    Hi Experts,
    We ran into a problem when we deployed the Web Dynpro application and restarted the instance because we made some change on the rfc. Unfortunately, the server never came back up since then, and we are unable to deploy the application anymore.
    I would like to undeploy the application that I deployed earlier and restart the again, but since the server is still down (almost 5 hours up to now) I cannot connect to the Visual Administrator. In addition, the dispatcher is always red at this point, but the SDM and server are green. Could anyone give some suggestion? I would very appreciate that.
    Thank you,
    -Don P.

    i don't think server is down in your case ... only dispatcher process is down. Try to make this process up.
    You can always undeploy using SDM.bat which will be available if SDM is up and running.
    Mahesh

  • How can I specify where to look for the server installation of the Oracle client?

    I assume changing the $ORACLE_HOME variable would get ORE to use 12.1.0.2 instead of 11.2.0.3, but I only want to change which Oracle R uses. How can I override the server's $ORACLE_HOME location when I'm connecting to the database from the client side?
    OS: Linux Mint 17 / Solaris 11.1
    R version: 3.1.2 (both)
    ORE version: 1.4.1 (both)

    On the server, the Oracle R Enterprise installation is tied to an Oracle Database installation.  Have you installed Oracle R Enterprise for both the 11.2.0.3 and 12.1.0.2 databases?
    If so, the client connect will be able to find the ORE server when you connect to the database using ore.connect:
        R> ore.connect(user = "username", sid = "database sid", host = "hostname/database server", password = "user password", all=TRUE).
    During the ORE installation on the server, we lay down software bits on the OS, install a schema into the database, plus add some libraries to $ORACLE_HOME.
    Sherry

  • How Can I Remove a Secondary Site When The Server no Longer Exists?

    This organisation deployed a new SCCM site and then decommissioned the server before successfully removing either the site or the server/roles.
    I tried to force the removal of the site which failed:
    C:\Program Files\Microsoft Configuration Manager\bin\X64\00000409>preinst.exe /delsite xxx
    Microsoft System Center 2012 Configuration Manager v5.00 (Build 7804)
    Copyright (C) 2011 Microsoft Corp.
    Cannot find site [xxx] in the site control data in the database. Checking in ServerData in the database.
    Failed to execute SQL query.
    The secondary site is showing in the console as 'deleting'.
    Can anyone advise the best way to proceed?
    Thanks.

    I had the same issue and this is what they sent me... I used it and it worked for me.
    1.       Please follow these steps to manually delete the
    Secondary Site from the Secondary site server
    2.       We also used the PREINST tool to remove the pending jobs.
    3.       On the ConfigMgr primary site (parent) computer, click Start, and then click Run.
    4.       Type cmd in the Open box, and then click OK.
    5.       At the command prompt, type cd\, and then press the ENTER key.
    6.       Type cd sms\bin\i386\00000409, and then press the ENTER key.
    7.       To remove any pending or active jobs to a site, type Preinst /DELJOB SiteCode , and then press the ENTER key.
    8.       We deleted the Secondary Site from the console of parent  site.
    9.       We removed the Sender Addresses from the Configuration Manager console, as explained below.
    10.   Click Start, point to All Programs, point to Systems Management Server, and then click ConfigMgr Administrator Console.
    11.   Locate the Site Settings\Addresses subtree.
    12.   Right-click the address for the failed secondary site, and then click Delete.
    13.   Then we cleaned the registry, by taking the backup of the HKLM Node
    ·         HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS
    ·         HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NAL
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SMS_Executive
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SMS_Site_Component_Manager
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SMS_Bootstrap
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CLISVC
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SMS_Discovery_Data_Manager
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SMS_Lan_Sender
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SMS_Scheduler
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SMS_Site_Backup
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SMS_Software_Metering_Processor
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SMS_Status_Manager
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_CLISVC
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SMS_BOOTSTRAP
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SMS_EXECUTIVE
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SMS_HARDWARE_INVENTORY_AGENT_SERVICE
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SMS_KEY_CREATION_SERVICE
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SMS_SERVER_BOOTSTRAP_servername
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SMS_SITE_COMPONENT_MANAGER
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\SMS Client
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\SMS Performance Data Provider
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\SMS Provider
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\SMS Remote Control
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\SMS Server
    ·         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\SmsClient
    Thanks Lavelle, however your instructions are clearly for SCCM 2007:
    11.   Locate the Site Settings\Addresses subtree. 
    12.   Right-click the address for the failed secondary site,
    and then click Delete. 
    Can you confirm you have run these steps on your own SCCM 2012 site?

  • How can I delete old email addresses from the "From" drop down menu when sending emails?

    I have some old email addresses, I think may be aliases that show up in the drop down box  in the "From" in email messages that I send.
    They don't show up anywhere in the Preferences/Accounts panel at all.
    Very perplexed at this one.

    From the Mail menubar, click Window and select Previous recipients. In there you can delete old email contacts.

Maybe you are looking for

  • Video is not captured in Applet under redhat linux.

    Hi! uname -a Linux 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686 i686 i386 GNU/Linux and whenever i m running my code for start and stop the webcam, i m finding a error/exception as: javax.media.NotRealizedError: Cannot get visual component on an un

  • Problem in writing data to excel spread sheet using jdbc

    Hi Friend, I have written a jdbc application ,that retrives data from oracle8i database and writes to excel spread sheet. Here I am facing a problem while writing date vales to the spread sheet. It is just writing 00.00.0 , instead of a date like 21/

  • Maximum size of an event structure

    I have just a short question about the maximum size of a event structure, and did not found it yet in the forum. I have an event case with 35 event cases. How many are allowed, what is recommended and is there a huge loss of performance by seizing it

  • Converting a standalone SOA/AIA instance to a cluster instance.

    Hi Architects, We have a SOA/AIA11g instance running as a standalone instance with DR configured. Now team wants to convert this standalone instance to a 2 node clustered instance. Can someone let us know if it is possible to convert a standalone SOA

  • Photoshop Elements 13 to Lightroom 5

    I use Photoshop Elements 13 as well as the Nik collection as outside editing sources with Lightroom 5. All are recognized through "Edit In" in Lightroom, but only the changes made through the Nik Plugins directly show up in Lightroom once I hit save.