Hi Anjana. To work with transactions in Tomcat, I need to work with the server.xml and context.xml files.
I found context.xml under [CARBON_HOME]\lib\tomcat\conf\ but I don´t find server.xml. Following an Afkham message, I see that carbon don't support server.xml config yet. What can I do in the case I cannot use server.xml? Another idea: deploy ESB inside Apache Tomcat?? For me it´s not so good because I want to use ESB standalone. Thanks Saludos, Ing. Jorge Infante Osorio. J´Dpto Soluciones SOA. CDAE. Fac. 5. UCI. De: Anjana Fernando [mailto:[email protected]] Enviado el: domingo, 11 de diciembre de 2011 2:38 Para: Jorge Infante Osorio CC: [email protected] Asunto: Re: XA Transactions Hi Jorge, On Sun, Dec 11, 2011 at 12:53 PM, Jorge Infante Osorio <[email protected]> wrote: My bad. I forgot to check that option :-D thanks, it work now. Can I do the same config with the DBReport in ESB? I´m try to figure out how to do a transaction between 3 DBReport mediators. Good to hear it works! .. as for DBReport, I'm afraid you can't use the same configuration, for this, you may have to dig into the Tomcat configurations and create an XA data source there. I haven't personally tested that scenario that much. But we are also planning to add the XA data source support to the data sources component we have, so we can create global XA data sources from there, which can be used by anywhere. Cheers, Anjana. Saludos, Ing. Jorge Infante Osorio. J´Dpto Soluciones SOA. CDAE. Fac. 5. UCI. De: Anjana Fernando [mailto:[email protected]] Enviado el: domingo, 11 de diciembre de 2011 1:36 Para: Jorge Infante Osorio; carbon-dev Asunto: Re: XA Transactions Hi, For the error you just mentioned, as the error message mentions, distributed transactions must be enabled in the data service to allow usage of XA data sources. This settings is there in the first page of the wizard, where you can check "Enable Distributed Transactions" check box, or else in XML edit, in the initial "data" XML element, you can set the attribute, enableDTP to true, e.g. <data name="transaccion1" enableDTP="true" > ... Cheers, Anjana. Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU! http://www.antiterroristas.cu http://justiciaparaloscinco.wordpress.com -- Anjana Fernando Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU! http://www.antiterroristas.cu http://justiciaparaloscinco.wordpress.com _______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
