Problem with multiple requests to different servers using HTTPService

Hi
I'm aware that we are limited to two concurrent connections to a single host, so I'm looking into using either subdomains pointing to the same server, or separate physical servers to process multiple requests side-by-side.
However, whichever way I try to send three requests, looking at the Network Monitor the 3rd request always waits until one of the first two has finished. In the screenshot below, all three requests were sent at the same time to three separate physical servers, yet the top request didn't start until the bottom request finished, at 15:33:28
Any ideas how to get round this? I'm using SSL, but I've also tested it on HTTP with the same results. I'm writing an AIR app, and posted this on the AIR forum but was told it was a Flex issue and I should post it here.
Please let me know if any more information is needed
Many thanks
James

Would that still apply even though I'm not running this inside a browser, but in AIR?
I've seen this method recommended by other people, and also the following page seems to suggest that what I'm doing should work
http://www.chadupton.com/blog/2008/08/maximum-concurrent-http-requests-from-adobe-air/
Kind regards
James

Similar Messages

  • Problem with multiple requests

    I have a problem with the users submitting multiple requests simultaneously.
    Let me put it this way:
    1. User is on a tabbed panel with clear and search buttons.
    2. User clicks on 'clear' button from any tab (request one). On successful completion, it should reset and load tab one.
    3. Before the tab one loads, user again clicks (request two) on a different tab two. (Tabbed panel - server side tab switch)
    4. As a result, tab two loads. Now when I click on tab one, the default values are not getting set.
    Now when I look at my phase listener logs:
    Processing new  Request!
    St - RESTORE_VIEW 1
    En - RESTORE_VIEW 1
    St - APPLY_REQUEST_VALUES 2
    En - APPLY_REQUEST_VALUES 2
    St - PROCESS_VALIDATIONS 3
    En - PROCESS_VALIDATIONS 3
    St - UPDATE_MODEL_VALUES 4
    En - UPDATE_MODEL_VALUES 4
    St - INVOKE_APPLICATION 5
    En - INVOKE_APPLICATION 5
    St - RENDER_RESPONSE 6
    Processing new  Request!
    St - RESTORE_VIEW 1
    En - RENDER_RESPONSE 6
    Done with Request!
    En - RESTORE_VIEW 1
    St - APPLY_REQUEST_VALUES 2
    En - APPLY_REQUEST_VALUES 2
    St - PROCESS_VALIDATIONS 3
    En - PROCESS_VALIDATIONS 3
    St - UPDATE_MODEL_VALUES 4
    En - UPDATE_MODEL_VALUES 4
    St - INVOKE_APPLICATION 5
    En - INVOKE_APPLICATION 5
    St - RENDER_RESPONSE 6
    En - RENDER_RESPONSE 6
    Done with Request!Looking above its very clear that request two begins before the completion of render response phase of request one. I guess thats where the problem lies and users are not really interested in solution provided by me to use javascript and freeze the page until request one completes.
    I would like to know if it is possible to hold a second request in the phase listener until the first request gets completed. Any help would be highly appreciated.
    Thanks.

    Thus, you want to keep user/session-specific requests in a synchronized queue? You could put a lock in the HttpSession on start of request and remove it on end of request and synchronize the requests on that lock. You can use a Filter for this which is mapped on FacesServlet.
    It's all theory and I've never done it, so I can't give a "safe" code example out of head. But googling using the terms "synchronized, lock, httpsession" gives lot of the same ideas, some with examples, under each this article: [http://www.ibm.com/developerworks/library/j-jtp09238.html].

  • Problems with FLV on two different servers

    Hello all,
    I am using an embedded FLV player on a site. On one site it is working fine, but they FLV's won't play on the other site. The files are identical. I set up a test file that points to the various player files (flvplayer.swf and swfobject.js) and then the FLV. I can switch between the two FLV files and the one will play and the other won't. It's not the FLV itself as I've done several tests with different files. It's not the player that I can tell as it works fine on both servers. It's something with the server settings and how it serves up FLV's.
    Is there a specific port that needs to be opened? I just took a look and suprise, suprise, the server on the faulty side is running IIS. The working server is Apache.
    Thanks for any help. This is a really frustrating problem.

    I've done some more research and it looks like it may be a MIME problem with IIS.I've contacted the hosting service and we'll see if that fixes it.
    http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Liv eDocs_Parts&file=00001040.html

  • Problem with multiple Toplink/JPA apps in same server

    Anyone have experence of running serveral Toplink/ EJB-3 Web apps in the same server (OC4J, alas)?
    We seem to get a problem with the second app failing to initialise toplink, with an entity not found message. Each app runs OK on it's own.

    Yes, they access the same datasource and most of the tables overlap.
    We're thinking it might help to have common entity classes and put them in a shared library, but I don't know if this is relevant (setting up shared libraries complicates testing and tends to snowball, I reckon we need about 15 jars all told).
    I''ve had some funnies on OC4J before which I think may be to do with it's use of ClassLoaders, for example I initially put persistence.xml in the libary jar with the data model, but for some reason I get the entity not found error that way. It only seems to work if it's in the classes folder.
    For the moment we're getting arround the problem with multiple OC4J instances in the server.

  • Problems with multiple idocs in one file ( Inbound file )

    HI,
    Thanks in Advance for your suggestions.. Highly appreciated.
    We have problems with multiple IDocs in one file.
    We are using XIB ( Amtrix ) as Middleware to receive the files.
    Curretenly When the file contains one IDoc then there is no problem. IDoc is created and everything is ok.
    If file contains two IDocs ( for example two messages ORDERS and DELVERY ) then it is creating two IDocs but both IDocs contains ORDERS plus DELIVERY segements information. That is the problem. Some how SAP unable to differentiate the IDocs in the file.. But it knows that how many idocs are there in the file..because it is creating exact number of idocs.
    We are using TRFC port ... Do I need to change it to File port..
    When we have more than one idoc do we need set any parameter in the file ...

    Thanks for the swift response. Always ideas are useful.
    As of now , Middleware cannot split the file.
    Thing is SAP is creating two Idocs with different message types. Problem is First IDoc contains ORDERS message type but also DELIVERY segments as well. Second IDoc with DELIVERY message tyoe but ORDERS segments as well... This is the problem... I think we are missing some field activation in file for EDIDC record.
    As far as I know file port supports the number of IDocs in one file.. Hope TRFC port also supports that

  • Problem with multiple versions of documents being published with 001, 002, etc.

    I am using Contribute CS3. I am having a problem with multiple versions of documents being published on the sever with 001, 002, etc in the name. So that I end up with 2 or 3 versions of a document on the server. Does anyone know why / how Contribute  is doing this? Thanks for any help you can give.

    Your Web site administrator will need to update your key to allow you to delete files you are able to edit.

  • Problem with multiple forms and subview

    I have a problem when using NetBean Web Pack (JDK6, Net Beans 5.5, JSF 1.2).
    1) I created a JSF page (hello.jsp) and a page fragment (header.jspf) inside Web Pack, and let the JSF page (hello.jsp) includes the page fragment.
    2) The include instruction is outside of the "form" element id=main_form() of the first JSF page.
    3) Inside the page fragment (header.jspf), I put a form (id=header_form) with some input fields inside the "subview" element.
    4) When running the web application, the form and its children (id=header_form) inside the subview are not rendered.
    It seems to be a problem with multiple forms on a page and the subview.
    Do I use these JSF components incorrectly? Any advice?
    Thanks

    The forms are not nested.
    hello.jsp
    <webuijsf:body ...>
    <!-- BEGIN: include header -->
    <div style="margin: 0px 0px 10px 0px; left: 0px; top: 0px">
    <jsp:directive.include file="Header.jspf"/>
    </div>
    <!-- END: include header -->
    <webuijsf:form ...>
    From above fragment, you can see the header.jspf is outside of the form element.

  • LOV Problem with multiple values

    HI All,
    I have a problem with LOV .When ever i click LOV after search button all values are displaying fine.
    But when i get so many values i want to select only one vlaue that is not cmng to the main page ....Cursor is in running state always after that time out error is coming in my application .
    This problem is coming with with only single value selection in lOV only problem with Multiple values retrival that time only...
    (Iam using 11.1.1.3 Jdeveloper.)
    Thanx in advance...

    duplicate of {thread:id=2286814}

  • Hi, i have a macbook air and i've been having problems with the camera when i'm using skype. i know im no the 1st one and i'd like to know when apple or someone 'll do something about this.

    hi, i have a macbook air and i've been having problems with the camera when i'm using skype. i know im no the 1st one and i'd like to know when apple or someone 'll do something about this.

    Try reinstalling Combo Update.
    http://support.apple.com/kb/DL1676
    Best.

  • Send multiple files in different directories using Receiver File Adapter

    Hi Experts,
    I have one File to File without ESR scenario where I have to pick multiple files from different directories and to save them in different directories on receiver side.
    Can anyne help me to send multiple files in different directories using receiver file adapter.
    Is it possible??
    Any help will be appreciated.
    Regards,
    Danish

    hi ,
    that is possiable without esr,
    we need to create one sender communication channel , in that  we nend to use "adavnced selection for source file " for sending multiple files from multiple directories.
    we need to create 'n' receiver communication channels and 'n' receiver agreements based on communication channels .
    in receiver determination, provide multiple receivers
    In interface determination , provide * symbol for receiver communication components
    thanks,

  • Im having problem with the dvd quality, I'm using compressor to convert the video fils from apple prores to mpeg2 .It doesn't matter how long my video is even if its just 5 minutes  I'm getting cut edges in the video , does anyone have any idea ?

    Im having a problem with the dvd quality, I'm using compressor to convert the video fils from apple prores to mpeg2 .It doesn't matter how long my video is even if its just 5 minutes  I'm getting cut edges/lines  in the video specialy if i have titles it comes up really bad , I took the same video to a friend of mine who have PC and he uses Encore , did the encoding there and it was just fine no problems! BTW I tried using doferent setings in compressor from CBR and VBR I even pushed up the setings to 8 or 9 BR and still no luck !
    does anyone have any idea ?
    Thanks in advence ...

    Let's focus attention on just the Sony. (What model and what resolution are you shooting?)
    For now, I'll assume you're shooting 1080i.
    Take a representaive clip  into a new sequence. Add a title.
    In your sequence, make sure field dominance is set to Upper.
    Set render settings to Pro Res 422.
    After rendering, export QT self contained.
    Import into Compressor (I'm now referring to v3.5).
    Select the 90 minute Best quality DVD preset.
    Open frame controls and turn on (click the gear icon). Set Resize filter to Best.
    Submit burn and check quality on TV.
    Good luck.

  • Can anyone please help me, I'm having problems with sound while watching video clips using flash player using Internet Explorer\

    Can anyone please help me, I'm having problems with sound while watching video clips using flash player & Internet Explorer

    There's a good chance that this is a known issue.  We'll have a Flash Player 18 beta later this week that should resolve this at http://www.adobe.com/go/flashplayerbeta/

  • Unable to view Behance - Oops! There was a problem with your request

    Hi,
    Today, I am unable to view Behance and I'm unable to log in as well.
    Received the error message - Oops! There was a problem with your request.
    Please refresh the page to try again.
    Contact support if the problem persists.
    Does anyone has the same problem, Anyone knows how to resolve this?

    Hi - we can definitely help! To have a private convo where we can give you your accont info, please write us a ticket here and someone will get back to you ASAP:
    Behance Support & Forum : Submit a request for assistance

  • I downloaded Firefox 7 and when I click on the browser icon nothing happens, the browser does not load on desktop.I had no problems with Firefox 4 I had been using for several years and liked very much

    I downloaded Firefox 7 and when I click on the browser icon nothing happens, the browser does not load on desktop.I had no problems with Firefox 4 I had been using for several years and liked very much

    Most people have no problems with installing firefox as an upgrade, but there are quite a few things that can cause problems. Please have a look at the articles
    * [[software Update Failed]] <-- clickable link (blue ) --
    * [[firefox will not start]]
    * [[firefox does not work]]
    Post back after you read them and say what you tried. Have you ensured you used an admin account, possibly needing to check the UAC setting, and that security software is not blocking the changes. You should certainly try starting in firefox's [[safe mode]] either from a menu/icon option or by holding the shift key as you attempt to run firefox.
    Is the browser icon you see on the desktop, and a firefox icon ?

  • I am having problems with downloading Windows Support Software by using Boot Camp Assistant. Is there somewhere else I can download from?

    I am having problems with downloading Windows Support Software by using Boot Camp Assistant. Is there somewhere else I can download from?

    No. There is no other location. Be patient. Read the posts in the Bootcamp Forum. There are hundreds of posts about your issue and what to do. https://discussions.apple.com/community/windows_software/boot_camp

Maybe you are looking for

  • I'd appreciate any help setting up my SPA 2102 w/ my D_Link wireless DIR 601

    hello all  Not sure if this has been addressed before... i found this link but my setup is slightly different.   http://forums.linksysbycisco.com/linksys/board/message?message.uid=227491&comm_cc=US&comm_lang=en presently,  I have a dry loop phone lin

  • How to calculate the retropay for a company who has grade rates & not notch

    Hey everyone I am trying to calculate the arrears of bunch of employees, the company has the grade rates i.e. salaries are defined as minimum , maximum Mid Value. Navigation: Grade>Grade Rate Now when i run the retropay by element process i am failin

  • Cancel payment request

    Dear all, Can anyone please let me know how to to cancel an earlier send and still not executed payment request. srinivas

  • RV110W Ping but no discovery

    Hello, I have connected 2 LAN devices on my RV110W and a PC all of them with DHCP local ip. from the pc I can ping successfully the two devices if I know their ip address. But when I try to discover any accessible device the result is zero. All the d

  • How to populate custom USER table with data from Oracle Internet Directory?

    Hi all, We have a Users table in our internal forms application. I want to populate this USERS table each time users are added in Oracle Internet Directory. Likewise for modification and deletion. How to go about doing this ? I know that it involves