Increasing max-streaming-connections-per-session has slow acknowledge response?

Our application is a Flex GUI with a WebLogic Server (BlaseDS) on a private network.  We were originally using IE 6, but have upgraded to IE 8.
I am trying to use publish/subscribe messaging to monitor lengthy processes on the server and received incremental data.  With 1 such process everything works fine.  But we want to allow the user to subscribe to more than 1 message destination.  So I increased the "max-streaming-connections-per-session" (default is 1) in the services-config.xml file
     <channel-definition id="process-notification-streaming-amf"
          class="mx.messaging.channels.StreamingAMFChannel">
          <endpoint url=https://{server.name}:{server.port}/{context.root}/messagebroker/streamingnotificationamf"
          class="flex.messaging.endpoints.StreamingAMFEndpoint"/>
          <properties>
               <user-agent-settings>
                    <user-agent match-on="MSIE" kickstart-bytes="2048"
                         max-streaming-connections-per-session="3" />
               </user-agent-settings>
          </properties>
     </channel-definition>
If we leave max-streaming-connections-per-session as the default value of 1 and try to subscribe to another message destination we get an error indicating limit has been reached:
     [BlaseDS]Endpoint with id 'process-notification-streaming-amf' cannot grant streaming connection to FlexClient with id '7FFC82DE-etc ' because max-streaming-connections-per-session limit of '1' has been reached.
     We upgraded to IE8 as documentation indicates IE8 allows for an increase of max-streaming-connections-per-session, where IE 6 is limited to 1.  But increasing max-streaming-connections-per-session does not quite solve the problem.  We have 3 consumers; consumer1, consumer2, consumer3.  For each of these consumers, we add event listeners for MessageAckEvent.ACKNOWLEDGE and MessageEvent.MESSAGE.
     We call consumer1.subscribe().  When we receive the acknowledge message, we call consumer2.subscribe() (likewise with consumer3)
     The problem is it takes over 2 minutes to receive the acknowledge message from the call to consumer1.subscribe().  (With max-streaming-connections-per-session set to 1, the acknowledge message is received in a few seconds.)
     So, increasing max-streaming-connections-per-session removes the error about reaching a limit, but it appears to come with a cost of a big delay in a long delay on the call to subscribe?  Or is there something we are missing?

I guess I will answer my own question.  Hopefully this will be useful to someone else in the future...
The problem was coming from IE being limited to 1 connection by the registry.  The solution can be found at:
http://support.microsoft.com/kb/282402
I manually performed the steps to update the registry, though microsoft provides a "Fix It"; MicrosoftFixit50098.msi
One other key element was to make sure to have kickstart-bytes="2048".

