Why do JMS connections stay connected after Flex clients close?

Hello,
I am using AMF_Polling and the JMS Adapter to receive discardable messages on a topic from Fiorano JMS.  It works very well except for one thing.  When the Flex client goes away because the browser closed, the JMS connection to FIorano is still there. It seems to stay there for a very long time and may never timeout and go away.
Questions:
1. Is this normal behavior for the JMS adapter?
2. Is there a way to force these unused connections to close  between the JMS server and the Flex JMS adapter?
3. Is the JMS adapter continuing to receive messages after the Flex client goes away?
4. If so, are messages stacking up in memory which will eventually fill up and cause problems?
Thanks,
Chris Shafer, George Weiss Associates

To answer the question about the forwarding of messages from one queue to another myself: As mentioned at http://forums.bea.com/thread.jspa?threadID=400000611, the forwarding for queues does only work if all queue consumers are attached to the same queue. This means that our setup is OK.
But the main question is still unanswered: why do the number of active JMS connections increase? I forgot to mention that
- all messages arrive at the clients and that no exceptions are visible in the log
- if you kill the client, the connections are still visible in the Weblogic console!?
Please help as this problem is very urgent.
Peter
Edited by: pkeller on 24.10.2008 09:06
Edited by: pkeller on 24.10.2008 09:10

