Hi,

Can you please raise this question on StackOverflow, as we are
providing developer
support through that.

Thanks


On Tue, Nov 19, 2013 at 12:16 PM, stevegyc <[email protected]> wrote:

>  Hi
>
>     I am following the guide "
> http://docs.wso2.org/display/DSS310/Distributed+Transactions+Sample"; to
> test distributed transactions of DSS.
>
>     It is OK. The addAccountToBank1 service call rolled back because of
> the error in addAccountToBank2 operation. In this test, the two operations
> are both involve H2 DB.
>
>
>
>     Then I do another test.
>
>     In this test, I replace one of the H2 DB to MySQL DB. following is my
> steps:
>
>    1.
>
>    Run the begin_boxcar operation.
>    2.
>
>    Insert some data to MySQL DB.
>    3.
>
>    Run the addToAccountBalanceInBank2 operation and give the values "1"
>    for "accountId" field and "h200" for the "value" field.
>    4.
>
>    Run the end_boxcar operation.
>    5.
>
>    Run the getAccountBalanceFromBank2 operation.(The Balance does not
>    change)
>    6.
>
>    query the data in MySQL DB.(It has been changed by insert operation)
>
>
>
>     I do not know why roll back do not happen for MySQL DB? And what
> conditions are needed for the roll back of distributed transactions of DSS?
>
> ------------------------------
> stevegyc
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to