Start the “Administrative Console” of WebSphere 5 with the URL: "http://ServerName:9090/admin".
Open the node “Resources” and select “JDBC-Providers” in the three on the left side.
Select “Server” and click “Apply” in the “Scope” section if “Server” is not selected already.
Click on the “New” button to create a new JDBC provider.
Select “User-defined JDBC Provider” in the choice “JDBC Providers” under “General Properties” and click “OK”.
Enter the display name for this JDBC driver (e.g. i-netOptaDriver) in the field “Name”.
Enter the path of the driver (e.g. /opt/Opta2000.jar) in the field “Classpath”.
Enter the class name of this driver (e.g. com.inet.tds.TdsDriver) in the field “Implementation Classname”.
Click on “OK” and the new JDBC provider (driver) has been created.
Now select your new JDBC driver and click on “Data Sources (Version 4)” in “Additional Properties” to create a WebSphere 4.x data source.
Click on the “New” button.
Enter a name for this data source in “Name” (e.g. SQL Server Data Source).
Enter the jndi name in “JNDI Name” (e.g. jdbc/SqlServer).
In the field “Default User ID” enter the username for your database.
In the field “Default Password” enter the password for this user.
Click “OK” and the new datasource has been created.
Now click on the new data source.
Click on “Custom Properties” in the section “Additional Properties”.
After you have clicked on the “New” button you must enter a “databaseName” in the field “Name”.
In the field “Value” enter the name of the database.
Click “OK”
Now enter in the same way the values for “user”, “password” and “serverName”.
After this you should have the following four entries in the “Custom Properties” list.
Click on “Save” and the data source configuration is finished!