You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Vamsavardhana Reddy (JIRA)" <tu...@ws.apache.org> on 2008/03/23 23:09:24 UTC

[jira] Created: (TUSCANY-2122) Incorrect conversationID in ConversationImpl instance when Scope is "REQUEST"

Incorrect conversationID in ConversationImpl instance when Scope is "REQUEST"
-----------------------------------------------------------------------------

                 Key: TUSCANY-2122
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2122
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Core Runtime
    Affects Versions: Java-SCA-1.2
            Reporter: Vamsavardhana Reddy
             Fix For: Java-SCA-Next


Even though the ConversationManagerImpl is generating a new conversationID, I am noticing that when the Scope is set to "REQUEST", the conversationID in the ConversationImpl object is not initialized with the new conversationID even after ending a previous conversation.  The following shows the sequence of operations I am invoking on the service.

1: cid=015fe250-911f-49cd-b0f2-4314a2358db4
2: 015fe250-911f-49cd-b0f2-4314a2358db4:MyConvServiceImpl.operation1
3: 015fe250-911f-49cd-b0f2-4314a2358db4:MyConvServiceImpl.operation2
4: 015fe250-911f-49cd-b0f2-4314a2358db4:MyConvServiceImpl.endConversation
5: cid=0763175d-0e42-4a0a-a687-81e9cf69b62a
6: 015fe250-911f-49cd-b0f2-4314a2358db4:MyConvServiceImpl.operation1
7: 015fe250-911f-49cd-b0f2-4314a2358db4:MyConvServiceImpl.operation2
8: 015fe250-911f-49cd-b0f2-4314a2358db4:MyConvServiceImpl.endConversation

The "cid=..." lines are printed in ConversationManagerImpl.startConversation().  I would expect that the conversationIDs printed in lines 6 to 8 to be same as the one in line 5.

The following is the output with default Scope:
cid=8a68b062-a366-4ecf-b036-eb3d4454713e
8a68b062-a366-4ecf-b036-eb3d4454713e:MyConvServiceImpl.operation1
8a68b062-a366-4ecf-b036-eb3d4454713e:MyConvServiceImpl.operation2
8a68b062-a366-4ecf-b036-eb3d4454713e:MyConvServiceImpl.endConversation
cid=21ff85ba-1ef9-444e-80a9-a6419d764d60
21ff85ba-1ef9-444e-80a9-a6419d764d60:MyConvServiceImpl.operation1
21ff85ba-1ef9-444e-80a9-a6419d764d60:MyConvServiceImpl.operation2
21ff85ba-1ef9-444e-80a9-a6419d764d60:MyConvServiceImpl.endConversation

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org