I have jboss-4.0.4.CR2 and is configured mssql-xa-ds.xml:
<xa-datasource>
<jndi-name>MSSQLXADS</jndi-name>
<track-connection-by-tx/>
<isSameRM-override-value>false</isSameRM-override-value>
<xa-datasource-class>com.microsoft.jdbcx.sqlserver.SQLServerDataSource</xa-datasource-class>
<xa-datasource-property
name="ServerName">Itd308-02:1433</xa-datasource-property>
<xa-datasource-property name="DatabaseName">staff</xa-datasource-property>
<xa-datasource-property name="SelectMethod">cursor</xa-datasource-property>
<!-- not sure if these should be here-->
<user-name>sa</user-name>
sa
<!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml
(optional) -->
<type-mapping>MS SQLSERVER2000</type-mapping>
</xa-datasource>
when I run JBOSS, on thi consol is written that this MSSQLXADS is binded, so
it' seem everything ok.
but When I run java program and I Lookup this JNDI
(context.lookup("java:/MSSQLXADS")) it throws Exception
javax.naming.NameNotFoundException: MSSQLXADS not bound
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949013#3949013
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949013
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user