CVP studio Audio elements return immediately?

(CVP/ICM 8.5, comprehensive, using CVP studio)
This may be a dumb question, but is it normal for CVP studio Audio steps to enter and exit immediately? I have the issue where if I have a queue loop with just audio steps, it produces a log file like this:
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,newcall,
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,ani,9191234567
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,areacode,919
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,exchange,636
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,dnis,2101
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,uui,NA
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,iidigits,NA
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,parameter,callid=A6259096FDEA11E08654CF2A44831DBA
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,parameter,_dnis=2101
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,parameter,_ani=9191234567
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,CVP Subdialog Start_01,enter,
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.128,CVP Subdialog Start_01,exit,done
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.128,NoCBPleaseHold1,enter,
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.132,NoCBPleaseHold1,interaction,audio_group,initial_audio_group
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBPleaseHold1,exit,done
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBCCMusic,enter,
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBCCMusic,interaction,audio_group,initial_audio_group
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBCCMusic,exit,done
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBPleaseHold2,enter,
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBPleaseHold2,interaction,audio_group,initial_audio_group
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBPleaseHold2,exit,done
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBCCMusic2,enter,
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBCCMusic2,interaction,audio_group,initial_audio_group
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBCCMusic2,exit,done
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBPleaseHold1,enter,
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBPleaseHold1,interaction,audio_group,initial_audio_group
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBPleaseHold1,exit,done
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBCCMusic,enter,
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBCCMusic,interaction,audio_group,initial_audio_group
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBCCMusic,exit,done
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBPleaseHold2,enter,
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBPleaseHold2,interaction,audio_group,initial_audio_group
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBPleaseHold2,exit,done
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBCCMusic2,enter,
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBCCMusic2,interaction,audio_group,initial_audio_group
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBCCMusic2,exit,done
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBPleaseHold1,enter,
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.179,NoCBPleaseHold1,interaction,audio_group,initial_audio_group
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBPleaseHold1,exit,done
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBCCMusic,enter,
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.179,NoCBCCMusic,interaction,audio_group,initial_audio_group
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBCCMusic,exit,done
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBPleaseHold2,enter,
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.179,NoCBPleaseHold2,interaction,audio_group,initial_audio_group
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBPleaseHold2,exit,done
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBCCMusic2,enter,
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBCCMusic2,interaction,audio_group,initial_audio_group
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBCCMusic2,exit,done
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBPleaseHold1,enter,
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBPleaseHold1,interaction,audio_group,initial_audio_group
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBPleaseHold1,exit,done
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBCCMusic,enter,
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBCCMusic,interaction,audio_group,initial_audio_group
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBCCMusic,exit,done
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBPleaseHold2,enter,
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBPleaseHold2,interaction,audio_group,initial_audio_group
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.206,NoCBPleaseHold2,exit,done
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.206,NoCBCCMusic2,enter,
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.206,NoCBCCMusic2,interaction,audio_group,initial_audio_group
172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.206,NoCBCCMusic2,exit,done
[ and so on]
The PleaseHold1 and 2 prompts are about 7-10 seconds, and the music ones are 30 minutes each. These acutally play, and to the caller it sounds like everything is working well, except the CVP call server is over there blowing up the logs...like 60KB of new data every second per call. I ran a http client debug on the VXML gateway and it appears that it just keeps making repeated requests for the data. This seems to happen on every audio step across all of the scripts that I have, except I never noticed it because they have elements besides just audio steps that seem to cause it not to be an issue. The logs seem to only blow up like this if I have a loop in CVP with just audio steps.
The only workaround I've found is to run through the loop once, return to ICM, then re-invoke it.
Robby

Try using getdigit to play the prompt and music file with interdigit timeout as 1 sec and number of retries as 1. This would avoid all the logs. However, it will add 1 sec delay, which would be certainly unnoticed.
Manoj Anantha

