This content has been marked as final.
Show 2 replies
-
1. Re: xa-tx-datasource not binding to jndi
lindner Jun 21, 2007 11:11 AM (in response to chipschoch)I have the same problem (not wiht mssql) but with Ingres. did you find a solution?
-
2. Re: xa-tx-datasource not binding to jndi
lindner Jun 21, 2007 3:07 PM (in response to chipschoch)Ah! I found the solution. First of all the datasurce is NOT a <xa-datasource>! It is a <xa-datasource>, this is a little bit confusing in JBoss documentation wiki.
The attributes <connection-url> and <driver-class> are specific for the <local-tx-datasource> type. In a <xa-datasource> you must use<xa-datasource-class>com.ingres.jdbc.IngresXADataSource</xa-datasource-class> <xa-datasource-property name="PortNumber">26063</xa-datasource-property> <xa-datasource-property name="DatabaseName">visiomedic5</xa-datasource-property> <xa-datasource-property name="ServerName">192.168.222.222</xa-datasource-property>
instead (Ingres example, use your own class and port and database name.