[svn:bz-trunk] 21394: bug fix for watson 2887837 Not getting duplicate session detected error when same flex client id is used from two different HTTP sessions in CRX .

Revision: 21394
Revision: 21394
Author:   [email protected]
Date:     2011-06-16 12:34:13 -0700 (Thu, 16 Jun 2011)
Log Message:
bug fix for watson 2887837 Not getting duplicate session detected error when same flex client id is used from two different HTTP sessions in CRX.
get the sessions id before we invalidate the duplicate session.
Checkintests pass
Modified Paths:
    blazeds/trunk/modules/core/src/flex/messaging/endpoints/BaseHTTPEndpoint.java

For our profect I think this issue was caused as follows:
Believing that remoting was full asynchronous we fired a 2 or 3 remote calls to the server at the same time ( within the same function ) - usually when the users goes to a new section of the app.
This seemed to trigger the duplicate http session error since according to http://blogs.adobe.com/lin/2011/05/duplication-session-error.html  two remote calls arriving before a session is created will cause 2 sessions to be created.
Our current solution ( too early to say it works ) is to daisy chain the multiple calls together .
Also there seemed to be an issue where mobile apps that never quit ( thanks Apple! )  caused the error when activated after a few hours.
I guess the session expires on the server and the error above occurs on activation.
So the mobile apps now ping the server with a remote call when activated after sleeping for more than one hour.
All duplicate http errors are silently caught and reported.
Fingers crossed we won't get any more!