Similar Messages

  • CVP Default Audio Path

    CVP 4.0.1 Sr1
    All my media files are in C:\Inetpub\wwwroot\en-us\app location.
    On Studio - Project Properties - Audio Settings - Def Audio PAth URI - I specify the path as:
    http://10.1.17.18/en-us/app/
    My question is there a way to provide two locations here - as I have two servers?
    And if yes - will it be primary & backup or Round Robin?
    What is the best practice recommendation to point the def audio path settings if you have two servers?

    Another technique is one that I have used in the absence of a CSS.
    Can you code Java? I wrote a Java custom action element that is the first element in the application. It uses HTTP to fetch a small test.htm file located at the root of each web server. The settings have the IP addresses of the two Media Stores configured.
    If I can fetch the file from the first, then that defines a session variable that is used throughout. If not, the second IP address defines the session variable. When I deploy the app to one VXML server, the first setting is the Media Store on that side; when I deploy to the VXML server on the other side I favour the Media Store on that side. The idea is that if the side is up, the Media Store is likely to be up - rather than fetching from the Media Store at the other side. But if for some reason the Media Store there is down, the app will tell the gateway to use the other Media Store.
    The applications are long, self-service apps so the small hit at the start to fetch the tiny HTML file is negligable.
    The default audio path is not used - each audio element spec is full path to a WAV file made up of a combination of session variables.
    Not as good as a CSS, but workable.
    Regards,
    Geoff

  • CVP Studio mediaserver faiover

    For microapps I simply use ip host mediaserver = CVP1 IP and ip host mediaserver-backup = CVP2 IP and set media_server var = "mediaserver" and RunExtScript failsover and sue the backup mediaserver in case of an issue.
    But for CVP Studio Projects, I set audio_path = mediaserver/CVP/app/en-gb for e.g. and this works - as in Studio projects can resolve mediaserver = CVP1 IP.
    But in case CVP1 is down, mediaserver-backup = CVP2 does not gets resolved automaticaly and call fails at play audio.
    How to get Studio projects audio prompts to use mediaserver-backup please?
    Thanks & Regards,
    Kartik Bhatia

    mediaserver
    mediaserver-backup 
    above are redundancy mechanism that CVP call server IVR service uses to fetch media.
    if mediaserver is not available, it automatically appends mediaserver-backup and try to fetch file from there.(this is there for asr tts also,)
    so this mechanism will work well for your most of  the microapps, as they all use CVP call servers IVR service to create VXML page and serves gateway.
    coming to audium script, it is loaded on VXML server so VXML server is responsible for creating VXML page and serving to VG and there is no such mechanism like this in VXML server,
    you have to completely rely on load balancer like ACE to achieve redundancy.
    i hope this answers your query correctly.
    regards
    chintan
    ~please rate if helpful

  • Normal to have "Final Cut Studio - Audio Content 1" disc in package?

    Hello All,
    I am trying to install a newly purchased Logic Studio 9 and the installation is not going well; it is asking me for an "Additional Content" disc...but I don't have such a disk in the box...I do have a Final Cut Studio Audio Content 1 disk though...is this some kind of mistake and it shipped with the wrong disks?

    scotopia wrote:
    Hello All,
    I am trying to install a newly purchased Logic Studio 9 and the installation is not going well; it is asking me for an "Additional Content" disc...but I don't have such a disk in the box...I do have a Final Cut Studio Audio Content 1 disk though...is this some kind of mistake and it shipped with the wrong disks?
    Additional Content and FCS Audio Content are not the same
    If the copy of Logic Studio you bought shipped with a wrong disc you need to return it for a replacement.
    A

  • CVP Studio apps for CCB - passing data between apps

    Hello,
    we currently have UCCE 9.0(4) with CVP 9.0(4) and have Courtesy Callback working with the out-of-the box ICM script and CVP studio apps.
    In the ICM script when we it passed the qname to the CallbackEntry app, I have added another field called comp for company name to be used within that app. That seems to work great so that I can choose a different SetQueueDefault node depending on which company I am using for CCB (each company needs to use a different Calling Line ID value as well as a different Maximum Estimated Wait Time),
    The problem I am experiencing now is that I am trying to use this same comp field within the CallbackWait app so that I can play a different announcement to the caller depending on which company is being used (ex. This is a callback for Company A for..., or This is a callback for Company B for....). It always hits the Return Exit State of that decision node since it doesn't have that comp value available.
    Does anyone know how I can pass that comp value from the CallbackEntry CVP Studio app to the other apps so that they can all access it and make decisions from it?
    I'm still new to CVP and CCB so I'm not familiar with what I can do with it yet.
    Is there any documentation available for CVP Studio Apps that would explain how this can be done?
    I would appreciate any help with this.
    Thanks,
    Joe

    You may want to consider a single sign-on (SSO) solution. Consult the documentation for your application server to see what SSO solutions they support.

  • Custom Audio Element : flush buffer and synchronize execution of a media

    Hi,
    Everything is in the title ! I found a discussion on an older Cisco forum (here is the link https://communities.cisco.com/docs/DOC-48793 ) about flushing the dtmf buffer. A jar file was attached to the discussion. It contains two custom audio elements (by overriding the "addxmlbody" method) : the first one is used to flush dtmf buffer to prevent the interruption of the next audio and the second permits to a synchronous completion of the media playing.  
    Is it possible to merge this two elements in only one with two functionalities ?
    Thanks.

    I mean, do somethig like this:
          * This will get called when there's data pushed from the
          * PushBufferDataSource (ex. RTP, VoD or microCapture)
         public void transferData(PushBufferStream stream)
             try {
              stream.read(readBuffer);
             } catch (IOException e) {
              System.err.println(e);
              sendEvent(new DataSinkErrorEvent(this, e.getMessage()));
              return;
             sendOverUDP(toBytes(readBuffer));
             // Check to see if we are done with all the streams.
             if (readBuffer.isEOM() && checkDone(stream)) {
              sendEvent(new EndOfStreamEvent(this));
           //Convert buffer to byte array
            public byte[] toBytes(Buffer buffer){
                ByteArrayOutputStream baos = new ByteArrayOutputStream();
                try{
                    ObjectOutputStream oos = new ObjectOutputStream(baos);
                    oos.writeObject(buffer);
                }catch(java.io.IOException ioe){}
                return baos.toByteArray();
            }Is it would be correct? Because Now I'm implementing a byteBufferDataSource to create a DataSource from the byteBuffer to play it. But I'm not sure if I'n in the good way! What do you think?
    Thanks!

  • Need to Return immediately and commit the App Module on a different thread

    I have an action that I want to return fast (immediately) but the server processing takes longer than acceptable. The results of the operation don't matter to the page submitting it and I want it to be able to navigate away even if the operation is not complete. I want to either be able to send a non-blocking server event from the browser or on the server side start a new thread that performs the operation allowing the original thread to return immediately. The new thread would need access to an Application Module in order to commit data. How would I go about accomplishing this?
    Some thoughts
    I've tried creating a ConcurrentLinkedQueue and putting the DataControl on the que, then in the other thread I pull it off the que, process and commit the data. This works unless the page is navigated away from. Then calling dc.getApplicationModule(); returns null.
    I thought about using createRootApplicationModule in the new thread (since the new thread has no context) but don't know how that would work
    This is the code in the run method of the new thread. In this example, I'm adding data to the app module in the original thread and committing the data in a new thread.
    (like I said, it works most of the time.)
    Object[] req = (Object[])que.poll();
    DCDataControl dc = (DCDataControl)req[0];
    try{
    ApplicationModule am = dc.getApplicationModule();
    if (am != null){
    am.getTransaction().commit();
    } else{
    System.out.println("AM:null unable to commit ");
    } catch (Exception e){
    e.printStackTrace();
    finally{
    if (dc!= null){ dc.resetState();} // release app module
    }

    Thanks for the replies. I am aware of the inherent risks of running a separate thread within a managed container.
    The use case is a performance logging operation. We have a internal web app used by a network of franchises with over 1000 users. We log response time and performances statistics to the database. When the user clicks to navigate or commit data, the response time that the user experiences is logged after the page has fully rendered either through a PPR or a full submit. This is done by submitting ADFCustomEvent from javascript on the page after rendering is complete.. The event sends up the time difference from when the user first clicked to when the page was fully rendered. This information is then merged with logged events stored on the users Session that shows the name and response time of every query that was executed during the previous request. Depending on the page this could be up to half dozen to a dozen or more queries. The logging operation as experienced by the browser is generally fast (<200ms) but sometimes can be as long as a second or more when the database gets busy. A half second is too long as makes the app appear sluggish if the user can't type or click immediately after the page has finished rendering. The logged data is aggregated so we know exactly how much of the page load was due to a slow browser/network, how much was database time, webservice call time, etc... If it's due to a slow database we can drill down and see which query is the culprit. These performance metrics are critical to operations and are charted throughout the day so we know exactly what our users are experiencing. All of our users use a custom firefox client that we control. Using this logging framework we were able to determine that upgrading to a Firefox 4.0 based client cut browser render time by more than half a second on average. We can also tell what type of hardware the user is running so can place the blame for poor performance where appropriate. We have determined that pages render considerably faster on Windows 7 than on Windows 98 with the same hardware. We are moving the logging tables off of our exadata database to a separate box to remove that load from the application database. Since we expect the other database not to perform as well we don't want it to affect the user experience, hence the need to log asynchronously. I would like to put the data on a queue and have a background daemon process read from the queue and commit to the database. I would like the daemon thread to be able to use BC components. I would prefer not to resort to using a web service because of the inherent overhead. The logging operation is not a long operation but is of high frequency so should be as streamlined as possible. The load is spread over 6 servers with 4 JVM's each (24 weblogic instances). I know it's possible to use BC components from a plain Servlet (which runs on it's own thread) so what I want is to have something like a servlet thread that loops forever processing my logging queue.
    One other method I am investigating is using my own non-blocking ajax call that callls a servlet to perform the logging. I will need to pull out the timestamp contained within a client side ADF component along with the pages ctrl-state variable that is included with every ADF request as it uses this as the key to get to the data on the session. ADF really needs a non-blocking ADFCustomEvent for this type of request. (send and don't care about the response)
    The client component with the server listener looks like this
    <af:outputText value="#{pageFlowScope.perfClientTS}" visible="false"
    id="perfClientTSField" clientComponent="true">
    <af:serverListener type="logPerfData" method="#{perfLog.logPerfDataAction}"/>
    </af:outputText>
    The script that queues the ajax call after the page loads looks like this
    AdfCustomEvent.queue(perfClientTSField, "logPerfData", {
    typeId : typeId,
    subTypeId : subTypeId,
    responseTime1 : new String(responseTime1),
    responseTime2 : new String(responseTime2),
    openedVia: via
    true);
    I also tried calling the noResponseExpected() method on the event before queuing it but it still blocked the UI and caused an additional side effect in that the client sent two ajax requests instead of one. It somehow thought something on the client side needed to be synced with the server.
    email me and I can send a doc with more details about how our performance logging framework works.
    Edited by: Don Kleppinger on Mar 14, 2012 2:52 PM

  • Application Builder: Can you create non-blocking, return-immediately functions in a dll?

    I need to include a procedure in a dll that is non-blocking, i.e. it should return immediately after the procedure has been called, and not return after its processes are completed.
    The procedure is a LabView 7.0 VI, and the dll is being created using the Application Builder. Currently the procedure completes its desired task and then returns, but I would like the function to return immediately. Thanks for your help!

    Rischaard,
    I don't know if that will work in a dll, however as an idea:
    use the vi-server functions:
    Your dll-procedure opens a OwnTreat.vi(wich will do the work) with vi-server, and run it without waiting for completion.
    First thing OwnTreat.vi should do is opening (with vi-server) a reference to itself (So your caller dll can close without stopping the OwnTreat.vi)
    Then OwnTreat.vi con do what YOU want. When finished close the self-reference
    Maybe you need a short wait or a feedback to make sure that OwnTreat has opened his own reverence before your dll stops.
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • OCIStmtExecute does not return immediately when client is busy.

    Hi.
    I'm testing a very busy multi-threaded client server that consistently generates
    a large number of simple queries through oci. The problem is that, when the
    server(client) is busy, OCIStmtExecute does not return immediately in
    non-blocking mode.
    Of course I have set non-blocking mode and OCIStmtExecute does return
    OCI_STILL_EXECUTING immediately when the server is not busy. But
    when log rotation occurs which concatenates a large text file (~500MB)
    onto an even larger text file (up to several giga bytes), or when I simply copies
    or concatenates large text files manually, OCIStmtExecute returns very slowly.
    (roughly about after 100~200ms)
    However, while log rotation takes place, everything else including other oci
    calls that come before OCIStmtExecute (prepare, define) return fast. So
    for me it really seems that only OCIStmtExecute becomes extremely slower
    when local server (especially the disk) is busy.
    Is there any way to let OCIStmtExecute immediately return all the time?
    Thanks in advance.

    Yes, I knew that OCIStmtExecute would be the only function that causes such
    delay and that was why I traced that call. And so far, I checked several times
    what happens at the exact moment on the server but everything was ok.
    Actually OCIStmtExecute becomes slower exactly when crontab-ed log rotate
    occurs so I think this delay must be a client-side problem for now.
    This server is quite busy and has to respond fast, so it is important to
    guarantee fast response time while a small number of timeout losses are tolerable.
    But as OCIStmtExecutes' first OCI_STILL_EXECUTING return takes hundreds of
    ms it has become more like a blocking call and currently I cannot find any way to do what I want.
    So now everytime such thing happens, the thread waits
    quite long, after the first OCI_STILL_EXECUTING return
    the time difference exceeds timeout limit, and the thread
    calls OCIBreak() and OCIReset() and returns.

  • I am considering purchasing the Mac mini for home studio audio production using Adobe Audition and a USB microphone.  Will the base mini model run these programs?

    I am considering purchasing the Mac mini for home studio audio production using Adobe Audition and a USB microphone.  Will the base mini model run these programs?

    The base mini has 4GB and a 5400 RPM hard drive. It is slow to start up and slow to launch large application such as Word (and I'd assume Adobe Audition) due to the slow drive. I've not used a new 4GB model, just the 8GB model, and the 8GB model (except for the slow drive) handles everything I've thrown at it, including running Photoshop, Word, Safari, and Mail at the same time but there is sometimes a delay switching between programs as the swapfile is updated. Overall I was not happy with the 5400 RPM drive (perhaps because I have MBA and iMac with Fusion drive) so I eventually upgraded it with an SSD. Now the mini is truly a warrior.

  • JFileChooser - FireFox on OS X - showSaveDialog returns immediately or hang

    I have a singed applet that uses the JFileChooser to allow the suer to pick a file location. This works with FF and IE on Windows, works with Safari on OS X and used to work with FF on OS X. However a bug was just discovered where it no longer works with FF on OS X.
    JFileChooser chooser = new JFileChooser();
    // ask the user where we should save the file
    chooser.setCurrentDirectory(new File(System.getProperty("user.home")));
    System.out.println("*************************** "+System.getProperty("user.home"));
    chooser.setSelectedFile(new File(attachmentName));
    chooser.setDialogTitle("Save Attachment - " + attachmentName);
    int returnVal = chooser.showSaveDialog(null);
    System.out.println("*************************** "+returnVal);
    Doing the above I either get a complete hange of the broswer and VM or the showSaveDialog call returns immediately with a value of ERROR_OPTION and then the dialog is displayed.
    It doesn't seems to make a difference where I put the above code.
    We were supposed to do a release of the software today but this is a show stopper. Any help would be great.

    I've now tried the following:
    public void doit() {
    Runnable getTextFieldText = new Runnable() {
    public void run() {
    System.out.println("%%%%%%%%%%%%%%%%%%%%%%%%%% 1 "+ SwingUtilities.isEventDispatchThread() );
    JFileChooser chooser = new JFileChooser();
    System.out.println("%%%%%%%%%%%%%%%%%%%%%%%%%% 2 "+ SwingUtilities.isEventDispatchThread() );
    chooser.setCurrentDirectory(new File(System.getProperty("user.home")+"/Desktop/"));
    System.out.println("%%%%%%%%%%%%%%%%%%%%%%%%%% 3 "+ SwingUtilities.isEventDispatchThread() );
    chooser.setSelectedFile(new File("fred"));
    System.out.println("%%%%%%%%%%%%%%%%%%%%%%%%%% 4 "+ SwingUtilities.isEventDispatchThread() );
    chooser.setDialogTitle("Save Attachment - ");
    System.out.println("%%%%%%%%%%%%%%%%%%%%%%%%%% 5 "+ SwingUtilities.isEventDispatchThread() );
    int returnVal = chooser.showSaveDialog(null);
    System.out.println("@@@@@@@@@@@@@@@@@@@@@@@@@@@@ "+returnVal);
    try{
    SwingUtilities.invokeLater(getTextFieldText);
    }catch(Exception x){
    x.printStackTrace();
    Which works everywhere except FF which hang after the user dismisses the dialog. I'm begging for any insight here.

  • How to change the source file of audio elements

    Hi,
    I am using adobe edge version 3 to add audio to a website.I use both .ogg and .mp3 files.
    Inside the _edge.js file the audio element has 2 sources (one for .ogg and one for .mp3)
                    id: 'audio_element_id',
                    type: 'audio',
                    tag: 'audio',
                    rect: ['0', '0','320px','45px','auto', 'auto'],
                    source: ['source_file.mp3','source_file4.ogg']
    I want to change the source file of the audio_element programatically......
    So i am using the following code inside edgeActions.js to change the source
    sym.$("audio_element_id")[0].src="new_source_file.mp3";
    But this will change the source of both(.mp3 and .ogg ) to  new_source_file.mp3
    I want to change the source induvidually. What should i do??
    Also I wanted to know what " [0] " stands for in " sym.$("my_audio_element")[0].play(); "
    Please give me an example of a situation wherein i have to change the value of [0].
    Thank you
    Nithin

    you should create a different directory for each dvd on your hard drive and put the files where they belong eg: dvd1, dvd2, dvd3
    then create 3 bins in your project manager called dvd1, dvd2, dvd3 and put the relevant files into the bins ( can import whole folders into each respective bin )
    OR rename your files using something like " renamer" before importing to premiere
    otherwise youll have a mess of a time trying to figure out whats what...maybe someone else has a better solution

  • Is it possible to make a receiver step return immediately?

    Hi everyone,
    I am implementing a model with a loop to handle multiple messages. if there is a message meets requirement, the loop exits. but there MIGHT be other messages parked and I need to notify the sender of the message not being processed.
    so i am thinking to add another loop to receive parked/unprocessed messages. but it's possible that there is NO parked message at all. so the receiver in the last loop should be able to return immediately regardless there is parked message or not. in window programming, there is an API to receive message from system message queue without waiting. so my question is: is it possible to have a receiver without waiting?
    besides the no waiting receiver, i am open to any other suggestion that can solve my problem.

    Thanks Shankar,
    Very helpful explanation for me to understand BPM from OO way.
    Based on my understanding, I have a slight different opinion regarding the instance creation of the BPM. Whether another instance gets created depends on how correlation is defined. If correlation is on PO number and the second change request has the same PO number as the first one, then no "another" instance gets created when the first instance is still running. If the second change request is NOT "correlated" with the first one, then another instance gets created.
    If my understanding is correct, then how can we handle the following case:
    1. the receiver step starts correlation on PO number
    2. the first change reqeust and the second change request have the same PO number. the second change request is sent right after the first change request.
    3. the first change request gets confirmed and the instance stops. But there is one parked message.
    Will the parked message starts a new instance? or it just gets ignored. I prefer to have a single instance and notify the sender of the parked message that it won't be processed. If the sender wants it to be processed, it knows it should send a new message to start a new instance.
    Thanks!

  • (function ($) { // Checks if a given element resides in default extra leaving container page. function isInExtraLeavingContainer(element) { return $(element)

    [email protected] my xbox 360 (function ($) { // Checks if a given element resides in default extra leaving container page. function isInExtraLeavingContainer(element) { return $(element)

    I suspect it has something to do with the java but not sure
    Just so you'll know, there is no Java on that page.  There is, however JavaScript.  You should know that those two things are different as night and day.
    To fix your problem, change this -
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
      </script>
    </head>
    to this -
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    -->
      </script>
    </head>

  • Fitting Studio Audio to Live Video - Music Video

    I've done this before - but can't figure it out today!
    I have an edited string of video clips from 3 different cameras in my timeline. And I have audio that was recorded in the studio as well. I'm trying to take cues from each, and use them to get the audio to fit the video better. I need to slow down the video a bit to match the audio. I've set my in and out points in both the audio and video files, and now I want to shrink the video duration over that period to match up. when I select modify, the duration and speed options are grayed out. I'm sure this is simple, and I have done it before (years ago - I dont do this stuff much), but I cant make it work right now.
    Please help!
    Thanks!

    Thanks for your advice. I've tried to use Fit To Fill but so far have been unsuccessful. Can you walk me thru the exact mechanics of it?
    Again - I have a 30 second set of film clips edited together in my timeline that I'm trying to stretch to fit and make match up with some studio audio, that I'll say is 31 seconds, for sake of the discussion.
    I thought that if I set my in and out points in the canvas window, then went down to the timeline and highlighted the group of clips, pulled them up to the canvas, then dropped them in the Fit To Fill, that I woudl get the desired result. It didnt work that way. It picked different points than I intended, and it also changed the duration by varying percentages. I want them all to be 1% longer equally (or whatever the math is). It made some thigns 60%, some 74%, some 50%, etc...
    Can you walk me thru the steps??
    Thank you!!

Maybe you are looking for

  • Is there a way to change opacity keyframe without changing the scrolling keyframe?

    I'm looking at the scroll effects for  Adobe Muse. It's somewhat counter-intuitive but handy enough.  However, there are some problems with positioning or keyframing. For instance, Let's say that I have an element containing a logo that I want to be

  • How to join two or more separate tracks into one track

    I have a CD of music that I want to import. It is a study tool so all the tracks are parcelled up for easier examination- i.e. Beethoven's Symphony no. 5 in C Minor is not one long track, it is cut into 28 separate tracks ranging in time from 26 seco

  • Span div problem on flow layout

    i want to use flow layout for my page. if there is any component that includes div tag it causes new line on html page. i use page fragments in my page. if there is any fragment that includes div tag next component appears on new line. i want to plac

  • Sharing flv or swf to social media sites

    Hi all... I am researchign some solutions for building a new flash video player that will allow me to share the actual video on social media sites like Facebook.  What I'd like as far as UX is for the user to be able to watch the vidoe on my site, th

  • Generate XML using JSP

    I am trying to create and send an XML file back to browser where XSL will be applied. I am using wl6.0 sp2 I tried like this <%@ page contentType="text/xml" %> <% out.println("<?xml version=\"1.0\"?>") ; out.println("<books>"); out.println("<title>")