Similar Messages

  • Max streaming connections per session error

    I have a flex application that uses messaging with a streaming AMF connection, falling back to polling. When the max number of streaming connections on the server is reached, it does fall back to polling (at least it prints the max-streaming-clients error but the client connects, so I assume it is falling back - how can I tell?). However, occasionally the streaming connection will not initialize and it does not fall back - no messages are received on the client. The following error is logged on the server:
    [EMST]09/25/2008 13:43:18.231 [ERROR] Endpoint with id 'my-streaming-amf' cannot grant streaming connection to FlexClient with id 'D5B8E3A1-1A1C-063E-84A6-6A743A1E4EE0' because max-streaming-connections-per-session limit of '1' has been reached.
    This would make sense if the issue was caused by trying to initialize the streaming connection in two tabs of a browser, but I am only trying to initialize in one tab. Closing the browser (and thus destroying the session) does not fix it. The only solution I've found is to reboot the client machine. This has happened in both FireFox 3.0.2 and IE 7.
    (1) What could cause the client to get in this state?
    (2) When it happens, why doesn't it fall back to polling? Is the fallback only for when the server max connections is reached? When the streaming connection doesn't initialize, no messages are received.
    (3) Is there a way to explicitly close the streaming connection on the client so we can fix this without rebooting?
    Thanks!

    Hi Mary. If you turn on Debug level logging on the client and the server you should be able to tell if you have fallen back to a polling channel after the attempt to connect over the streaming channel has been rejected. In the client log, you will see the flex application sending poll requests to the server at the polling interval configured in the channel and in the server log you should see that the server is receiving these requests.
    The behaviour you are seeing seems very strange to me. The reason we have the max-streaming-connections-per-session limit on the server is because most browsers limit the number of active connections that can be made to a server from a single session. In IE for example, this is 2. What happens in most cases when the browser's connection limit is reached is that new connections are put on hold until one of the existing connections closes. This would cause your flex application to hang with no errors being reported on the client or the server. This is why we need the max-streaming-connections-per-session setting on the server. This prevents more than one persistent connection from being made from the same session, so the browser should never reach it's max connections per server limit and lock up.
    It looks like you are somehow getting the browser to lock up even though the server is only limiting you to one streaming connection per session. It may be possible to do this if you reload the flex application in the browser (by doing a page refresh) in which case the browser could possibly briefly leave the streaming connection open in the background and when you tried to create a new streaming connection, the browser's connection limit to the server would have been reached and the application could hang. When the application hangs are you reloading the swf/page in the browser?
    I really don't know why closing the browser wouldn't fix the problem. You're right that closing the browser should end the session. If you launch a new browser and load the swf do you get the same "cannot grant streaming connection" error on the server or is the browser just locked up, ie. no error is received on the client and the server?
    You're not using a proxy server or anything like that are you that might be holding a connection open to the server?
    -Alex

  • Max-streaming-connections-per-session limit

    Hello,
    i'm trying BlazeDS with Air app.
    I set blazeDs on a Jboss Server with JMS adapter.
    I configure it with a streamingAMF channel.
    In user agent configuration i put msie, firefox value to 10 for the max-streaming-connections-per-session limit param.
    In Air client configuration i instantiate a producer and a consumer on the same streaming AMF channel.
    After the consumer.subscribe() i launch the producer.connect() on the server i get this error :
    14:25:20,015 INFO [STDOUT] [BlazeDS] Endpoint with id 'my-streaming-amf' cannot grant streaming connection to FlexClient with id '497031A2-7B0D-019A-0E1D-7622A-A631D28' because max-streaming-connections-per-session limit of '1' has been reached.
    Is it a limitation of use of blazeDs with Air app ?

    First, if you change the limit to 10, then it should be 10 and not 1. If you still see 1, then please log a bug.
    Second, you really want this limit to be 1 in IE and 4 in Firefox 2. But there's no reason to have more than 1 streaming connection from the server to the client unless you need to talk to two different endpoints.

  • Network.http.max-persistent-connections-per-server keeps reverting to user set 4

    I didn't used to have this problem as far as I'm aware, but as of recently, I've noticed that if I try to download more than 4 of one thing at a time from the same site, it would fail. For instance, if I have up 5 web pages of streaming content, only 4 will load, the other 5th one will do nothing until I finish one of the others. Upon looking up some information on this, I saw that the network.http.max-persistent-connections-per-server is set at "user set = 4", and if I change that number to anything else, it corresponds. If I click to 'reset' the number, it goes to the default of 6 - which is still less than what it used to be. I used to not even have a limit on this as far as I'm aware, or if I did, it was well beyond 10 and that wasn't a product of me manipulating it.
    What I'm asking is this:
    1) How do I make this so it permanently switches to a higher number? Every time I reset it to 6 or I manually change the number to something higher, once I close it, those settings go back to 4.
    2) Why is it reverting and not staying the way I change it?
    3) What's the purpose of this and why is it just recently doing it when I haven't put any new add-ons or made any other refinements to Firefox that I'm aware of?
    Any help would be appreciated

    Two possible causes for it resetting to 4 that I can think of.
    # You have an add-on handing that pref and that is resetting it to 4 when Firefox is restarted.
    # That pref is set via user.js and that causes it to go to that value as Firefox starts.
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes <br />
    http://kb.mozillazine.org/User.js_file

  • Web service request ....one db connection per session OR all share one...

    in servlet i use
    public void init(ServletConfig config) throws ServletException { }
    so it only gets the db connection once per session
    now that I am working on a web service....im not sure how to do something similiar
    I want to either have all request coming in to use the same ONE connection OR maybe one created per session
    I have way too many web service requests and it creates too many jdbc connections....what can i do to pervent this?
    I dont care if they have to wait longer;
    I just want to cut down the number of jdbc connections to 1 to 2
    any help appreciated, thanks

    You want to use a connection pool. If you just use one connection, your web users are likely to be waiting on the availabilty of the connection. A pool will let you set whatever maximum you want; 1 or 100...
    There are a number of database connection pooling options. One of the morepopular is DBCP, part of the Apache project, which is free and open source.
    http://jakarta.apache.org/commons/dbcp/
    There are other such "drop in" poolers and some database vendors are now supplying connection pooling in their drivers.

  • 2008 R2 RDS Allocates Little Memory per Session - Apps Slow

    I have an RDS server physical on Dell PowerEdge T410, 16 cores, 32Gb RAM.
    With 8-10 RDP sessions connected only 5Gb of physical RAM is used out of the 32Gb available. The apps (Dynamics ERP) are performing sluggishly - at least 50% slower than in native Windows client server on an average desktop. The desktops utilize
    2-4Gb each, so I am having hard time understanding how 8 concurrent sessions only uses 5Gb. These session should be faster than on desktops. LAN/WAN bandwidth is not in the picture, because the same slow speed happens on the console.
    Note: in addition to RDS, this server also has IIS Role.
    Maybe the server is not tuned for RDS?

    Hi,
    Thanks.
    1. Do you have any antivirus/antimalware/security/etc. on this server?  Have you tried completely removing it and then testing?
    2. Have you applied the latest Dell SUU bios/firmware/drivers/etc. for your server?  Even if you just received the server often it will not have the latest SUU updates installed.
    3. Do you notice slowness when you are the only user logged on (at the console), with no programs running?  For example, you are the only logged on, you should be able to open Control Panel, Notepad, Task Manager, other basic stuff, and they should
    come up almost instantly.
    4. Have you checked to see where potential bottlenecks are by using Performance Monitor?  For example, you may have a disk bottleneck, or perhaps there is some rogue process that is maxing out the cpus.
    5. Related to #4, what is the disk configuration of this server?  Multiple 15K RPM drives in RAID 10, or ?
    -TP

  • Limit open connections per each database session in Oracle 11

    Hi for All,
    Please, I would like to know what the limit of connections per session in Oracle 11. This issue is relevant to the use of UTL_TCP for connections with ATMs. Also, someone would have some other approach or suggestion of communication architecture with Automated Teller Machine?
    Regards,
    Edited by: user11118871 on 04/02/2010 07:30

    I suspect Spotlight is showing you the PGA plus the entire mapped portion of shared memory or the total of all shared memory pages visited. On HP-UX these are the kind of numbers you would get from ps, which may be Spotlight's source for the data.
    The glance utility of HP-UX is a more useful way to obtain detailed information on process memory usage.
    Regards,
    Jeremiah Wilton
    ORA-600 Consulting
    http://www.ora-600.net

  • How to limit max IMAP connections in mail.app?

    Hi folks,
    due to Mailserver configuration limitations from Provider side like courier-imap settings "maxperip" = 4, some (like me) may have problems to use or connect more than one imap-account to the same server in mail.app.
    In thunderbird you have the option to configure the max open connections per imap-account. If set to 1 connection, i'm able to use 4 imap-accounts.
    But how to configure this in mail.app???
    Thanks in advance,
    paranoja

    oh, as i found this seems to be an unfixed an verry old problem.
    http://discussions.apple.com/message.jspa?messageID=5820548
    http://discussions.apple.com/thread.jspa?messageID=6204843&#6204843
    It's really a shame that apple didn't fixed it since the problem is from 2007!!!
    It seems that there was a key "CacheOveraggressively" in com.apple.mail.plist in earlier versions, but i can't find it there with Version 3.5 (930.3)!
    Seems that the only real solution for now is to use thunderbird......
    P.S.: Mail in IPodTouch has of course the same Problem!

  • So, i just connected my ipod touch 4g to my laptop and there is an update 4.3.3  available  i was downloading it and just as it finishes it says your network session has timed out what ca i do? HELP ASAP PLEASE!!!

    i just connected my ipod touch 4g to my laptop and there is an update 4.3.3  available  i was downloading it and just as it finishes it says your network session has timed out what ca i do? HELP ASAP PLEASE!!!

    Try a direct download:
    iPod, iPhone and iPad Firmware Download
    Manually install it by holding your "Option" key down when clicking on the "Restore" button in iTunes and select the firmware file you downloaded.

  • I recently updated to iOS 8.0 on my Ipad however when i try to agree to the new terms and conditions i get an error message saying either 'Cannot connect to server' or 'Your session has timed out please try again' what can be done to resolve this?

    Hi, I recently updated to iOS 8.0 on my Ipad mini however when i try to agree to the new terms and conditions i get an error message saying either 'Cannot connect to server' or 'Your session has timed out please try again' what can be done to resolve this problem? Also i cannot download anything from the App store as a result of this.

    Can you check the Object Security for the Analysis Menu and Export button and see if it is restricted?
    Also, is this a Oracle DB?  IF so, has the following 32 bit Oracle Client components been isntalled:
    Oracle Objects for OLE
    Oracle Data Provider for .NET
    Oracle Providers for ASP.NET

  • Getting session has timed out while trying to redeem a gift card. have had no problem in the past.  am running a g4 since 2002 with os 10.4 and itunes 9. have no internet problems and can connect to store ok. so far apple no help keeps blaming it on othrs

    am having trouble for the first time trying to redeem a gift card. Everything same on computer, OS, and internet connection. have been able to redeem other cards. this time am getting "SESSION HAS TIMED OUT" while trying to redeem card. have contacted apple and checked out all their suggestion iE:( must be your connection. typed in code wrong, too old version of itunes, etc) anything but why would a gift card code bee tied to a specific vetrsion of ITUNES. Rediculous!! there has to be others out there that have an older version if itune than i have. has anyone ever had the error "SESSION HAS TIMED OUT" and if so was it corrected?? any information other than apples {change password and give us lots of personal info they probably have) would be appreciated..

    Hello,
    As far as I can see, that Verizon Jet Pack wireless Modem uses WPA2 to connect.
    The Router might complicate things right now.
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    Is that Interface dragged to the top of Network>Show:>Network Port Configurations and checked ON?
    The Interface that connects to the Internet, needs to be drug to the top of System Preferences>Network>Show:>Network Port Configurations and checked ON.
    If using Wifi/Airport...
    Instead of joining your Network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.

  • Once per session, connected anyway

    I have an authentication scheme that is set to once per session. The users are defined in oid and have to logon using sso.
    So far so good. But in following scenario it goes wrong.
    1. User enters the htmldb url
    2. User gets the logon screen from sso
    3. User logs in and is than forwarded to the application where the authorisation scheme says him he has no access and he is redirected to a public page that tells him this.
    4. the user presses the 'Back' key on the browser, so he gets the login screen again.
    5. he enters again his username and password, and enters.
    -> now he is logged in and gets the screen he is not allowed to.
    What goes wrong here? Why does the session not remember that this user has no access ?
    Grtz,
    Chris.

    Scott,
    The solution of htmldb_util.reset_authorizations works fine. But in the end we choose another option.
    We are using the error page now to display wether the user has no access to the application. It looks like the user has access to the error pag even if he has no access to any of the application pages. Now it works fine.
    Now the authorization also returns false.
    Tnx for the replies,
    Chris.

  • The maximum number of connections per source ('20') for this connector has been reached by this source IP address

    Receive connector 'Connector Name' rejected an incoming connection from IP address "IP of our load balancer". The maximum number of connections per source ('20') for this connector has been reached by this source IP address.
    I understand that I can up the limit - however, I'm wondering if there is a way to up the limit for ONE specific IP (our load balancer)
    TAG

    It does not look like you can up the limit for a specific IP but you might be able to create a separate receive connector for that IP address (and then change the limit).
    That is just a thought. Others may have more input on why you may or may not want to do that in practice.
    What SMTP traffic would not be coming from the load balancer?
    Is the objective to *not* allow some other (possibly malicious) source from creating excessive connections to the server?
    Otherwise, this is a good discussion about the different parameters that must be considered if you do decide to adjust the values (changing one may not suffice):
    http://letsexchange.blogspot.com/2012/04/receive-connector-rejected-incoming.html
    Nuno Mota's blog (MVP)
    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.

  • From which file does oracle tells you that a session has connected success

    Hello,
    From which log files that Oracle tells you that a session has successfully connect or unsuccessfully connected. Does the listener.log contain this information? Thank you.

    902029 wrote:
    Hello,
    From which log files that Oracle tells you that a session has successfully connect or unsuccessfully connected. Does the listener.log contain this information? Thank you.It depends upon how exactly "success" is defined.
    Listener reports status = 0 (success) in listener.log,
    even though connection to DB fails with incorrect password.

  • Multiple Consumer Object per Streaming Connection in AIR2.0

    HI,
    we require streaming server setup for our project.
    We are trying to minimize number of connections to the streaming server.
    My query is "If we have multiple Consumer object instance with same channel and destination, will all the Consumer instances share the same streaming connection or for every Consumer object instance a new Connection is created?"
    Thanks in advacne for your support.
    Regards,
    Shailendra

    Thanks doghouseJim, appreicate
    I tried to substitute onStatus function with your code (metadata) and as a result I don't have reported  error anymore.
    However, for strange reason, once the flash goes into a html document the video is not loaded...
    any idea?
    Cheers

Maybe you are looking for

  • Adobe Acrobat will not open

    I installed CS6 a few weeks ago and it worked fine. All of a sudden I can't open the Adobe Acrobat program any longer. How do I fix this?

  • URGENT!! ObjectInput/Output stream

    guys help me please, i am writting a client/server application, and i want to send an object from the client to the server and send it back to the client. but see, when i run the program its gives java.io.StreamCorruptedException:invalid stream heade

  • Using "or" in a log in script

    I have a small family website that is for members only. I have a login script that matches a list of names and password and I protect every page with This works very well, however.. I am now trying to develop a family tree where I would like to inclu

  • How to use built in dictionary in Mac OS X lion on PDF file?

    Hi there, Does anyone know how to use built in dictionary in Mac OS X lion on PDF file with out using trackpad? Thank you.

  • Business Package for Learning solutions

    Hi All, Can somebody help me on learning solution business package. I have downloaded the package from content portfolio and I am aware there are other related components like LSOCP, LSOAE, LSOOP.. Can somebody provide me document for complete implem