You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by "Hans G Knudsen (JIRA)" <ji...@apache.org> on 2007/08/14 13:53:31 UTC

[jira] Created: (SANDESHA2-115) Properties are not copied to Terminate Sequence

Properties are not copied to Terminate Sequence
-----------------------------------------------

                 Key: SANDESHA2-115
                 URL: https://issues.apache.org/jira/browse/SANDESHA2-115
             Project: Sandesha2
          Issue Type: Bug
         Environment: Axis2 / Sandesha2 pre/rc 1_3. branch_1_3
            Reporter: Hans G Knudsen
            Priority: Blocker


It seems that properties mentioned in sandesha module.xml 

    <parameter name="propertiesToCopyFromReferenceMessage"  ...
    <parameter name="propertiesToCopyFromReferenceRequestMessage" ...

are not transfered to Terminate Sequende.


Resulting in :

1)
Terminate Sequence does not go through PROXY
     http://issues.apache.org/jira/browse/SANDESHA2-112

2)
Terminate Sequence could fail in RAMPART in receiver/encryption certificate is transfered on RECV_RESULTS
    http://issues.apache.org/jira/browse/SANDESHA2-113



-- 
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: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org


[jira] Resolved: (SANDESHA2-115) Properties are not copied to Terminate Sequence

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SANDESHA2-115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe resolved SANDESHA2-115.
-----------------------------------------

    Resolution: Fixed

Seems like Sumedha has fixed the issue

Thanks
Deepal

> Properties are not copied to Terminate Sequence
> -----------------------------------------------
>
>                 Key: SANDESHA2-115
>                 URL: https://issues.apache.org/jira/browse/SANDESHA2-115
>             Project: Sandesha2
>          Issue Type: Bug
>         Environment: Axis2 / Sandesha2 pre/rc 1_3. branch_1_3
>            Reporter: Hans G Knudsen
>            Priority: Blocker
>
> It seems that properties mentioned in sandesha module.xml 
>     <parameter name="propertiesToCopyFromReferenceMessage"  ...
>     <parameter name="propertiesToCopyFromReferenceRequestMessage" ...
> are not transfered to Terminate Sequende.
> Resulting in :
> 1)
> Terminate Sequence does not go through PROXY
>      http://issues.apache.org/jira/browse/SANDESHA2-112
> 2)
> Terminate Sequence could fail in RAMPART in receiver/encryption certificate is transfered on RECV_RESULTS
>     http://issues.apache.org/jira/browse/SANDESHA2-113

-- 
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: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org


[jira] Commented: (SANDESHA2-115) Properties are not copied to Terminate Sequence

Posted by "Hans G Knudsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SANDESHA2-115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519898 ] 

Hans G Knudsen commented on SANDESHA2-115:
------------------------------------------

Hi!

I tried following the request through Sandesha. 


For the 'Create Sequence' a new MessageContext is created in SandeshaUtil.createNewRelatedMessageContext, and here msg ctx properties are copied (according to module.xml) by SandeshaUtil.copyConfiguredProperties. fromCtx.getProperty is moved to toCtx.setProperty.

Later on in the create sequence proccessing in ApplicationMsgProcessor.addCreateSequenceMessage the new MessageContext is cloned by SandeshaUtil.cloneMessageContext.


The problem seems to be that 'copyConfiguredProperties' moves from/to ctx.get/setProperty - but in 'cloneMessageContext' only values stored in ctx.getOptions are copied, and therefor the property objects are not present when the TerminateSequence is about to be created.



> Properties are not copied to Terminate Sequence
> -----------------------------------------------
>
>                 Key: SANDESHA2-115
>                 URL: https://issues.apache.org/jira/browse/SANDESHA2-115
>             Project: Sandesha2
>          Issue Type: Bug
>         Environment: Axis2 / Sandesha2 pre/rc 1_3. branch_1_3
>            Reporter: Hans G Knudsen
>            Priority: Blocker
>
> It seems that properties mentioned in sandesha module.xml 
>     <parameter name="propertiesToCopyFromReferenceMessage"  ...
>     <parameter name="propertiesToCopyFromReferenceRequestMessage" ...
> are not transfered to Terminate Sequende.
> Resulting in :
> 1)
> Terminate Sequence does not go through PROXY
>      http://issues.apache.org/jira/browse/SANDESHA2-112
> 2)
> Terminate Sequence could fail in RAMPART in receiver/encryption certificate is transfered on RECV_RESULTS
>     http://issues.apache.org/jira/browse/SANDESHA2-113

-- 
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: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org


[jira] Commented: (SANDESHA2-115) Properties are not copied to Terminate Sequence

Posted by "sumedha rubasinghe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SANDESHA2-115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520978 ] 

sumedha rubasinghe commented on SANDESHA2-115:
----------------------------------------------

Hi,
I have added a line to SandeshaUtils (1.3 branch), so that it will copy property objects from old message context to new one. 



> Properties are not copied to Terminate Sequence
> -----------------------------------------------
>
>                 Key: SANDESHA2-115
>                 URL: https://issues.apache.org/jira/browse/SANDESHA2-115
>             Project: Sandesha2
>          Issue Type: Bug
>         Environment: Axis2 / Sandesha2 pre/rc 1_3. branch_1_3
>            Reporter: Hans G Knudsen
>            Priority: Blocker
>
> It seems that properties mentioned in sandesha module.xml 
>     <parameter name="propertiesToCopyFromReferenceMessage"  ...
>     <parameter name="propertiesToCopyFromReferenceRequestMessage" ...
> are not transfered to Terminate Sequende.
> Resulting in :
> 1)
> Terminate Sequence does not go through PROXY
>      http://issues.apache.org/jira/browse/SANDESHA2-112
> 2)
> Terminate Sequence could fail in RAMPART in receiver/encryption certificate is transfered on RECV_RESULTS
>     http://issues.apache.org/jira/browse/SANDESHA2-113

-- 
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: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org