<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: JBoss5 exception: &#8220;Adding multiple last resources is disallowed..&#8221;</title>
	<atom:link href="http://venugopaal.wordpress.com/2009/02/11/jboss5-adding-multiple-last-resources-is-disallowed/feed/" rel="self" type="application/rss+xml" />
	<link>http://venugopaal.wordpress.com/2009/02/11/jboss5-adding-multiple-last-resources-is-disallowed/</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sat, 15 Aug 2009 10:35:30 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: whitelassiblog</title>
		<link>http://venugopaal.wordpress.com/2009/02/11/jboss5-adding-multiple-last-resources-is-disallowed/#comment-18</link>
		<dc:creator>whitelassiblog</dc:creator>
		<pubDate>Sat, 15 Aug 2009 10:35:30 +0000</pubDate>
		<guid isPermaLink="false">http://venugopaal.wordpress.com/?p=7#comment-18</guid>
		<description>jbossjta-properties.xml is present in JBOSS_HOME/checkout folder.

Check it out !</description>
		<content:encoded><![CDATA[<p>jbossjta-properties.xml is present in JBOSS_HOME/checkout folder.</p>
<p>Check it out !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Venugopal S</title>
		<link>http://venugopaal.wordpress.com/2009/02/11/jboss5-adding-multiple-last-resources-is-disallowed/#comment-14</link>
		<dc:creator>Venugopal S</dc:creator>
		<pubDate>Fri, 19 Jun 2009 06:15:06 +0000</pubDate>
		<guid isPermaLink="false">http://venugopaal.wordpress.com/?p=7#comment-14</guid>
		<description>Hi all,

That was not enough for Jboss 5.1.0 GA. Boy o Boy it sucks..Migrating from Jboss 4.0.5 to Jboss 5.0.0 was a nightmare by itself. No peace ! Again from 5.0.0 to 5.1.0 they have changed things left to right. We have to live with it anyways :) Community edition :)

As i had mentioned in my first point above, editing JBOSS_HOME/server/default/conf/jbossjta-properties.xml is not possible in Jboss 5.1.0 coz it&#039;s no more . 

What the heck do i do then? No worries folks! Just look for jbossts-properties.xml in the same folder location and look for the block &quot;&quot;. Change the value from  &quot;NO&quot; to &quot;YES&quot;.

