I have now read this wiki entry 
http://wiki.jboss.org/wiki/Wiki.jsp?page=MyJMSReceiverCannotSeeADBUpdateMadeInTheSameTransactionAsASend

and understand that 2 phase commits does not guarantee that when the 
transaction is done, all datasources has completed their commit operations. The 
wiki entry states that setting the isolation level of the datasource to 
TRANSACTION_SERIALIZABLE should prevent the problem. So I tried that, but with 
no luck. Here is my datasource configuration

  | <datasources>
  |   <xa-datasource>
  |     <!--<jndi-name>PostgresXADS</jndi-name>-->
  |     <jndi-name>DefaultDS</jndi-name>
  |     <track-connection-by-tx/>
  |     
<xa-datasource-class>org.postgresql.xa.PGXADataSource</xa-datasource-class>
  |     <xa-datasource-property 
name="ServerName">192.168.1.177</xa-datasource-property>
  |     <xa-datasource-property name="PortNumber">5432</xa-datasource-property>
  |     <xa-datasource-property 
name="DatabaseName">signserver-svs</xa-datasource-property>
  |     <xa-datasource-property name="User">postgres</xa-datasource-property>
  |     <xa-datasource-property name="Password"></xa-datasource-property>
  |     <transaction-isolation>TRANSACTION_SERIALIZABLE</transaction-isolation>
  |   </xa-datasource>
  | 
  | </datasources>
  | 

Any additional hints would be highly appreciated!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918347#3918347

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918347


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to