Similar Messages

  • [svn:bz-trunk] 19400: bug fix for watson 2774405 Authentication sync sample didn' t work in weblogic

    Revision: 19400
    Revision: 19400
    Author:   [email protected]
    Date:     2010-12-15 12:28:20 -0800 (Wed, 15 Dec 2010)
    Log Message:
    bug fix for watson 2774405 Authentication sync sample didn't work in weblogic
    We should check whether we can cast the user principal to our impl first, also weblogic.security.Security.getCurrentSubject() is used in case it is not our impl
    Modified Paths:
        blazeds/trunk/modules/opt/src/weblogic/flex/messaging/security/WeblogicLoginCommand.java

  • [svn:bz-trunk] 17965: bug fix for watson 2669777 ASJ: AsyncMessage doesn' t support surrogate pair.

    Revision: 17965
    Revision: 17965
    Author:   [email protected]
    Date:     2010-09-30 12:44:48 -0700 (Thu, 30 Sep 2010)
    Log Message:
    bug fix for watson 2669777 ASJ: AsyncMessage doesn't support surrogate pair.
    Using the new String(bytes, "utf-8") to read the UTF string from amf input.
    Checkintests pass
    Ticket Links:
        http://bugs.adobe.com/jira/browse/utf-8
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/io/amf/Amf3Input.java

  • [svn:bz-trunk] 22604: bug fix for  2956421 lexClient to expose EndpointQueue

    Revision: 22604
    Revision: 22604
    Author:   [email protected]
    Date:     2011-09-16 08:07:16 -0700 (Fri, 16 Sep 2011)
    Log Message:
    bug fix for  2956421 lexClient to expose EndpointQueue
    exposing a new API FlexClient.getEndpointQueue(String endpointQueueId)
    checkintest not run
    tests: YES
    @watson: 2956421
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/client/FlexClient.java

  • [svn:bz-trunk] 23118: bug fix for blz 567

    Revision: 23118
    Revision: 23118
    Author:   [email protected]
    Date:     2011-10-25 13:04:50 -0700 (Tue, 25 Oct 2011)
    Log Message:
    bug fix for blz 567
    Add and indicator to the Fault event that the number of max-streaming-connections-per-session have been exceeded.
    consist with the response code to be SC_SERVICE_NOTAVAILABLE,
    for errorMessage, cross out the limit configuration.
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/endpoints/BaseStreamingHTTPEndpoint.java

  • [svn:bz-trunk] 21014: bug fix for RTMP security test case failure for Tomcat 7,

    Revision: 21014
    Revision: 21014
    Author:   [email protected]
    Date:     2011-04-04 13:44:59 -0700 (Mon, 04 Apr 2011)
    Log Message:
    bug fix for RTMP security test case failure for Tomcat 7,
    defer the ValveBase.getContainer() call to run time.
    Checkin tests not run as it only applies to Tomcat 7
    Modified Paths:
        blazeds/trunk/modules/opt/src/tomcat/flex/messaging/security/Tomcat7Valve.java

    Revision: 21014
    Revision: 21014
    Author:   [email protected]
    Date:     2011-04-04 13:44:59 -0700 (Mon, 04 Apr 2011)
    Log Message:
    bug fix for RTMP security test case failure for Tomcat 7,
    defer the ValveBase.getContainer() call to run time.
    Checkin tests not run as it only applies to Tomcat 7
    Modified Paths:
        blazeds/trunk/modules/opt/src/tomcat/flex/messaging/security/Tomcat7Valve.java

  • [svn:bz-4.0.0_fixes] 22242: bug fix for watson 251328, backporting to 3. 1 branch from trunk

    Revision: 22242
    Revision: 22242
    Author:   [email protected]
    Date:     2011-08-26 07:41:45 -0700 (Fri, 26 Aug 2011)
    Log Message:
    bug fix for watson 251328, backporting to 3.1 branch from trunk
    adding a getFlexClient(String id, boolean createIfNecessary) would be useful and the current getFlexClient(String id) can simply call getFlexClient(id, true).
    Modified Paths:
        blazeds/branches/4.0.0_fixes/modules/core/src/flex/messaging/client/FlexClientManager.jav a

    awd_uk...
    Using two pieces of software, a webpage and this walk-thru I was able to successfully put my old text messages onto the new iOS 5.0.
    Can be found here >> https://discussions.apple.com/thread/3375277?start=90&tstart=0
    Look for benhefron's post. It's magic.
    Thanks again....
    *SHiNK*

  • [svn:bz-trunk] 19028: bug fix BLZ-408 MethodMatcher chooses wrong overloaded method

    Revision: 19028
    Revision: 19028
    Author:   [email protected]
    Date:     2010-12-03 13:46:24 -0800 (Fri, 03 Dec 2010)
    Log Message:
    bug fix BLZ-408 MethodMatcher chooses wrong overloaded method
    detected it is an exception case that we did not capture
    fix the exception handling now woring fine
    Checkintests pass
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-408
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/util/MethodMatcher.java

  • [svn:bz-trunk] 21151: bug fix watson 2769398 [Coverity] potential dead lock in flex.messaging.services.MessageService

    Revision: 21151
    Revision: 21151
    Author:   [email protected]
    Date:     2011-04-26 12:14:04 -0700 (Tue, 26 Apr 2011)
    Log Message:
    bug fix watson 2769398 potential dead lock in flex.messaging.services.MessageService
    override the AbstractService.stop in MessageService to obtain subscribeLock when stopping
    Checkintests pass
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/services/MessageService.java

  • [svn:bz-trunk] 21043: bug fix watson 2769398 [Coverity] potential dead lock in flex.messaging.service

    Revision: 21043
    Revision: 21043
    Author:   [email protected]
    Date:     2011-04-07 12:41:36 -0700 (Thu, 07 Apr 2011)
    Log Message:
    bug fix watson 2769398 potential dead lock in flex.messaging.service
    fix the order of locking of MessageService.subscribeLock, FlexClient.objectLock, requires that routing message to client roution obtain the subscribeLock first
    checkin test pass done
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/services/MessageService.java

  • [svn:fx-trunk] 11521: ASDoc fixes for bugs FLEXDOCS-1102, FLEXDOCS-1103

    Revision: 11521
    Author:   [email protected]
    Date:     2009-11-06 11:47:48 -0800 (Fri, 06 Nov 2009)
    Log Message:
    ASDoc fixes for bugs FLEXDOCS-1102, FLEXDOCS-1103
    QE notes: -
    Doc notes: -
    Bugs: - FLEXDOCS-1102, FLEXDOCS-1103
    Reviewer: -
    Tests run: - checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FLEXDOCS-1102
        http://bugs.adobe.com/jira/browse/FLEXDOCS-1103
        http://bugs.adobe.com/jira/browse/FLEXDOCS-1102
        http://bugs.adobe.com/jira/browse/FLEXDOCS-1103
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextArea.as

  • [svn:bz-trunk] 18873: Bug fix Watson 2724938 [Coverity] potential deadlock in flex.messaging.client.FlexClient

    Revision: 18873
    Revision: 18873
    Author:   [email protected]
    Date:     2010-11-30 12:22:15 -0800 (Tue, 30 Nov 2010)
    Log Message:
    Bug fix Watson 2724938 potential deadlock in flex.messaging.client.FlexClient
            Maintain the pattern of using the FlexClient.lock and ensure that order of locks should always start with the FlexClient.lock.  This is critical to prevent deadlock cases,
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/client/FlexClient.java

  • [svn:bz-trunk] 18858: bug fix watson 2724936

    Revision: 18858
    Revision: 18858
    Author:   [email protected]
    Date:     2010-11-30 08:35:41 -0800 (Tue, 30 Nov 2010)
    Log Message:
    bug fix watson 2724936
    potential dead lock in flex.messaging.services.MessageService
    Fixing the order of acquiring locks to break the cycle of deadlock.
    Adding messageClient shutdowning check too
    Checkintests passed
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/MessageClient.java
        blazeds/trunk/modules/core/src/flex/messaging/client/FlexClient.java

  • [svn:bz-trunk] 19323: Revert fix for BLZ-578 (checkin 19214).

    Revision: 19323
    Revision: 19323
    Author:   [email protected]
    Date:     2010-12-13 12:10:28 -0800 (Mon, 13 Dec 2010)
    Log Message:
    Revert fix for BLZ-578 (checkin 19214). The BlazeDS/LCDS Spring integration code had a dependency on the thread local stuff that was removed as part of this bug fix. Revert the fix so we can move forward with lockdown testing. We can add this change back in when we resolve the dependency issue (tracked by Watson 2774331) if that's the appropriate thing to do. 
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-578
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/FlexContext.java
        blazeds/trunk/modules/core/src/flex/messaging/MessageBroker.java
        blazeds/trunk/modules/core/src/flex/messaging/MessageBrokerServlet.java
        blazeds/trunk/modules/core/src/flex/messaging/MessageException.java

  • [svn:bz-trunk] 10631: Proper fix for BLZ-343 and LCDS-1153.

    Revision: 10631
    Author:   [email protected]
    Date:     2009-09-28 05:23:42 -0700 (Mon, 28 Sep 2009)
    Log Message:
    Proper fix for BLZ-343 and LCDS-1153.
    Refactored the common logic for AMF0 and AMF3 back into AbstractAmfInput. Resolving class aliases, creating and registering a property proxy and instantiating the appropriate class are now handled in the superclass. The resolved className and the proxy are 'returned' to the subclasses via a holder array created in the subclasses and sent as a parameter.
    blazeDS checkintests pass
    lcds-trunk checkintests pass with the new flex-messaging-core.jar
    lcds-trunk alltests-dataservice pass with the new flex-messaging-core.jar
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-343
        http://bugs.adobe.com/jira/browse/LCDS-1153
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/io/amf/AbstractAmfInput.java
        blazeds/trunk/modules/core/src/flex/messaging/io/amf/Amf0Input.java
        blazeds/trunk/modules/core/src/flex/messaging/io/amf/Amf3Input.java

Maybe you are looking for

  • External Hyperlinks open in new window.

    When someone in my iWeb site clicks an external Hyperlink they automatically leave my site. How can I make Hyperlinks open a new window so my site is not effected?

  • "early years" in iPhoto

    In iPhoto6, my library is shown as "early years", then 2005, 2006, 2007, and 2008. How do I tell iPhoto to show more years rather than lumping things into "early years". I'd prefer to hide the "early years" folder entirely. I can do this via a Smart

  • How to get Adobe Digital Editions to recognize my Samsung Tablet?

    I download EPUB books from our state library to Adobe Digital Editions.  My Nook died.  I got a Samsung Tablet and downloaded the Nook app.  How do I get Adobe digital editions to recognize it my Samsung so I can copy books to it

  • FileVault stuck on encrypting

    I foolishly tried to enable FileVault and now it is completely stuck on "Estimating time remaining" for 2 days. It became stuck quite fast as it gave me an error a minute or two in, but it won't stop now though... I checked the status in Terminal and

  • Where is the fade in docs

    Where is the documentation for fading in and fading out several pictures? How do you expect a beginner to learn anything with this flash and no howto's to do something simple?