Happy coding ..</description>
		<content:encoded><![CDATA[<p>Hi all,</p>
<p>That was not enough for Jboss 5.1.0 GA. Boy o Boy it sucks..Migrating from Jboss 4.0.5 to Jboss 5.0.0 was a nightmare by itself. No peace ! Again from 5.0.0 to 5.1.0 they have changed things left to right. We have to live with it anyways <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Community edition <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>As i had mentioned in my first point above, editing JBOSS_HOME/server/default/conf/jbossjta-properties.xml is not possible in Jboss 5.1.0 coz it&#8217;s no more . </p>
<p>What the heck do i do then? No worries folks! Just look for jbossts-properties.xml in the same folder location and look for the block &#8220;&#8221;. Change the value from  &#8220;NO&#8221; to &#8220;YES&#8221;.</p>
<p>Happy coding ..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Subinkrishna G</title>
		<link>http://venugopaal.wordpress.com/2009/02/11/jboss5-adding-multiple-last-resources-is-disallowed/#comment-13</link>
		<dc:creator>Subinkrishna G</dc:creator>
		<pubDate>Thu, 18 Jun 2009 06:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://venugopaal.wordpress.com/?p=7#comment-13</guid>
		<description>This solution cannot help us if we are working with 5.1.0.GA. There are a lot of changes in JBoss5.1.0.GA configurations compared to 5.0.0 GA. Read this: &lt;a href=&quot;http://javabeanz.wordpress.com/2009/06/18/a-jboss-5-1-0-exception/&quot; rel=&quot;nofollow&quot;&gt;http://javabeanz.wordpress.com/2009/06/18/a-jboss-5-1-0-exception/&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>This solution cannot help us if we are working with 5.1.0.GA. There are a lot of changes in JBoss5.1.0.GA configurations compared to 5.0.0 GA. Read this: <a href="http://javabeanz.wordpress.com/2009/06/18/a-jboss-5-1-0-exception/" rel="nofollow">http://javabeanz.wordpress.com/2009/06/18/a-jboss-5-1-0-exception/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A JBoss 5.1.0 Exception ! &#171; a cup of java</title>
		<link>http://venugopaal.wordpress.com/2009/02/11/jboss5-adding-multiple-last-resources-is-disallowed/#comment-12</link>
		<dc:creator>A JBoss 5.1.0 Exception ! &#171; a cup of java</dc:creator>
		<pubDate>Thu, 18 Jun 2009 06:32:16 +0000</pubDate>
		<guid isPermaLink="false">http://venugopaal.wordpress.com/?p=7#comment-12</guid>
		<description>[...] friend Venu had a post in his blog on how to fix it in JBoss 5.0. You can read it here. But if we are using JBoss 5.1.0 this solution cannot help us. Because there are a couple of [...]</description>
		<content:encoded><![CDATA[<p>[...] friend Venu had a post in his blog on how to fix it in JBoss 5.0. You can read it here. But if we are using JBoss 5.1.0 this solution cannot help us. Because there are a couple of [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: whitelassiblog</title>
		<link>http://venugopaal.wordpress.com/2009/02/11/jboss5-adding-multiple-last-resources-is-disallowed/#comment-6</link>
		<dc:creator>whitelassiblog</dc:creator>
		<pubDate>Thu, 12 Feb 2009 13:43:16 +0000</pubDate>
		<guid isPermaLink="false">http://venugopaal.wordpress.com/?p=7#comment-6</guid>
		<description>But, does it really have anything to do with jboss 5? Xa datasource would imply that 2 phase commits are supported.</description>
		<content:encoded><![CDATA[<p>But, does it really have anything to do with jboss 5? Xa datasource would imply that 2 phase commits are supported.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Another JBoss 5 hack by Venu &#171; a cup of java</title>
		<link>http://venugopaal.wordpress.com/2009/02/11/jboss5-adding-multiple-last-resources-is-disallowed/#comment-5</link>
		<dc:creator>Another JBoss 5 hack by Venu &#171; a cup of java</dc:creator>
		<pubDate>Wed, 11 Feb 2009 10:52:18 +0000</pubDate>
		<guid isPermaLink="false">http://venugopaal.wordpress.com/?p=7#comment-5</guid>
		<description>[...] had another JBoss hack and he was able to fix one more issue that may bubble up during the migration from JBoss 4.x to 5. [...]</description>
		<content:encoded><![CDATA[<p>[...] had another JBoss hack and he was able to fix one more issue that may bubble up during the migration from JBoss 4.x to 5. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: venuwin</title>
		<link>http://venugopaal.wordpress.com/2009/02/11/jboss5-adding-multiple-last-resources-is-disallowed/#comment-4</link>
		<dc:creator>venuwin</dc:creator>
		<pubDate>Wed, 11 Feb 2009 10:29:41 +0000</pubDate>
		<guid isPermaLink="false">http://venugopaal.wordpress.com/?p=7#comment-4</guid>
		<description>This can be fixed otherwise too :

For e.g., if you are using Stateful Session beans, you can refactor the code to use separate transactions.  If you simply need to read from one DataSource and insert processed results into another, you may not want or need 2-phase commit (and thus the above optimization).  In an EJB3 stateful session bean, this can be accomplished by simply delegating the read to a separate method and annotating it with &quot;@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)&quot;.  This causes the calling method&#039;s Transaction to suspend, wait for the read to complete, and resume.

Unfortunately i am not using Stateful session beans..all our beans are stateless.</description>
		<content:encoded><![CDATA[<p>This can be fixed otherwise too :</p>
<p>For e.g., if you are using Stateful Session beans, you can refactor the code to use separate transactions.  If you simply need to read from one DataSource and insert processed results into another, you may not want or need 2-phase commit (and thus the above optimization).  In an EJB3 stateful session bean, this can be accomplished by simply delegating the read to a separate method and annotating it with &#8220;@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)&#8221;.  This causes the calling method&#8217;s Transaction to suspend, wait for the read to complete, and resume.</p>
<p>Unfortunately i am not using Stateful session beans..all our beans are stateless.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
