<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.pluralsight.com/community/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Jim Johnson&amp;#39;s Blog - All Comments</title><link>http://www.pluralsight.com/community/blogs/jimjohn/default.aspx</link><description>Adventures in Atomicity</description><dc:language>en</dc:language><generator>CommunityServer 2008 SP1 (Build: 30619.63)</generator><item><title>re: Upcoming webcasts</title><link>http://www.pluralsight.com/community/blogs/jimjohn/archive/2008/07/03/upcoming-webcasts.aspx#52703</link><pubDate>Sat, 23 Aug 2008 18:32:54 GMT</pubDate><guid isPermaLink="false">d057c89c-07b5-4bfb-b52f-d79d1e3ece89:52703</guid><dc:creator>Miguel Gasca</dc:creator><description>&lt;p&gt;Hey Jim, just to prod you a bit, any chance of you giving any insight into what the Transactions team is working on nowadays?&lt;/p&gt;
&lt;p&gt;Miguel&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.pluralsight.com/community/aggbug.aspx?PostID=52703" width="1" height="1"&gt;</description></item><item><title>re: Building the transaction protocol documents</title><link>http://www.pluralsight.com/community/blogs/jimjohn/archive/2008/02/28/50334.aspx#52699</link><pubDate>Sat, 23 Aug 2008 18:29:54 GMT</pubDate><guid isPermaLink="false">d057c89c-07b5-4bfb-b52f-d79d1e3ece89:52699</guid><dc:creator>Miguel Gasca</dc:creator><description>&lt;p&gt;Intense period of activity indeed! It made me smile reading through the docs for a bit.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.pluralsight.com/community/aggbug.aspx?PostID=52699" width="1" height="1"&gt;</description></item><item><title>re: The end of an era</title><link>http://www.pluralsight.com/community/blogs/jimjohn/archive/2007/12/31/49582.aspx#52674</link><pubDate>Fri, 22 Aug 2008 08:47:46 GMT</pubDate><guid isPermaLink="false">d057c89c-07b5-4bfb-b52f-d79d1e3ece89:52674</guid><dc:creator>Joseph Healy</dc:creator><description>&lt;p&gt;Ah, Spitbrook - was there &amp;#39;85-&amp;#39;87 and lived up in Francestown. Now that takes me back a piece...&lt;/p&gt;
&lt;p&gt;RIP...&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.pluralsight.com/community/aggbug.aspx?PostID=52674" width="1" height="1"&gt;</description></item><item><title>re: MSDTC changes in WS2008, Part 3: Cluster features</title><link>http://www.pluralsight.com/community/blogs/jimjohn/archive/2008/03/23/50536.aspx#52646</link><pubDate>Thu, 21 Aug 2008 04:46:58 GMT</pubDate><guid isPermaLink="false">d057c89c-07b5-4bfb-b52f-d79d1e3ece89:52646</guid><dc:creator>Uttam Parui</dc:creator><description>&lt;p&gt;Thanks Jim. This is very helpful. As I was testing, I had created two MSDTC resources in seperate groups (different from the SQL Server group). In that case the cluster resource name needs to be the MSDTC cluster resource, right? If not then how will it know which MSDTC to map to. &lt;/p&gt;
&lt;p&gt;Also, is there a way we can test if SQL Server is infact using the right MSDTC resource?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.pluralsight.com/community/aggbug.aspx?PostID=52646" width="1" height="1"&gt;</description></item><item><title>re: Upcoming webcasts</title><link>http://www.pluralsight.com/community/blogs/jimjohn/archive/2008/07/03/upcoming-webcasts.aspx#51845</link><pubDate>Mon, 14 Jul 2008 22:11:36 GMT</pubDate><guid isPermaLink="false">d057c89c-07b5-4bfb-b52f-d79d1e3ece89:51845</guid><dc:creator>jim-johnson</dc:creator><description>&lt;p&gt;It looks like at least some are. &amp;nbsp;I went to the MSDN webcasts page (using the link above) and looked at the on-demand list. &amp;nbsp;I found Juval&amp;#39;s, for instance, at &lt;a rel="nofollow" target="_new" href="http://www.microsoft.com/events/series/detail/webcastdetails.aspx?seriesid=124&amp;amp;webcastid=1032381607"&gt;www.microsoft.com/.../webcastdetails.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve updated the links.&lt;/p&gt;
&lt;p&gt;Jim.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.pluralsight.com/community/aggbug.aspx?PostID=51845" width="1" height="1"&gt;</description></item><item><title>re: Upcoming webcasts</title><link>http://www.pluralsight.com/community/blogs/jimjohn/archive/2008/07/03/upcoming-webcasts.aspx#51839</link><pubDate>Mon, 14 Jul 2008 18:56:49 GMT</pubDate><guid isPermaLink="false">d057c89c-07b5-4bfb-b52f-d79d1e3ece89:51839</guid><dc:creator>John Apps</dc:creator><description>&lt;p&gt;Jim, any idea if these webcasts have been recorded and made available? The URLs you provide are for pages no longer available &amp;quot;page not found&amp;quot;.&lt;/p&gt;
&lt;p&gt;Cheers, John&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.pluralsight.com/community/aggbug.aspx?PostID=51839" width="1" height="1"&gt;</description></item><item><title>Windows Server 2008的MSDTC改进</title><link>http://www.pluralsight.com/community/blogs/jimjohn/archive/2008/04/06/50667.aspx#51364</link><pubDate>Sun, 29 Jun 2008 13:16:07 GMT</pubDate><guid isPermaLink="false">d057c89c-07b5-4bfb-b52f-d79d1e3ece89:51364</guid><dc:creator>自由、创新、研究、探索……</dc:creator><description>&lt;p&gt;事务处理作为企业级开发必备的基础设施，WindowServer2008在事务处理上的改进也是很大的，无论是开发还是配置管理方面都得到了极大的改进。有几篇关于WindowsServer2008的...&lt;/p&gt;
&lt;img src="http://www.pluralsight.com/community/aggbug.aspx?PostID=51364" width="1" height="1"&gt;</description></item><item><title>Windows Server 2008的MSDTC改进</title><link>http://www.pluralsight.com/community/blogs/jimjohn/archive/2008/03/23/50536.aspx#51363</link><pubDate>Sun, 29 Jun 2008 13:15:59 GMT</pubDate><guid isPermaLink="false">d057c89c-07b5-4bfb-b52f-d79d1e3ece89:51363</guid><dc:creator>自由、创新、研究、探索……</dc:creator><description>&lt;p&gt;事务处理作为企业级开发必备的基础设施，WindowServer2008在事务处理上的改进也是很大的，无论是开发还是配置管理方面都得到了极大的改进。有几篇关于WindowsServer2008的...&lt;/p&gt;
&lt;img src="http://www.pluralsight.com/community/aggbug.aspx?PostID=51363" width="1" height="1"&gt;</description></item><item><title>Windows Server 2008的MSDTC改进</title><link>http://www.pluralsight.com/community/blogs/jimjohn/archive/2008/03/16/50489.aspx#51362</link><pubDate>Sun, 29 Jun 2008 13:15:47 GMT</pubDate><guid isPermaLink="false">d057c89c-07b5-4bfb-b52f-d79d1e3ece89:51362</guid><dc:creator>自由、创新、研究、探索……</dc:creator><description>&lt;p&gt;事务处理作为企业级开发必备的基础设施，WindowServer2008在事务处理上的改进也是很大的，无论是开发还是配置管理方面都得到了极大的改进。有几篇关于WindowsServer2008的...&lt;/p&gt;
&lt;img src="http://www.pluralsight.com/community/aggbug.aspx?PostID=51362" width="1" height="1"&gt;</description></item><item><title>Windows Server 2008的MSDTC改进</title><link>http://www.pluralsight.com/community/blogs/jimjohn/archive/2008/03/15/50484.aspx#51361</link><pubDate>Sun, 29 Jun 2008 13:15:24 GMT</pubDate><guid isPermaLink="false">d057c89c-07b5-4bfb-b52f-d79d1e3ece89:51361</guid><dc:creator>自由、创新、研究、探索……</dc:creator><description>&lt;p&gt;事务处理作为企业级开发必备的基础设施，WindowServer2008在事务处理上的改进也是很大的，无论是开发还是配置管理方面都得到了极大的改进。有几篇关于WindowsServer2008的...&lt;/p&gt;
&lt;img src="http://www.pluralsight.com/community/aggbug.aspx?PostID=51361" width="1" height="1"&gt;</description></item><item><title>re: A simple class to help hooking up System.Transactions and the transacted file system in Longhorn</title><link>http://www.pluralsight.com/community/blogs/jimjohn/archive/2005/09/13/14803.aspx#51231</link><pubDate>Fri, 27 Jun 2008 09:03:01 GMT</pubDate><guid isPermaLink="false">d057c89c-07b5-4bfb-b52f-d79d1e3ece89:51231</guid><dc:creator>przepisy kulinarne zupy</dc:creator><description>&lt;p&gt;This is interesting article, I did not it think that it yes. Interesting it knew persons about this how much. Sorry if I wrote bad there now my English is novice and I do not it write yet good.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.pluralsight.com/community/aggbug.aspx?PostID=51231" width="1" height="1"&gt;</description></item><item><title>re: MSDTC changes in WS2008, Part 3: Cluster features</title><link>http://www.pluralsight.com/community/blogs/jimjohn/archive/2008/03/23/50536.aspx#51088</link><pubDate>Sun, 01 Jun 2008 22:03:00 GMT</pubDate><guid isPermaLink="false">d057c89c-07b5-4bfb-b52f-d79d1e3ece89:51088</guid><dc:creator>Jim Johnson</dc:creator><description>Uttam,&lt;br&gt;&lt;br&gt;Thanks much.  You're right, there was a late change in the command line.  That's what I get for doing the article away from the code.  I've corrected the text of the post to reflect that.&lt;br&gt;&lt;br&gt;The command you specified should probably work, based on some assumptions.  The service name is the full SQL Server service name.  It follows a pattern of MSSQLServer[number], so if this is the first SQL Server service, then that would be the right name.  You should verify if it is on your system.&lt;br&gt;&lt;br&gt;Second, the cluster resource name can be the MSDTC cluster resource, but I'm assuming that you have the MSDTC cluster resource in the same group as the SQL resource.  In that case you could use the SQL cluster resource name.  Then MSDTC would automatically attempt to use the MSDTC cluster resource that is in the same group.&lt;br&gt;&lt;br&gt;Hope this helps,&lt;br&gt;&lt;br&gt;Jim.&lt;img src="http://www.pluralsight.com/community/aggbug.aspx?PostID=51088" width="1" height="1"&gt;</description></item><item><title>re: MSDTC changes in WS2008, Part 3: Cluster features</title><link>http://www.pluralsight.com/community/blogs/jimjohn/archive/2008/03/23/50536.aspx#51069</link><pubDate>Thu, 29 May 2008 12:58:00 GMT</pubDate><guid isPermaLink="false">d057c89c-07b5-4bfb-b52f-d79d1e3ece89:51069</guid><dc:creator>UTtam Parui</dc:creator><description>Jim,&lt;br&gt;Excellent information on MSDTC changes in WS2008. In the &amp;quot;msdtc.exe -tmMappingSet&amp;quot; command, -resourceName is not a valid option. The option is -clusterResourceName. Can you give an example of mapping MSDTC resource to SQL Server 2005 resource? OR can you validate if the following is correct?&lt;br&gt;Example- We have a SQL Server 2005 resource with service name MSSQLServer and have two MSDTC resources called MSDTC-win2k8msdtc and MSDTC-MSDTC. And I want the SQL Server resource to use MSDTC-win2k8msdtc. Is the below command correct?&lt;br&gt;&lt;br&gt;Msdtc.exe –tmMappingSet –name MyMapping –service MSSQLServer –clusterresourcename MSDTC-win2k8msdtc&lt;br&gt;&lt;br&gt;&lt;img src="http://www.pluralsight.com/community/aggbug.aspx?PostID=51069" width="1" height="1"&gt;</description></item><item><title>re: Multithreading with DependentTransaction</title><link>http://www.pluralsight.com/community/blogs/jimjohn/archive/2005/05/01/7923.aspx#50835</link><pubDate>Sun, 04 May 2008 12:32:00 GMT</pubDate><guid isPermaLink="false">d057c89c-07b5-4bfb-b52f-d79d1e3ece89:50835</guid><dc:creator>Jim Johnson</dc:creator><description>Michael,&lt;br&gt;&lt;br&gt;Sorry for not replying earlier.  It looks like you have taken this to http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3260331&amp;amp;SiteID=1, which is a good place to ask about the current product.&lt;br&gt;&lt;br&gt;Jim.&lt;img src="http://www.pluralsight.com/community/aggbug.aspx?PostID=50835" width="1" height="1"&gt;</description></item><item><title>re: Multithreading with DependentTransaction</title><link>http://www.pluralsight.com/community/blogs/jimjohn/archive/2005/05/01/7923.aspx#50797</link><pubDate>Mon, 28 Apr 2008 10:28:00 GMT</pubDate><guid isPermaLink="false">d057c89c-07b5-4bfb-b52f-d79d1e3ece89:50797</guid><dc:creator>Michael S.</dc:creator><description>Well I think that is not working.&lt;br&gt;&lt;br&gt;I made a litte test with two database connections. But very simila to this Example&lt;br&gt;&lt;br&gt;The Problem is as soon as Complete() is called in the Main TransactionScope every ExecuteNonQuery command gives an &amp;quot;Distributed transaction completed. Either enlist this session in a new transaction or the NULL transaction.&lt;br&gt;&lt;br&gt;A real Problem is that that eception is not catched by an try/catch in the main funcion. Insted the hole application crashes the bad way.&lt;br&gt;&lt;br&gt;simplified code:&lt;br&gt;Main:&lt;br&gt;try&lt;br&gt;{&lt;br&gt;   //Open two connections&lt;br&gt;   using(TransactionScope ts = new TransactionScope(TransactionScopeOption.Requred, TimeSpan.MaxValue)&lt;br&gt;   {&lt;br&gt;      ThreadPool.QueueUserWorkItem(worker1, Transaction.Current.DependentClone(DependentCloneOption.BlockCommitUntilComplete));&lt;br&gt;      ThreadPool.QueueUserWorkItem(worker2, Transaction.Current.DependentClone(DependentCloneOption.BlockCommitUntilComplete));&lt;br&gt;      ts.Complete();&lt;br&gt;   }&lt;br&gt;   //Close the connections&lt;br&gt;}&lt;br&gt;catch(Exception(ex)&lt;br&gt;{&lt;br&gt;   //Write Exception&lt;br&gt;}&lt;br&gt;&lt;br&gt;Worker1:&lt;br&gt;DepednentTransaction dtx = (DependendTransaction)ar;&lt;br&gt;using(TrsansactionScope ts = new TransactionScope(dtx))&lt;br&gt;{&lt;br&gt;   Thread.Sleep(9000);&lt;br&gt;ts.Complete();&lt;br&gt;}&lt;br&gt;dtx.Complete();&lt;br&gt;&lt;br&gt;Worker2:&lt;br&gt;DepednentTransaction dtx = (DependendTransaction)ar;&lt;br&gt;using(TrsansactionScope ts = new TransactionScope(dtx))&lt;br&gt;{&lt;br&gt;   Thread.Sleep(TimeSpan.FromSeconds(10));&lt;br&gt;   //Make An Insert using one of the connections&lt;br&gt;ts.Complete();&lt;br&gt;}&lt;br&gt;dtx.Complete();&lt;img src="http://www.pluralsight.com/community/aggbug.aspx?PostID=50797" width="1" height="1"&gt;</description></item></channel></rss>