[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-774) Order is not preserved for messages pushed asynchronously by server to clients

Ovidiu Feodorov (JIRA) jira-events at jboss.com
Tue Jan 23 06:39:52 EST 2007


    [ http://jira.jboss.com/jira/browse/JBMESSAGING-774?page=comments#action_12351443 ] 
            
Ovidiu Feodorov commented on JBMESSAGING-774:
---------------------------------------------

The problem has first showed up while running RemotingEOFIssueTest (now renamed DeliveryOrderTest).

This is the analyis, that shows that even if messages arrive in order on the client side, onewayThreadPool doesn't preserve delivery order.


02:36:04,921 TRACE @WorkerThread#0[192.168.1.101:4387] [ServerThread] beginning dorun()
02:36:04,921 TRACE @WorkerThread#0[192.168.1.101:4387] [ServerThread] creating the socket wrapper
02:36:04,937 TRACE @WorkerThread#0[192.168.1.101:4387] [SocketWrapper] creating SocketWrapper for Socket[addr=/192.168.1.101,port=4387,localport=3109], using timeout 60000
...
#
#  read message0 from the wire
#
02:36:04,937 TRACE @WorkerThread#0[192.168.1.101:4387] [ServerThread] read InvocationRequest[18e609b, CALLBACK, OnewayInvocation[InternalInvocation[687ea9]]] from unmarshaller
#
# WorkerThread#0[192.168.1.101:4387] places "message0" in onewayThreadPool
#
02:36:04,937 TRACE @WorkerThread#0[192.168.1.101:4387] [ServerInvoker] SocketServerInvoker[192.168.1.101:3109] handling oneway InvocationRequest[18e609b, CALLBACK, InternalInvocation[687ea9]]
#
# read message1 from the wire
#
02:36:04,953 TRACE @WorkerThread#0[192.168.1.101:4387] [ServerThread] read InvocationRequest[96b5c2, CALLBACK, OnewayInvocation[InternalInvocation[76db09]]] from unmarshaller
#
# @WorkerThread#0[192.168.1.101:4387] places "message1" in onewayThreadPool
#
02:36:04,953 TRACE @WorkerThread#0[192.168.1.101:4387] [ServerInvoker] SocketServerInvoker[192.168.1.101:3109] handling oneway InvocationRequest[96b5c2, CALLBACK, InternalInvocation[76db09]]
#
# read message2 from the wire
#
02:36:04,968 TRACE @WorkerThread#0[192.168.1.101:4387] [ServerThread] read InvocationRequest[9260ee, CALLBACK, OnewayInvocation[InternalInvocation[19d6af]]] from unmarshaller
#
# @WorkerThread#0[192.168.1.101:4387] places "message2" in onewayThreadPool
#
02:36:04,968 TRACE @WorkerThread#0[192.168.1.101:4387] [ServerInvoker] SocketServerInvoker[192.168.1.101:3109] handling oneway InvocationRequest[9260ee, CALLBACK, InternalInvocation[19d6af]]
#
# read message3 from the wire
#
02:36:04,968 TRACE @WorkerThread#0[192.168.1.101:4387] [ServerThread] read InvocationRequest[42f352, CALLBACK, OnewayInvocation[InternalInvocation[174aa60]]] from unmarshaller
#
# @WorkerThread#0[192.168.1.101:4387] places "message3" in onewayThreadPool
#
02:36:04,968 TRACE @WorkerThread#0[192.168.1.101:4387] [ServerInvoker] SocketServerInvoker[192.168.1.101:3109] handling oneway InvocationRequest[42f352, CALLBACK, InternalInvocation[174aa60]]
#
# read message4 from the wire
#
02:36:04,968 TRACE @WorkerThread#0[192.168.1.101:4387] [ServerThread] read InvocationRequest[1df2964, CALLBACK, OnewayInvocation[InternalInvocation[1681ea]]] from unmarshaller
#
# message2 beginning to be processed
#
02:36:04,968 TRACE @JBossRemoting Client Oneway(1)-3 [ServerInvoker] SocketServerInvoker[192.168.1.101:3109] received InternalInvocation[19d6af]
#
# message0 beginning to be processed
#
02:36:04,968 TRACE @JBossRemoting Client Oneway(1)-1 [ServerInvoker] SocketServerInvoker[192.168.1.101:3109] received InternalInvocation[687ea9]
#
# message0 handed over to MessageCallbackHandler
#
02:36:04,968 TRACE @JBossRemoting Client Oneway(1)-1 [MessageCallbackHandler] Receiving message delegator->JBossMessage[256]:PERSISTENT from the remoting layer
#
# @WorkerThread#0[192.168.1.101:4387] places message4 in onewayThreadPool
#
02:36:04,968 TRACE @WorkerThread#0[192.168.1.101:4387] [ServerInvoker] SocketServerInvoker[192.168.1.101:3109] handling oneway InvocationRequest[1df2964, CALLBACK, InternalInvocation[1681ea]]
#
# message2 handed over to MessageCallbackHandler
#
02:36:04,968 TRACE @JBossRemoting Client Oneway(1)-3 [MessageCallbackHandler] Receiving message delegator->JBossMessage[258]:PERSISTENT from the remoting layer
#
# message3 handed over to MessageCallbackHandler
#
02:36:04,968 TRACE @JBossRemoting Client Oneway(1)-4 [MessageCallbackHandler] Receiving message delegator->JBossMessage[259]:PERSISTENT from the remoting layer
#
# message1 handed over to MessageCallbackHandler
#
02:36:04,968 TRACE @JBossRemoting Client Oneway(1)-2 [MessageCallbackHandler] Receiving message delegator->JBossMessage[257]:PERSISTENT from the remoting layer

... etc



> Order is not preserved for messages pushed asynchronously by server to clients
> ------------------------------------------------------------------------------
>
>                 Key: JBMESSAGING-774
>                 URL: http://jira.jboss.com/jira/browse/JBMESSAGING-774
>             Project: JBoss Messaging
>          Issue Type: Bug
>          Components: JMS Remoting
>    Affects Versions: 1.2.0.Beta1
>            Reporter: Ovidiu Feodorov
>         Assigned To: Ovidiu Feodorov
>            Priority: Blocker
>             Fix For: 1.2.0.Beta2
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list