Similar Messages

  • JMS subscription stays active after the Flex client exits

    Folks,
    I have BlazeDS deployed in Tomcat 6.0.18. My Flex UI application
    subscribes to a JMS Topic in GlassFish.
    My problem is that the JMS subscription stays active after the
    Flex client exits.
    Can I add code to handle this scenario? Shouldn't BlazeDS pick this up
    automatically when the TCP connection closes?
    Thanks,
    Shane

    Hi Shane,
    I think this question is answered by my response to the following post:
    http://www.adobeforums.com/webx/.59b7c936/2
    -Alex

  • Skype 7.6 (409) Cant connect after sleep/lid-close...

    Skype cannot connect after sleep or after I've closed the lid of the computer. I've tested this out and it sometimes opens up the main skype chat window however I am offline and cannot go online.
    I've tried several methods;
    - deleting $TMPDIR/Skype directory
    - deleting my username folder from ~/Library/Application Support/Skype
    - deleting ~/Library/Application Support/Skype/shared.xml
    - Re-installing skype
    The only solution seems to be restarting my computer so I can relogin with skype. However this is not an acceptable solution.

    I couldn't find the edit button . I've succesfully found the problem causing it. However since I can't debug the skype app I am unable to find a solution as of yet.
    My culprit was vagrant. Everytime I boot up a vagrant instance of a vm (which is whenever I turn on my computer) I get dropped out of skype. I've tested this as far as starting a vagrant during a skype call. The call doesnt drop (it kinda stutters) but I am logged out of skype immediately.
    The things vagrant does are logged here;
    ==> vagrant_instance: Attempting graceful shutdown of VM...
    ==> vagrant_instance: Clearing any previously set forwarded ports...
    ==> vagrant_instance: Clearing any previously set network interfaces...
    ==> vagrant_instance: Preparing network interfaces based on configuration...
    vagrant_instance: Adapter 1: nat
    vagrant_instance: Adapter 2: hostonly
    VAGRANTFILE_API_VERSION = "2"
    ==> vagrant_instance: Forwarding ports...
    vagrant_instance: 8000 => 8001 (adapter 1)
    vagrant_instance: 3306 => 3307 (adapter 1)
    vagrant_instance: 27017 => 27018 (adapter 1)
    vagrant_instance: 6379 => 6380 (adapter 1)
    vagrant_instance: 22 => 2222 (adapter 1)
    ==> vagrant_instance: Booting VM...
    ==> vagrant_instance: Waiting for machine to boot. This may take a few minutes...
    vagrant_instance: SSH address: 127.0.0.1:2222
    vagrant_instance: SSH username: vagrant
    vagrant_instance: SSH auth method: private key
    vagrant_instance: Warning: Connection timeout. Retrying...
    ==> vagrant_instance: Machine booted and ready!
    ==> vagrant_instance: Checking for guest additions in VM...
    ==> vagrant_instance: Configuring and enabling network interfaces...
    ==> vagrant_instance: Exporting NFS shared folders...
    ==> vagrant_instance: Preparing to edit /etc/exports. Administrator privileges will be required...
    ==> vagrant_instance: Mounting NFS shared folders...
    ==> vagrant_instance: Machine already provisioned. Run `vagrant provision` or use the `--provision`
    ==> vagrant_instance: to force provisioning. Provisioners marked to run always will still run.
    I suspect there is a port misalignment, however the ports I've specified should not conflict with skype afaik.

  • Airport Extreme 802.11G often drops all connections after a client leaves

    After I disconnect one of my computers from the network. The network drops every remaining connection a few minutes later. If I try to reconnect I get a "Connection Timeout". I have to power cycle the Extreme to fix the problem. I first noticed it a few months ago when shutting down my work PC but it recently happens when I switch to another network from my MBP.
    Running latest firmware 5.7 and OS with IPV6 off
    Any ideas why this happens after a computer leaves the network? Very frustrating..... The lights still blink as normal during this state.

    Just shutdown 2 pcs and it happened again. The middle light in on solid, the right one is flashing, the left one is off.

  • Why does my macbook stay stuck after turn on?

    Hi, last night when I turned on my macbook pro it was stuck, I could see the screen with the icons but when I clicked on them nothing happened, I couldn't make it react, I couldn't click on anything. It took me 10 minutes to make it work. The same happened this morning, and only after a while I plugged it to the power and I closed the display, then opened it again and only after that it worked. please help, I don't know what is wrong.

    Hello tjk,
    I already tried with all the troubleshooting solutions in the book, let me tell you all the mac's symptoms because when I was reading the article there are some things that don't fit in with what's happening with mine.
    My computer does turn on, it doesn't take long for the screen to appear, but once I can see all the icons and menus, I can't make things pop up, I am able to move the arrow around but when I click on the icons or menus, nothing happens. On the keyboard, the only thing I can make work is the caps lock, and I know it because the light turns on and off when I click it, but pressing alt+command+esc doesn't help because it doesn't respond, the light on the keyboard doesn't respond to regulations with the keyboard, the sound doesn't go up or down either. But, the internet connection is fine, because I can see the icon move when it logs on and the battery charges fine, because I can see the inside of the battery icon change when it detects the power cord, and the clock works just fine. After about 10 mins of letting it rest things beggin to work, I can open any program, but if I open more than 4 safari tabs after a little while it freezes, it also happens when I try to open Youtube, then I have to turn it off by pressing the power button down because alt+command+esc doesnt work, I also tried to restart yesterday and things worked exactly the same, it didn't respond till after about 10 mins.

  • Why hyperlink's color stays purple after reloading in IE6?

    I recently updated my browser from IE5 to IE6 then got some problem withe my jsp file:
    As expected, the color of the hyperlink, after first clicking, changes from blue to purple. However, it stays as purple even if I refresh the page, reload the page, re-start browser or even re-start the application server. It was not the case in IE5, where after re-loading, all links are refreshed and become blue again.
    Can some one tell me how to set IE6 to solve this problem?
    Thank you very much!

    The link shows purple if the page is in the history folder. You can empty the history using IE6 Tools | Internet Options | General

  • Why does the microphone stay on after a call is over?

    After I end a call on my iPhone 5c, I can hear myself still talking and/or any background noise.  After about two minutes, the echoing stops and I can make another call.  If I try to immediately make another call, the phone won't engage in a call and just keeps ringing.
    Thanks.

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Try each of these in order until the issue is resolved.
    If the issue persists, take the device to Apple for evaluation.

  • Why do reminders keep popping up after I click "Close"?

    I have a couple of recurring reminders that are supposed to pop up once each day.  But when they pop up (as a notification) on my Macbook Air (OS 10.8.3) and I click "Close" they pop up again a few minutes later as though I had clicked "Snooze".  Its really annoying!  They just keep coming back.  Eventually, for some reason, they don't any more.
    Anyone else having this problem?

    One issue does arise from my idea (above)
    The "text to speech" - Announce when alerts are displayed  will now NOT work if banners is set as above

  • Why do the number of active JMS connections increase?

    <strong>Problem</strong>
    - Number of active JMS connections and current JMS messages increases until the Weblogic instances crash with an OutOfMemory exception
    <strong>Setup</strong>
    - Weblogic v9.2.3, Cluster with 4 Nodes
    - A JMS Message is sent from a MDB in Weblogic to a distributed queue which has a member on each of the 4 Weblogic nodes. The session is created as follows session = connection.createSession(false,Session.AUTO_ACKNOWLEDGE), the message delivery mode is set programmatically to persistent and the delivery mode override of the queue setup is set to persistent too
    - Standalone JMS client processes: each one is attached to <strong>all</strong> 4 nodes. Each one uses a unique JMS message selector so that we have more than one queue consumer for one queue but every message is exactly dedicated to one queue consumer. We us weblogic.jar for the clients.
    - Use of Weblogic auto reconnect feature. JMS client code:
    Connection connection = this.connectionFactory.createQueueConnection();
    final WLConnection wlconnection = (WLConnection)connection;
    wlconnection.setReconnectPolicy(JMSConstants.RECONNECT_POLICY_ALL);
    wlconnection.setTotalReconnectPeriodMillis(-1);
    wlconnection.setReconnectBlockingMillis(-1);
    <strong>Remarks and Questions</strong>
    - There are no pending JMS messages which is good
    - In our setup, each JMS client is connected to all 4 nodes as the messages are not distributed to all nodes: if a message is put to Queue A but the client is only connected to Queue B, the message is NOT transfered from Queue A to Queue B. We set the parameter "Forward Delay" to 5 seconds with no effects. Is this the normal behavior?
    - Not all JMS clients are visible in the Weblogic console under JMS Services -&gt; JMS Servers -&gt; [Server] -&gt; Monitoring -&gt; Active Connections. Which one are visible? Which one are not visible? There are also clients where the number of connections is not zero but stays constant; we know that as several independent clients on different hosts are started and the IP adress is visible in the Weblogic console. Why....?
    - What reasons can lead to increasing connections? Is this due to client or server problems? Do we have to acknowledge the message in the onMessage(Message) method of the client JMS consumer? So far as I know, we don't have to.
    - Are the increasing number of current messages due to the increasing number of JMS connections?
    - May the RECONNECT_POLICY_ALL policy produce this problem?
    Any hint is appreciated.
    Peter
    Edited by: pkeller on 23.10.2008 17:08

    To answer the question about the forwarding of messages from one queue to another myself: As mentioned at http://forums.bea.com/thread.jspa?threadID=400000611, the forwarding for queues does only work if all queue consumers are attached to the same queue. This means that our setup is OK.
    But the main question is still unanswered: why do the number of active JMS connections increase? I forgot to mention that
    - all messages arrive at the clients and that no exceptions are visible in the log
    - if you kill the client, the connections are still visible in the Weblogic console!?
    Please help as this problem is very urgent.
    Peter
    Edited by: pkeller on 24.10.2008 09:06
    Edited by: pkeller on 24.10.2008 09:10

  • Why my home wifi connection ipad2 enter the password after the password has been wrong? Password is the phone able to connect after the connection is ipa

    Why my home wifi connection ipad2 enter the password after the password has been wrong? Password is the phone able to connect after the connection is ipad2 has been an error?

    Hello joe2616,
    Thanks for using Apple Support Communities.
    To troubleshoot this issue where your Wi-Fi network is dropping, please follow the directions outlined below.
    Symptom: The network connection drops unexpectedly
    Your Mac may not not stay connected to your Wi-Fi network reliably.
    Your Mac may stop accessing the Internet during use.
    Solution
    Use these steps if your computer disconnects from its Wi-Fi network unexpectedly.
    Check your range to the Wi-Fi router and reduce the effect of interference.
    If your computer is too far from your Wi-Fi router or your environment has too much Wi-Fi interference, then your computer may not detect the Wi-Fi network properly. The easiest way to check for range limits with your Wi-Fi network is to move your computer or your Wi-Fi router closer together and make sure that there are no obstructions (such as walls, cabinets, and so forth) between the router and your computer.See Potential sources of wireless interference for more information about interference and solutions.
    Try connecting to a different Wi-Fi network. If your computer works fine when connected to a different Wi-Fi network, then the issue may be related to your network router or ISP. In that case, contact the manufacturer of your router or your ISP.
    Wi-Fi: How to troubleshoot Wi-Fi connectivity - Apple Support
    Thanks for using the Apple Support Communities!
    Cheers,
    Alex H.

  • Facetime says connecting after you answer the call but doesn't actually connect and both iphone 5s were quick reset-ted and facetime was turnt on and off, any reasons like why or how and how to fix this concerning issue

    facetime says connecting after you answer the call but doesn't actually connect and both iphone 5s were quick reset-ted and facetime was turnt on and off, any reasons like why or how and how to fix this concerning issue

    Apple has released a document which is reported to address the recent FaceTime issue.
    http://support.apple.com/kb/TS5419

  • Wifi won't stay connected after switching phone off and back on

    This does not seem to be the apparently common problem of either dropping wi-fi signal OR losing wi-fi after the phone sleeps.
    I have a 3GS. My wi-fi works fine all day while I'm around the house even with multiple sleep events. However, when I switch off my phone at night and then turn it back on again the next morning, the phone stays on 3G. If I go to the wi-fi settings, it shoes wi-fi is "on" and I can select my network and it will join it right away. It just doesn't rejoin automatically.
    I am not certain about this, but I think this problem may have only started when I recently switched on the "ask to join networks" setting. I have tried turning this off but still the problem remains.
    My wife's 3GS and my son's 4 both stay connected after a switch off and back on, and we are all using the same network.
    If anyone has any suggestions I would be most appreciative. With three of us now sharing the cell data plan we are getting very close to the limit each month and want to maximize wi-fi usage.
    Thanks.

    SKAshanchi wrote:
    From this article:
    http://support.apple.com/kb/HT5883?viewlocale=en_US&locale=en_US
    Note: Touch ID cannot be used for purchases if Require Password in Settings > General > Restrictions is set to Immediately.
    I don't have any restrictions set on my phone at all.

  • Why is atv slow to buffer after connecting with cat5 cable

    Why is atv slow to buffer after connecting with cat5 cable

    Update on some things I have tried
    As I am not sure the cause, I have been reading and trying different things, last thing was to set the interfaces to Duplex Full
    I did this on both the Ethernet ports on the routers, and both of the Fast Ethernet ports being used on the switch, but has not changed the speed that PC1 is getting.
    Also turned on CEF on both routers

  • TS1702 just want to ask why still cant connect to iTunes store after restart?

    just want to ask why still cant connect to iTunes store after restart?

    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
     Cheers, Tom

  • I cannot connect after upgrading Firefox. I work in corporate environment and cannot change security settings. Why this feature was not tested before upgrading to current version?

    I cannot connect to ANY web sites (for example, yahoo, google, etc.

    [https://support.mozilla.org/en-US/kb/Cannot%20connect%20after%20upgrading%20Firefox Cannot connect after upgrading Firefox]
    see also [https://support.mozilla.org/en-US/kb/Firewalls Firewalls]
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

Maybe you are looking for

  • Xml to abap internal table by using a dynamic internal table at runtime

    Hi ,       I have a requirement to convert xml to abap internal table . But the requirement is that i need to create internal table according to the XML . Ex : If my XML is : <?xml version="1.0" ?> - <flights> - <airline code="AA" name="American Airl

  • Won't display the path im drawing

    when i select the pencil tool and draw a path it doesn't show it until i release the mouse button! why? how can i fix that? (got the same problem in illustrator)

  • Deploy a JSP file onto the Portal Server ?

    Hello All, I have a jsp file with me. Now I just want to deploy it on to the Portal server. Should I create a JSP Dynpage ? I've the complete jsp file . Shud i need to do anything to convert it into a jsp dynpage ? Can anyone tell me the procedure of

  • My iTouch (4th gen) Won't Update, Help!

    I've tried countless times, and it just wont update. It Takes FOREVER to download the software and continually fails last minute. I have no clue why, my iTunes is the most recent version. I really need to update it tonight. Please Help!!!!!

  • Automated GUI testing

    Hey, I'm developing an application using UI5 and I'm currently looking for a tool that allows me to record automated GUI test cases. Usually we are using HP QuickTest for that purpose but it seems not to support UI5. Can you recommend me any Software