Show message while the method is running

Hello,
I'm having a really good problem.
I've a server method, that is taking a good time to run, so i thougth i could show a pop up message to warn the user that the method is running.
But, i can't use it by tag.
Is there a way of showing it by code, ie with and actionListener, or something else?
Thanks!
Fernando.

Try using 'af:poll' component on your page.
You can send events to the server at fixed intervals and then evaluate the status.
You will probably have to do some more logic on the server side to make this work correctly though.
Good luck!
--AJ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • An unexpected error occurred while the job was running. (ID 104 Details: The parameter is incorrect (0x80070057))

    We are using DPM Version: 4.1.3465.0 with System Center 2012 Service Pack 1 to back up VMs in our Hyper V Cluster. We have a total of 37 VMs with a combination of 2008r2 servers and 2012 servers. One of our 2012 servers will not backup, and we consistently
    get the message "An unexpected error occurred while the job was running. (ID 104 Details: The parameter is incorrect (0x80070057))". I have seen this error message when I Googled it, but cannot get past it. I have deleted the Protection Group and
    data and tried to re-create, but get the same errors. I also thought the the server might be mis-reporting the data size, but I expanded that to cover the replication data. I have also tried to perform consistancy checks multiple times with no luck. I have
    not seen a difinitive answer from my Google searches, so was hopeful someone has seen this also, and have had success in resolving. Currently this server has no backup recovery points, so I am worried if it does crash. I think I have the rollups installed
    as well.

    Hi Kelly,
    does the issue still persists?

  • I want to print the front panel without all the header stuff while the vi is running

    I want to print the vi front panel without all the header information that Labview puts at the top. I want to do all this while the vi is running by pushing a button.

    One option is to use the the 'Print VI to Printer' method. Beware that invoking this method repeatedly with complex front panels has caused me graphics problems in my VI's display that persist until the development environment or the built .exe app is exited and re-entered.
    See: http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000000080000005F5A0000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_QUESTION_0=spaz+print&USEARCHCONTEXT_QUESTION_S=0
    NI has confirmed this to be a bug in 6.0x and 6.1 and has indicated that it will be fixed in the next version.
    I was forced to fall back on the Append Front Panel Image to Report.vi in the report toolkit. Which does not produce printed graphs of as high as quality as the Print VI to
    printer method.

  • Warning EJB EJB Deployment: Fnv cannot be redeployed while the server is running. de.dr_staedtler.extern.audi.fnv.data.ejb.FnvBean is located in the server's classpath.

    Hi,
    i have developed some EJB, that are dependent from each others.
    So I set the classpath to a lib-directory with my EJB.
    When i try to deploy, i become a warning
    <Warning> <EJB> <EJB Deployment: Fnv cannot be redeployed while the server is
    running. de.dr_staedtler.extern.audi.fnv.data.ejb.FnvBean is located in the server's
    classpath.>
    But the EJB's are deployed and the client can connect it.
    Why is the warning? It is important or I can ignore it?
    Thanks for your time.
    dragan-sassler

    It means that bean classes are in the system classpath and therefore
    cannot be reloaded. If you do not plan on hot-redeploying your beans
    you can ignore this message.
    Dragan-Sassler <[email protected]> wrote:
    Hi,
    i have developed some EJB, that are dependent from each others.
    So I set the classpath to a lib-directory with my EJB.
    When i try to deploy, i become a warning
    <Warning> <EJB> <EJB Deployment: Fnv cannot be redeployed while the server is
    running. de.dr_staedtler.extern.audi.fnv.data.ejb.FnvBean is located in the server's
    classpath.>
    But the EJB's are deployed and the client can connect it.
    Why is the warning? It is important or I can ignore it?
    Thanks for your time.
    dragan-sassler--
    Dimitri

  • How do I install itunes on a windows 8 computer. I keep getting the message that the app cannot run on my computer.

    I cannot install itunes on my windows 8 computer. I get the message that the app cannot run on my computer.

    Hi mlheidt,
    If you are having trouble installing iTunes on your Windows 8 computer you may want to use the following article to help you get it up and running -
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • An unexpected error occurred while the job was running. (ID: 104)

    I'm getting this error in the event logs when trying to run a consistency check / sync with one of our file servers.
    This server was working fine, but w needed to migrate the data to a new partition (GPT) to allow it to expand past the 2TB limit of MBR partitions.  I added a new 3TB disk migrated the data and changed the drive letter to what the old partition was
    prior.  Since then we seem to get this error.
    I have installed the update roll up on both the server and the agent side.  I have also removed the server from the protection group then re-added it.  I've also removed and reinstalled the agent on the file server.
    Any help is appreciated!  Here's the full error from the DPM server:
    The replica of E:\ on server is inconsistent with the protected data source. All protection activities for data source will fail until the replica is synchronized with consistency check. (ID: 3106)
    An unexpected error occurred while the job was running. (ID: 104)

    Server Version is Windows 2012 R2 STD.  DPM is 4.2.1235.0 (DPM 2012 R2).  I expanded the production file server.  All that server does is host up file shares.
    I suspected the fact that I created a new volume and changed drive letter back to the original to be the source cause of the issue.  What I ended up doing is blowing away the backups from this server on disk and re-adding it to the protection group. 
    It now runs much longer, but still times out at random with the error mentioned above.
    Vijay:  The error was copied from Event Viewer.  Not sure what else you require?  Event ID is 3106 from DPM-EM.
    The DPM logs say:
    Affected area: E:\
    Occurred since: 2015-01-05 2:04:38 AM
    Description: The replica of Volume E:\ on servername is inconsistent with the protected data source. All protection activities for data source will fail until the replica is synchronized with consistency check. You can recover data from existing recovery
    points, but new recovery points cannot be created until the replica is consistent.
    For SharePoint farm, recovery points will continue getting created with the databases that are consistent. To backup inconsistent databases, run a consistency check on the farm. (ID 3106)
     An unexpected error occurred while the job was running. (ID 104 Details: The semaphore timeout period has expired (0x80070079))
    Date inactivated: 2015-01-05 7:03:04 AM
    Recommended action: No action is required because this alert is inactive.
    Affected area: E:\
    Occurred since: 2015-01-05 2:04:38 AM
    Description: The replica of Volume E:\ on servername is inconsistent with the protected data source. All protection activities for data source will fail until the replica is synchronized with consistency check. You can recover data from existing
    recovery points, but new recovery points cannot be created until the replica is consistent.
    For SharePoint farm, recovery points will continue getting created with the databases that are consistent. To backup inconsistent databases, run a consistency check on the farm. (ID 3106)
     An unexpected error occurred while the job was running. (ID 104 Details: The semaphore timeout period has expired (0x80070079))

  • An unexpected error occurred while the job was running. (ID 104 Details: The parameter is incorrect (0x80070057)) After DPM 2012 SP1 to R2 Upgrade

    Hi,
    We have upgraded DPM 2012 SP1 to DPM 2012 R2 and OS is Windows 2012 standard.
    Now in File Protection Group, we receive error
    "An unexpected error occurred while the job was running. (ID 104 Details: The parameter is incorrect (0x80070057))".
    This happens to only one Drive(X: Drive) of the PG server, other drive(Z: Drive) backup is working fine.
    We tried,
    Deleted entire protection group and recreated ,
    Ran consistency job 2 to 3 times.
    Ran Synchronize with consistency check.
    But every time It failed. Before upgrade it was working fine.
    Thanks

    Hi
    I would suggest opening a new case with MS to allow the DPM team to further look into the issue. Also the DPM 2012 R2 RollUp which addresses the (0x80070057)
    issue is Rollup 1 and the private will not be needed after applying Rollup 1. The Roll up is found here
    http://support.microsoft.com/kb/2904687/en-us
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your
    question. This can be beneficial to other community members reading the thread. Regards, Dwayne Jackson II. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights."

  • How can i reload font information while the jvm is running.

    l.s.
    how can i reload font information while the jvm is running.
    I'm having the following problem...
    A program is running.
    A user installs a new font on the system (Xwindows in this case)
    Java doesn't display the font when i ask :
    java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames();Thus i think that java buffers its font information somewhere. Anyone knows how to refresh te buffer?
    many thanks

    ungalcrys, welcome to the forum. Please don't post in threads that are long dead and don't hijack another poster's thread. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem.
    I'm locking this thread now.
    db

  • How to put a SQL Agent Job wait in the trigger while the job is running.

    Hello!
    I am not a geek in writing t-sql code so I am seeking forum help in completion of my task.
    I have a trigger which fires upon a action and with in that code, I am starting a job via t-sql like
    EXEC msdb.dbo.sp_start_job N'JobName';
    Now, I want to check the condition like that, If the trigger got invoked while the job is running, it should wait till the successfully completion of the job.
    Thanks for your time and help on this.

    You can use Context_info with Wait for delay 
    Below are some useful links..
    http://www.sqlservercentral.com/articles/T-SQL/2765/ 
    http://technet.microsoft.com/en-us/library/ms180125(v=sql.110).aspx 
    http://ask.sqlservercentral.com/questions/42786/how-to-avoid-a-stored-procedure-to-be-executed-par.html
    Thanks,
    Saurabh 
    http://www.linkedin.com/in/sbhadauria http://www.experts-exchange.com/M_6313078.html

  • Can change the size of the redolog files while the database is running.

    How the size of the redolog files will hurt your database performance ?
    Can change the size of the redolog files while the database is running in oracle 9i. ?
    What will be its impact on the standby database ?
    Thanks in advance.

    redo logs that are too small can cause waits on the switches for heavily utilized systems. logs that are too large are a pain the a$$ during recovery. check v$loghist to see how often switches occur - an average of 20 minutes is good; if you have many switches happening back-to-back, that's a bad sign.
    you can change the sizes while the db is up. choose a redo group that is INACTIVE, drop it, delete the files, and recreate it with larger files. then force a switch ("alter system switch logfile;"), and do another inactive group. I actually prefer to do as many switches as necessary to make the new group active so I can verify that I didn't screw up before dropping the next group.
    not sure of impact on standby database.

  • [SOLVED] Backing up the system while the system is running?

    Is it ok if I backup the system while it's running? Or does it *have* to be done from a LiveCD?
    I was thinking of using this:
    $ sudo rsync -avx /* /mnt/Backup --exclude={/dev/*,/proc/*,/sys/*,/tmp/*,/run/*,/mnt/*,/media/*,/lost+found}
    Rsync will complain at the end that "some files/attrs were not transferred", but the backup works fine (as far as I can tell).
    Should I add "[...] > sometextfile.txt" at the end, to see which files weren't transfered right? Has anyone else done something like this before?
    Last edited by DSpider (2012-06-14 15:56:03)

    DSpider wrote:Rsync is not necessarily better, but it does the job. I'm planning on transferring the system to a loopback device (a raw .img file) which will serve as a container for chrooting, and later converting to .vdi for use in VirtualBox. It's a fun project I'm working on: "Moving an existing Arch install to VirtualBox" (title in progress). Maybe I'll write a wiki article, since I did it three times already... And it works, even if I back them up while the system is running. I was just wondering what those files were.
    Oh, alright.  Cool.  Yeah, I just wanted to check whether there was any important differences between tar and rsync.  I think I'll check the wiki and do some reading about the two, but from the sound of it, it sounds more like a matter of preference than anything else, which is groovy.
    Last edited by lspci (2012-06-13 15:08:01)

  • In InDesign, my script timers are not activated while the script is running

    Hello I have a utilioty plugin in InDesign which is done in ActionScript. This script is launched from inside the plugin dialogbox and does a long export operation. I'm trying to have a feedback of progression in the dialog box, while doing the export operation in the script.
    The problem I have is : if I create a flash.utils Timer to refresh the display, it is not triggered while the script is running ! Only when the script gives back control to InDesign, the timer is triggered and refreshes the display. Therefore, my progressbar displays blind during work, and flashes to 100% at the end. Quite useless.
    Does anybody know a way to get this working, apart from cutting the export operation in a few sub-operations which would be chained via successive timer events ?

    I ask again though: are you really sure the system won't wake from sleep to run maintenance scripts? The time in all of the logs from Onyx, from Maintidget and from the command prompt all say that the scripts are running at 3am(ish) for the daily and weekly scripts, and 5am(ish) for the monthly script - all times that my system is in sleep mode.
    Well, that is the information from Apple - I am not about to stay up all night to check it . FWIW, if those scripts are missed, the computer will not implode - I usually prefer to shut mine down and in that case, the scripts have to be run manually. I do that about once a month (or when I remember to do it)  and have been doing that for many years without any ill effects. Mac OS does not need the maintenance other systems do.
    http://support.apple.com/kb/HT2319

  • User message in the method "executeQueryForCollection"

    Hi everyone,
    I pray you excuse my english.
    I am working in jdev 11.1.2.1.
    I have an "adf:inputListOfValues" in a "jsf".
    In the search popup, I would display a message to the user if search criteria are not informed.
    To achieve this, I implemented the method "executeQueryForCollection" of the "VO" to launch a "JboException".
    At run time, the first time I perform a search user, it displays correctly. But, any other action causes an exception of type "nullPointerException".
    In the ADF source code, the method "ViewRowSetImpl::execute" calls to "executeQueryForCollection" method. The method "ViewRowSetImpl::execute" catch exceptions and the object instance "queryCollection" is initialized to "null". This fact throws the exceptions of type "NullPointerException".
        "catch (Exception e)
                setQueryCollection(null);
                if (e instanceof JboException)
                   throw (JboException) e;
                else
                   throw new JboException(e);
    I prefer not to add a message of "FacesMessage" type in the data model.
    Is there any other way to show this message to the user?
    Thank you very much.

    Hi,
    sandip is correct, go to SE11 Table T100.
    I did it this way: Searched for (in my case) SPRSL = DE and TEXT = "Bitte Bankschlüssel eingeben" (that's the said error message). With the upcoming result I got the message ID and message Number, these are:
    ARBGB = 'AR' MSGNR = '195'
    ARBGR = '1J' MSGNR ='510'
    Maintain them for your SPRSL and you should be fine.
    regards, Lukas

  • Servlet - show message while getting data

    Hello,
    I have a servlet that is getting some data in form of an String from another server. This is taking some time, so I would like to show a "Please wait" message in between.
    My problem is, that when I flush the message with my servlet and flush then the result of the query from the other server, the message is still visible.
    So ist there a way to overwrite the first flushed output? Or some other way to show some short message before a result page?
    Below is my code so far. I curently flush only the result without the message.
    Thanks in advance!
    package de.gfz.userinterface.httpclient;
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import java.io.PrintWriter;
    import java.util.ArrayList;
    import java.util.Enumeration;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.commons.httpclient.HttpClient;
    import org.apache.commons.httpclient.NameValuePair;
    import org.apache.commons.httpclient.methods.PostMethod;
    public class ClientPostServlet extends HttpServlet
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
        HttpClient httpClient = new HttpClient();
        //Url f�r den PostRequest setzen (kommt aus LoginWorkflow.xml Datei bei SCIENTIST)
        String url = String.valueOf(request.getAttribute("viewUri"));
        PostMethod postMethod = new PostMethod
             url
        //Attribute aus dem Request rausholen und als NameValuePair f�r den sp�teren Post Request setzen
        ArrayList<NameValuePair> postData = new ArrayList<NameValuePair>();
        Enumeration requestAttributeNames = request.getAttributeNames();
        while (requestAttributeNames.hasMoreElements())
             String requestAttributeName = (String) requestAttributeNames.nextElement();
             String attribut = String.valueOf(request.getAttribute(requestAttributeName));
             postData.add(new NameValuePair(requestAttributeName, attribut));
             //Attribute sicherheitshalber aus dem Request entfernen
             request.removeAttribute(requestAttributeName);
        //ArrayList in Array �bertragen
        NameValuePair[] postDataArray = new NameValuePair[postData.size()];
        for (int i = 0; i < postDataArray.length; i++)
              postDataArray[i] = postData.get(i);
         //the 2.0 beta1 version has a PostMethod.setRequestBody(NameValuePair[])
         //method, as addParameters is deprecated
        //Attribute in den Post Request setzen
        postMethod.setRequestBody(postDataArray);
        //Post Request senden
        httpClient.executeMethod(postMethod);
        //Ergebnis verarbeiten
        BufferedReader in = new BufferedReader(new InputStreamReader(postMethod.getResponseBodyAsStream()));
        String zeile = "";
        StringBuffer ergebnis = new StringBuffer();
        while ((zeile = in.readLine()) != null)
             ergebnis.append(zeile);
         //release the connection used by the method
        postMethod.releaseConnection();
        //String Buffer in String umwandeln
        String ergebnisString = ergebnis.toString();
        //css-Datei Position ver�ndern
        ergebnisString = ergebnisString.replaceFirst("AnzeigeModell/css/layout.css", "../css/layout.css");
        //display the response to the POST method
        response.setContentType("text/html");
        PrintWriter out = response.getWriter();
        out.print(ergebnisString);
        out.flush();
      public void doGet(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, java.io.IOException {
        doPost(request,response);
      }

    Hi,
    Please do the consistency check on target ODS by using the transaction RSRV.
    RSRV->Tests in Transaction RSRV ->All Elementary Tests ->ODS Objects -> double click on "Foreign Key Relationship of Reporting-Relevant ODS Object and SID Table Characteristics" and also on "Check the Status of the Generated Program of a Data Store Object ".
    These two will be shifted to the right hand side.
    Then expand the recently shifted checks and they will ask for ODS technical names. Provide the same and click on transfer. After giving in both, click execute. After successfull execution, try to load the data again. If this check fails, there would be a tab on the screen to correct the error "Correct Error".
    Click on the same and it will correct the error and then load the data.
    Hope this solves your problem...

  • [OLAP DML] display on screen the output while the program is running

    Hi,
    I'm running a script in AWM that is quite long, and I've placed some few 'show' so that I know what the program is doing, but it won't show on the screen the outputs until the program ends. I guess it writes all the outputs in a kind of buffer and release the content of the buffer at the end of the program.
    How could I have it to release this buffer continuously?
    Thanks

    i think the relational analogy would be an anonymous pl/sql block executing a list of commands while outputting a list of useful dbms_output.put_line log statements:
    Just as with SHOW and olap worksheet cmd line, you cant see the running dbms_output log while the pl/sql program is running... you need to wait for it to complete before you can see the log.
    You can write to a file and close/exit the file each time or you can write to log table and commit each time but i guess, some such heavy lifting is needed if you want to track the long running process mid-way.
    NOTE: For regular operations like dbms_cube.build load/forecast/allocate process/steps, you can always run queries against CUBE_BUILD_LOG etc mid-way. But if it's pure olap dml actions being performed then no neat pre-built handle to check things mid-way exists.

Maybe you are looking for

  • Duplex printing hp6700

    duplex printing from samsung tablet and windows 8 cell phone does not work. Works from computer. need advice This question was solved. View Solution.

  • Screensaver not working in Mountain Lion 10.8.2??

    Hello, Since the update of Mountain Lion 10.8.2 on my iMac the screensaver is not working anymore. I set it to 10min and after 10min nothing happen. Whats that?? Sometimes (like 1 time a day or 2) it will work but most of the time, nothing. Anyone ha

  • My Final Cut Pro X project went missing

    I recently downloaded the trial version of Final Cut Pro X to my Macbook Pro and spent eight hours editing a video yesterday in one continuous session. When I tried to share it to my desktop no files ever showed up. I tried a bunch of different forma

  • Transfer of funds

    I had a gift card to redeem. I turned it in on a specific Apple Id Account. Is it possible to split the cash to another account. Thanks

  • Logical standby process

    Hi, how can configure the logical standby process to start automatically after i restart database? thanks