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

Similar Messages

  • 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

  • Why does the app (acrobat.exe) stay alive after the document is closed?

    Using system Explorer or HijackThis, it is apparent that the acrobat.exe app stays active after the document that called the app is closed.  Why?  and how do I stop it from happening?

    I have the same problem and it is irritating because if I print and save a pdf file using Acrobat, I cannot change the file name or delete the file  because the system somehow thinks the file is open in the Acrobat.exe application, even after I have closed out pdf file and all Adobe applications in my user account.   I need to go to the Task Manager and find the Acrobat application running under SYSTEM in order to stop the process so I can go back and change the file name or delete it...
    This did not occur until my recent update to Acrobat 9.4.2.220 .  Is this fixable somehow?

  • KMS properly activating after 5 Server2008R2 clients registered...

    ...but not Windows7 clients(yet)?   code: 0xC004F038
    According to the
    KMS Hierarchy, I was under the assumption that since I already met the 5 minimum clients for Server(Group B for Windows Server 2008 R2), that I wouldn't need to hit 25 client activations for the Win7 clients(Client
    VL for Windows 7)?
    Name: Windows Server(R), ServerStandard edition
    Description: Windows Operating System - Windows Server(R), VOLUME_KMS_R2_B channel
    License Status: Licensed
    Key Management Service is enabled on this machine
        Current count: 8
    (I run a small shop and having to spin up 25 Win7 clients would be a bit of a pain)
    thanks in advance for any insight to this little puzzle
    thx, ~~Robb

    Hi,
    Thanks for posting in the forum.
    Regarding your question, would you please provide more detailed information about your request? From your description, I suppose maybe you have misunderstood the meaning of KMS
    Hierarchy. At this time, I suggest you could refer to the following article. It provides us the detailed information about how to deploy the KMS service.
    How to Choose the Right Volume License Key for Windows
    http://technet.microsoft.com/en-us/library/ee939271.aspx
    Hope this helps.
    Regards,
    Andy Qi
    Andy Qi
    TechNet Community Support

  • Calender font specidfication stays active after closing the calender.

    The font specification used by the calender stays active when closing the calender form.
    The used font style like "BOLD"/"UNDERLINE" is still active when iI open a LOV.
    I think this is because the property of the visual attribute of the LOV is set on <UNSPECIFIED>.
    Now I've added a new visual attribute to the Object library especially for LOV's
    And in designer I've added the template to be used by the LOV's
    The problem however is that when generating the module the visual attribute isn't added to the .fmb/fmx file
    and the LOV uses the original visual attribute.
    Any suggestions?
    Thanks
    By the way, It's a Client/Server application.

    Visual attributes are included in generated forms because they are included in object groups that are included in the template form. To include a new visual attribute in every form, you could add the visual attribute to the group QMSSO$MODULE in qmsolm65.fmb and re-generating the qmsolb65.olb object library. Then, if you recompile new .fmx files for you forms, the visual attribute will be added to every form.
    Regards,
    Lauri

  • Premiere Pro CS 6.exe stays active after closing the program

    I am experiencing a problem with Premiere Pro CS 6.03. When I close the program, the second monitor would not return to desktop (it stays a black screen). The premiere pro cs.exe is active in taskmanager. Only after I end the exe process would the second monitor return to desktop. I am not using any third party hardware, only Adobe player for second monitor out. This problem occurs often, but not every time I use Premiere. I have never experienced this problem in Premiere Pro CS 5.03, which is still installed on the same PC. The technical Spec is: Intel 3930K, 32 GB RAM, GTX 560, Windows 7 Professional 64 bit. I have tried to toggle between different NVidia drivers, but with no effect.
    Any help would be appreciated!

    I've had the process stay open after closing the program as well, but only on one of my two machines.  For me, the 6.0.3 update seemed to correct the issue.  Not sure why it's still happening in your case.

  • JMS messages sometimes not received by Flex client

    We have a problem that Flex client is sometimes not able to
    receive JMS messages from a JBoss JMS Queue. Most of the time it
    works, but if users logout/login using the same account frequently
    or you restart JBoss 4.0.4 during their session then it might
    happen. Then it doesn't work at all even if you wait. Client is
    able to send messages when this problem occurs, which can then be
    intercepted by other clients but cannot receive any messages from
    himself or from the others. JBoss 4.0.4 is running in cluster mode.
    Could it be that there is an old frozen session which is receiving
    the messages meant for the new client?(consumer selector is unique
    to each user, but if a user logs in twice, the same selector is
    used) If I run 2 instances of my JMS test consumer using the same
    selector then the consumer which registered later receives the
    messages and if it quits, then the older consumer starts receving
    them. This doesn't occur in Flex.
    Flex is running on Tomcat 5.5.17.
    Our messaging-config.xml is
    <?xml version="1.0" encoding="UTF-8"?>
    <service id="message-service"
    class="flex.messaging.services.MessageService"
    messageTypes="flex.messaging.messages.AsyncMessage">
    <adapters>
    <adapter-definition id="actionscript"
    class="flex.messaging.services.messaging.adapters.ActionScriptAdapter"
    default="true" />
    <adapter-definition id="jms"
    class="flex.messaging.services.messaging.adapters.JMSAdapter"/>
    </adapters>
    <destination id="JMSQueueB">
    <properties>
    <network>
    <session-timeout>10</session-timeout>
    </network>
    <jms>
    <initial-context-environment>
    <property>
    <name>java.naming.factory.url.pkgs</name>
    <value>org.jboss.naming:org.jnp.interfaces</value>
    </property>
    <property>
    <name>Context.PROVIDER_URL</name>
    <value>jnp://x.x.x.x:1100,jnp://x.x.x.y:1100</value>
    </property>
    <property>
    <name>Context.INITIAL_CONTEXT_FACTORY</name>
    <value>org.jnp.interfaces.NamingContextFactory</value>
    </property>
    </initial-context-environment>
    <destination-type>Queue</destination-type>
    <message-type>javax.jms.TextMessage</message-type>
    <connection-factory>ConnectionFactory</connection-factory>
    <destination-jndi-name>queue/B</destination-jndi-name>
    <destination-name>B</destination-name>
    <delivery-mode>PERSISTENT</delivery-mode>
    <message-priority>DEFAULT_PRIORITY</message-priority>
    <acknowledge-mode>AUTO_ACKNOWLEDGE</acknowledge-mode>
    <transacted-sessions>false</transacted-sessions>
    </jms>
    </properties>
    <channels>
    <channel ref="my-rtmp"/>
    <channel ref="my-secure-amf"/>
    </channels>
    <adapter ref="jms"/>
    </destination>
    </service>
    Part of our actionscript code:
    pmConsumer = new Consumer();
    pmConsumer.destination = "JMSQueueB";
    pmConsumer.selector = "some jms selector ....";
    pmConsumer.addEventListener(MessageEvent.MESSAGE,
    presenceMessageHandler);
    pmConsumer.addEventListener(MessageFaultEvent.FAULT,
    faultHandler);
    pmConsumer.addEventListener(ChannelFaultEvent.FAULT,
    channelFaultHandler);
    pmConsumer.subscribe();
    Also Flex seems to be handing channel switching incorrectly,
    if rtmp port is firewalled, it won't use amf properly even though
    it was given 2 channels in configuration file and JMS messaging
    doesn't work. We have to alter the channel set during runtime.
    Flex also doesn't automatically switch to other JMS server if
    one goes down. Is this a feature or a bug? We have to reset
    producer and consumer in order for this to work.

    Hi,
    It was in earlier version of the OS that you could turn Bonjour On and Off.
    If this can be done in Leopard and Snow Leopard I have not found it yet. (But I don't look that often and nor for very long)
    This Forum may help with that
    I would also try a PRAM reset. (on Both computers)
    Shut down the computer.
    Restart it holding down APPLE(or ⌘)ALT+PR Keys until you have heard three Start Up Bongs.
    7:18 PM Tuesday; December 8, 2009
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • Storm 2 9550 with BMW - Bluetooth stays active all the time

    I changed my phone recently and bought a Storm 2 9550. My old Verizon phone (Motorola Z60) used to work with my car without any problems.
    At first, I didn't have any problems with the new phone while on my car's Bluetooth. However, after activating my phone with the company e-mail functions, the Bluetooth is a nightmare. As soon as it is activated, it stays activated even thought am not talking to anyone and turn the car radio off. I can't change channels on the radio, because the Bluetooth is always active.
    It can't be a problem with the car as it used to work with my other phone. Something happened when I start to get my company e-mails on the phone.
    As soon as I am done with my phone call, I have to disable the Bluetooth otherwise it drains the battery as it stays connected.
    I did unpair and re-pair stuff... Is there a solution to this?
    Zack04

    Delete CleanMyMac2.  You do not need it and may be a contributing reason for your problem.
    Check Activity Monitor for applications that may be using a lot of CPU resources:
    http://support.apple.com/en-us/HT203184
    Run an Apple Hardware Test:
    http://support.apple.com/en-us/HT201257
    Note that an error free AHT is not definitive.
    You also might test the MBP with the original RAM module in place of the 8GB module you installed.  There may be compatibility issues.
    Ciao.

  • Season Pass - Still active after the season is completed

    Some time ago I purchased a pass for the first season of Breaking Bad.
    After seven episodes the season was officially over.
    However, the season pass remains active (it still is).
    When I want to switch to a different iTunes store (different counry), iTunes tells me that it is not possible as long as I have active season passes.
    Is a season pass supposed to expire/end automatically after the respective season is complete?
    If it is supposed to be this way, how can I close/end my still active season pass.
    Thank in advance for the help

    Hi Girish,
    My bad, forgot to put all the required info in the post. Sorry about that.
    Database 10.2.0.2.0 - enterprise, Linux OS. I have enough SGA (64gb), PGA, undo, temp tablespace space.
    The select is a "normal" read only select that needs to read millions of blocks from data files. The main table is partitioned and the waits are on reading data from partitions. In v$session the main session and the child processes are marked as killed.
    In v$lock I see that the wait is on db read scan. Everything is working. That's actually my issue.
    Why it's still querying data/reading from disk when I killed all the sessions.
    Doesn't Oracle stop the processes associated with a killed session?
    I killed the session: alter system kill session 'sid,serial';
    Do you think "alter system disconnect session 'sid,serial' immediate" is better?
    What I don't understand is how can I stop fast (ok I get that it can not happen in a few seconds) a query that is only read only that is running for too long. When I kill a session I was expecting the processes associated with it to stop. In a update/insert/delete, the server will wait for the rollback, but this is not changing data.
    If you think more debug is necessary I will upload on Monday AWR and all the statistics I collected. I am not in the office now.
    Thanks,
    Daniel

  • If you *just* earned your MCTS certification, will it remain "active" after the MCTS title retires this year (on January 31, 2014)?

    ...Or will your transcript show your certification as "retired, "legacy", or "expired", etc?
    (I'm particularly concerned about "MCTS: Windows Server 2008 - Active Directory Configuration").
    My understanding is: the MCTS "title retirement" just means newcomers will need to pursue the MCSA (or MCSE) after January, but existing MCTS certifications will remain *active* until the product's "end of mainstream support" date (January
    13, 2015 for the Windows Server 2008 product line)...
    Is my understanding correct? -The above MCTS will officially retire (on our transcripts) on: January 13, 2015?
    -Thank you.

    Hi, Digital guy 001.
    Your MCTS certification title will never retire. Instead, it may be marked as "Legacy" on your transcript but that will be several years from now (2023? guessing...)
    When an exam retires, it will no longer be available to be passed at the testing center. As well, even if a title is no longer available, you keep it on your transcript for many years to come, until it is eventually marked "Legacy".
    Yes - you are correct in that title retirement means that people cannot earn that title any more - usually because the exams have retired,
    but not always. For example, exam 70-640 is not scheduled for retirement at all, but the related MCITP titles are retired and the MCTS title will retire at the end of the month. On February 1st, 2014, the 70-640 exam will only be helpful
    for those wanting to earn the title: MCSA: Windows 2008.
    The word "Expired" applies to your opportunity to earn a certification title based on a date.
    The word "Inactive" is only applied to MCSD and MCSE certifications titles that have passed their recertification dates. MCSEs must recertify every three (3) years while MCSDs must recertify every two (2)
    years. If you haven't recertified, the term "Inactive" will appear next to the title on your transcript.
    Please keep the terms separated in your head: 
    Retired Exam (no longer available)
    Retired Title (no longer achievable)
    "Legacy" transcript certification title (really old)
    "Inactive" transcript certification title (requiring recertification).
    Good luck!
    Best wishes, Davin Mickelson

  • How long does your password stay active after a purchase?

    i did a purchase of a game on my ipod and entered my password in to purchase it and then passed my ipod to my daughter and then she has gone into another game and purchased some things without entering my password so obviously when you enter your password for a purchase it stays active for a while so you dont have to re enter your password , but for how long?

    From the manual:
    Your purchase is charged to your iTunes Store account. For additional purchases made
    within the next fifteen minutes, you don’t have to enter your password again.

  • My iPhone says it can't be activated after the iOS 7 update. How do I fix this

    I updated to iOS 7, but after my phone restarted it keeps saying :Your iPhone could not be activated because the activation server cannot be reached." Someone please help me fix this

    The servers are getting slammed. Bunch of people trying to download iOS7 at the same time.
    There is a chance activation servers might be down/slow for now. Just keep trying throughout the day. Some other forum users are experieincing similar things.
    You can also try the apple document for activation issues, but I'd assume its server issues. http://support.apple.com/kb/ts3424

  • Credit Block is activated after the delivery is posted. How to avoid?

    Hi All,
    Need help from all you experts. I have the following scenario. There is a credit block after the delivery has been processed. I have checked with FD32, OVA8. There are open items well within limits. Also the system is customized to skip the credit check if the payment is being made thru Cards. And inspite of entering the card details, the system is checking for credit after the delivery is processed.
    Can you plz tell what could be the problem and how to overcome it????
    Thanks in advance.
    Rgds,
    Aamod

    Hi
    1.To See the SAP Note : Go to Transaction snote and there click on button Download SAP Note and  give the required Note number.
    Else go to Servise.SAP.com, there you can get all the details regarding the OSS Note.
    2.Under FD32 : Goto -- Genral Data -- Central Data
    Chech their the Value of Toatal Amount and Individual Limit.If any of the limit Crosses.There will be block to your Document.
    3. To Relese Your doc from credit block : Go to Tr- VKM5. to remove your credit block for particular documnet.After executing the particular document .
    Check the document and release it and save it.By doing this you can proceed your document further.
    Thanks
    Edited by: C.Ankit on Feb 14, 2012 8:00 AM

  • My ipad will not stay activated after upgrading from version 7 to version 8.

    After upgrading from version 7 to version8 I cannot keep my ipad activated.  I have tried online tech support and visited an Apple store with no one able to tell me what is happening.  Some said it might be had ware problems.  Other say it might be software problems.  With vs 7 I never had the problem.. I have anolder ipad with vs 5 and do not have the problems.  any feed back from anyone.

    '''Try the Firefox Safe Mode''' to see how it works there. The Safe Mode is a troubleshooting mode, which disables most add-ons.''
    ''(If you're not using it, switch to the Default theme.)''
    * You can open the Firefox 4.0+ Safe Mode by holding the '''Shift''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Don't select anything right now, just use "'Start in Safe Mode"''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shift key) to open it again.''
    '''''If it is good in the Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one.
    Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''

  • Outlook 2013 downloaded from 1 and 1 as part of an Exchange subscription requests activation after one month.

    I have the following problem with 1&1: I had the Office 2010 pack with Outlook 2010 . When I subscribed to  hosted Exchange with 1 and 1 and downloaded Outlook 2013 (32 bits since 64 bits is not compatible with Office 2010) it worked perfectly
    well and replaced 2010.
    Now a little bit less than one month after it asks me the activation.
    1&1 support doesn't understand yet. They asked me to download again but it did not solve the issue.
    Any idea 

    Hi,
    Based on your description, you are not using Office downloaded from Microsoft? Could you please let me know from which site you downloaded Office?
    I only suggest you download Microsoft Products from the official site. I don't recommend you use our products provided by any 3rd-parties.
    Consider to purchase our products from Microsoft Store:
    http://www.microsoftstore.com
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

Maybe you are looking for