
$J2EE_HOME/lib/system.
bin/userconfig.sh, and on Windows it is in bin\userconfig.bat.j2eeadmin -addJdbcDriver com.inet.tds.TdsDriverjdbcDriver.1.name=com.inet.tds.TdsDriver
(replace 1 with the next free number)
j2eeadmin -addJdbcXADataSource {jdbc/XASqlServer} com.inet.tds.DTCDataSource {sa} ”{}” -props serverName={YourSQLServerHost} databaseName={YourDatabase}xadatasource.1.name={jdbc/XASqlServer}
xadatasource.1.classname=com.inet.tds.DTCDataSource
xadatasource.1.dbuser={sa}
xadatasource.1.dbpassword={}
xadatasource.1.prop.databaseName={YourDatabase}
xadatasource.1.prop.serverName={YourSQLServerHost}
(replace 1 with the next free number). You will find a list of the properties in the API doc of TdsDataSource, the parent of XDataSource. The setter/getter methods are properties that can be set. (everything within {} is to be replaced by your value including the {}): *** If you can't install the Resource Manager Proxy in the SQL Server then you can use com.inet.tds.XDataSource instead of com.inet.tds.DTCDataSource.
j2eeadmin -addJdbcDataSource {jdbc/SqlServer} jdbc:inetdae7:{YourSQLServerHost}?database={YourDatabase}&user={sa}&password={}jdbcDataSource.5.name={jdbc/SqlServer}
jdbcDataSource.5.url=jdbc:inetdae7:{YourSQLServerHost}?
database={YourDatabase}&user={sa}&password={}
(replace 5 with the next free number)