[ 
https://issues.apache.org/jira/browse/IGNITE-2959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15230086#comment-15230086
 ] 

Artem Shutak edited comment on IGNITE-2959 at 4/7/16 10:58 AM:
---------------------------------------------------------------

Under "poor WebSphere Application Server" I mean "ordinary" WS AS. The issue is 
exactly about "ordinary" WS AS.

There is no issue with liberty profile and it already works. See issue 
description to configure it properly.


was (Author: ashutak):
Under "poor WebSphere Application Server" I mean "ordinary" WS AS. The issue is 
exactly about "ordinary" WS AS.

There is no issue with liberty profile and it works now. See issue description 
to configure it properly.

> Ignite JTA and WebSphere Application Server 8.5.5
> -------------------------------------------------
>
>                 Key: IGNITE-2959
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2959
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Artem Shutak
>            Assignee: Artem Shutak
>              Labels: community, important
>             Fix For: 1.6
>
>
> Need to support of working Ignite transactions inside WebSphere Application 
> Server (8.5.5).
> The issue only about poor (ordinary) WebSphere Application Server.
> There is *no* issue with WebSphere Liberty. To enable JTA on WS Liberty it is 
> enough to do the following.
> 1. add the following class in own libs:
> {code}
> public class WebSphereTmFactory implements Factory<TransactionManager> {
>     /** {@inheritDoc} */
>     @Override public TransactionManager create() {
>         return 
> com.ibm.tx.jta.TransactionManagerFactory.getTransactionManager();
>     }
> }
> {code}
> 2. It's required the following maven dependencies:
> {code}
>         <dependency>
>             <groupId>com.ibm.websphere.appserver.api</groupId>
>             
> <artifactId>com.ibm.websphere.appserver.api.transaction</artifactId>
>             <version>1.1.10</version>
>         </dependency>
> {code}
> 3. And Ignite's TransactionConfiguration has to be properly configured with 
> WebSphereTmFactory:
> {code}
> TransactionConfiguration tcfg = new TransactionConfiguration();
> TransactionConfiguration.setTxManagerFactory(new WebSphereTmFactory());
> igniteCfg.setTransactionConfiguration(tcfg)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to