To create a Data Source to point to a Database and a Communication Driver:
Expand the WebSphere Administrative Domain tree, and select Resources > JDBC Providers> <DatabaseDriverName> Data Sources
Right-click Data Sources and select New from the shortcut menu that appears.
The Data Source Properties dialog box appears.
Type the Data Source name in the Name box.
Type the Data Source JNDI name in the JNDI name box.
In the Custom Properties table:
Type the name of the database to which the created Data Source points in the Database Name field. (For example WFMDB for Monitor database or FMCDB for MQ Workflow database. If you created the Monitor Database or the Event Queue Database with a different name, then you should type this name in the Database Name field.).
For Oracle database, the field name is URL and it should be filled with the database URL instead of the database name. (For example jdbc:oracle:thin:@<Oracle_Server_Name>:<Oracle_Server_Port_Number>:<DatabaseName>
Where <Oracle_Server_Name> is the name or the IP address of the Oracle Database Server machine, <Oracle_Server_Port_Number> is the Oracle Server Port Number (the default port is 1521) and <DatabaseName> is the database name (for example WFMDB for Monitor database or FMCDB for MQ Workflow database. If you created the Monitor Database or the Event Queue Database with a different name, then you should type this name in the Database Name field).
Type the Database connection user's name and password in the User and Password fields.
You can test the connection with the Database with the entered user name or password by clicking Test Connection. If the Database name, user name or password is not correct, then you will be notified by a message. Otherwise, another message will confirm that the connection is successful.
Click OK. The Data Source will be created.