Transaction commit/rollback doesnt work for Spring web service on wsas2.2
-------------------------------------------------------------------------

                 Key: WSAS-806
                 URL: https://wso2.org/jira/browse/WSAS-806
             Project: WSO2 WSAS
          Issue Type: Bug
          Components: core
    Affects Versions: 2.2
         Environment: Linux, jdk1.5, Spring 2.5, WSAS 2.2
            Reporter: Surya Pasula
            Assignee: Afkham Azeez
            Priority: High


Spring based web services developed using spring 2.5 with database transactions 
(with autocommit set to false) do not commit or rollback. Transaction scope is 
defined in annotations.

The code works outside of wsas. This behaviour occurs if the beans are 
instantiated using beanfactory rather than applicationconext.

The transaction will commit or rollback properly if the beans are instantiated 
using application conext.  Looks like WSO2 WSAS spring integration 
implementation is based on creating bean instances using bean factory rather 
than application context.

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

        

_______________________________________________
Wsas-java-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev

Reply via email to