WAS to SQL server connection without MSDTC

131 Views Asked by At

I have a WAS environment setup with DataSources connecting to SQL server environment. We have MSDTC enabled in the SQL environment and it drops a few connections always. Is there any ways I can set that connection up without using MSDTC?

1

There are 1 best solutions below

2
njr On

MSDTC, which stands for Microsoft Distributed Transaction Coordinator, enables two-phase commit transactions (XADataSource). If your applications don't actually require two-phase commit (which allows you to enlist multiple resources in a single transaction), then you could switch your data source configuration to one-phase only (ConnectionPoolDataSource) and will no longer require MSDTC.

Here is a link to documentation from the Microsoft SQL Server JDBC Driver.