[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
Similar Messages
-
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 -
Revision: 19216
Revision: 19216
Author: [email protected]
Date: 2010-12-09 08:17:13 -0800 (Thu, 09 Dec 2010)
Log Message:
Bug: Watson #2769398 - potential dead lock in flex.messaging.services.MessageService
QA: Yes
Doc: No
Details: allSubscriptions map was usually protected by allSubscriptionsLock but in SubscriptionManager#stop, it was protected by "this" lock instead which was inconsistent and useless in terms of thread safety and also produced the Coverity bug. Now, it's protected by allSubscriptionsLock in SubscriptionManager#stop as well.
Modified Paths:
blazeds/trunk/modules/core/src/flex/messaging/services/messaging/SubscriptionManager.java -
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 -
Revision: 19119
Revision: 19119
Author: [email protected]
Date: 2010-12-07 13:55:34 -0800 (Tue, 07 Dec 2010)
Log Message:
bug fix BLZ-598 potential deadlock in FlexClient
adding the synchronization in the time out routine to acquir the FlexClient instance level lock first.
Checkintests pass
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-598
Modified Paths:
blazeds/trunk/modules/core/src/flex/messaging/client/FlexClient.javaAdobe has donated BlazeDS to the Apache Flex community, and the source code is hosted on the Apache Flex website in a GIT repository.
http://flex.apache.org/dev-sourcecode.html -
[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 -
Revision: 20981
Revision: 20981
Author: [email protected]
Date: 2011-03-28 14:28:45 -0700 (Mon, 28 Mar 2011)
Log Message:
bug fix BLZ-426 fixing the response cookie logic to skip request cookies
checkintests pass
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-426
Modified Paths:
blazeds/trunk/modules/proxy/src/flex/messaging/services/http/proxy/ProxyContext.java
blazeds/trunk/modules/proxy/src/flex/messaging/services/http/proxy/RequestFilter.java
blazeds/trunk/modules/proxy/src/flex/messaging/services/http/proxy/ResponseFilter.java -
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.javaFor 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! -
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 -
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 -
Revision: 18926
Revision: 18926
Author: [email protected]
Date: 2010-12-01 14:07:19 -0800 (Wed, 01 Dec 2010)
Log Message:
bug fix BLZ-570 Double linked list with lot of objects result in BlazeDS Error deserializing error : StackOverflowError
We put hard limit to the max object nest level to prevent StackOverFlowError. the default max object nest level is 1024 and it can be configured in the endpoint/serialziation section in service-config.xml.
This needs documentation.
Checkintests pass
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-570
Modified Paths:
blazeds/trunk/modules/common/src/flex/messaging/errors.properties
blazeds/trunk/modules/core/src/flex/messaging/endpoints/AbstractEndpoint.java
blazeds/trunk/modules/core/src/flex/messaging/io/SerializationContext.java
blazeds/trunk/modules/core/src/flex/messaging/io/amf/Amf0Input.java
blazeds/trunk/modules/core/src/flex/messaging/io/amf/Amf3Input.java
blazeds/trunk/modules/core/src/flex/messaging/io/amf/AmfIO.java -
Revision: 21494
Revision: 21494
Author: [email protected]
Date: 2011-06-29 11:25:54 -0700 (Wed, 29 Jun 2011)
Log Message:
bug fix BLZ-581 Possible deadlock situation when sending message
change the scope of lock EndpointPushNotifier.pushNeeded to be minimal (retrieving the messages from the message buffer), that way, we can avoid the connection write failure to occupy the lock forever.
Checkintests pass
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-581
Modified Paths:
blazeds/trunk/modules/core/src/flex/messaging/endpoints/BaseStreamingHTTPEndpoint.javaAdobe has donated BlazeDS to the Apache Flex community, and the source code is hosted on the Apache Flex website in a GIT repository.
http://flex.apache.org/dev-sourcecode.html -
Revision: 21209
Revision: 21209
Author: [email protected]
Date: 2011-05-04 18:26:18 -0700 (Wed, 04 May 2011)
Log Message:
bug fix BLZ-581 Possible deadlock situation when sending message
change the scope of lock EndpointPushNotifier.pushNeeded to be minimal (retrieving the messages from the message buffer), that way, we can avoid the connection write failure to occupy the lock forever.
Checkintests pass
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-581
Modified Paths:
blazeds/trunk/modules/core/src/flex/messaging/endpoints/BaseStreamingHTTPEndpoint.javaAdobe has donated BlazeDS to the Apache Flex community, and the source code is hosted on the Apache Flex website in a GIT repository.
http://flex.apache.org/dev-sourcecode.html -
Revision: 18839
Revision: 18839
Author: [email protected]
Date: 2010-11-29 12:26:32 -0800 (Mon, 29 Nov 2010)
Log Message:
bug fix BLZ-575 Potential race condition in flex.management.runtime.messaging.endpoints.EndpointControl
Change a few counters to Atomic numbers
Probably solve some PMD bugs too (was complaining about new Integer() and new Long() API)
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-575
Modified Paths:
blazeds/trunk/modules/core/src/flex/management/runtime/messaging/endpoints/EndpointContro l.java
Maybe you are looking for
-
Error in simple Generics program
Why is this code not compiling? When I changed the <String> to <T> then it works. My question is why should the code listed below fail. Error: non-static class String cannot be referenced from a static context public class SimpleGenerics1<String> {
-
Hi Everyone I have a tech question
I got my iphone on thursday and it breezed thru activation with no problems. I've made and received several calls with no problems on both ends. My question is this we have roadrunner wifi and i was wondering during activation my brother got a messag
-
Import dump file from 8.1.7 to 8.1.5
HOW?
-
How to edit a large movie into smaller, separate movies?
.: Hello. This question is so basic I'm embarrassed to ask it, but I am stuck. I am a new user to iMovie 6, and bought and am reading David Pogue's iMovie 6 & iDVD The Missing Manual, but can't seem to find an answer to what must be the most basic ed
-
Can I use an iPod as a dictaphone?
Sorry if this is a really basic question, but I've never owned an iPod (yet), so need an answer to this before I buy one. Is it possible to use an iPod as a digital dictaphone, with a plug-in microphone? I seem to remember reading somewhere that you