I run jboss in standalone mode and have set my datasource in the standalone.xml
to the following:
I used this configuration and it worked OK on AS7
jdbc:sqlserver://linp-sqlrpt-01;databaseName=pmdm
com.microsoft.sqlserver.jdbc.SQLServerDriver
sqlserver
username
password
com.microsoft.sqlserver.jdbc.SQLServerXADataSource
Of course if you're not using the distributed DataSource you can configure the regular driver class as previously defined.
The module file looks like this.