WebSphere Data Source Configuration
- Login Http://localhost:9061/ibm/console/login.do (according to your own the configuration for this URL, which is the default URL).
- On the left navigation, click on "Environment" menu, and then spread the Sum menu, click on the "WebSphere variables".
- On the right page shows the variables list, click "Next" button to move to Next page and find "Oracle_jdbc_driver_path" va Riable.
- Edit this path, set the "Value" as the path of the your Oracle driver jar file.
- After set the value, click on "Apply" button, also click "Save" button to take effect.
- Click the menu as below image shows, and click "New" button.
- Step 1:create new JDBC provider. The values set as below image shows. And then click "Next".
- Step 2, if the Oracle jar is not a same as images shows, you can change it later. This page is no needs to the change, click "Next".
- Step 3, no change to click "Finish"
- Save the configuration.
- You can click on the name in the the configuration of the list to change.
- If something is wrong, you can change it. eg.my jar name is not a "ojdbc6.jar", so change the class path as "Ojdbc14-10.2.0.3.jar", and click "Apply", "Save" button.
- Create Data Source.
- Step 1, "Date Source name" can free to input, "JNDI name" is "jdbc/datasource".
- Step 2, select an existing JDBC provider.
- Input URL "Jdbc:oracle:thin: @cndalwebdb04vl. Cn.fid-intl.com:1521:d1cia".
(according you own configuration).
- Setup security aliases. (Set up Oracle username and password). Set later. Do nothing and next.
- Confirm page, click "Finish" button.
- Save the data source configuration.
- ADD "JAAS-J2C Authentication Data" (Oracle username and password).
After the set "security setting".
- Click the "New" button.
- Alias is free to input, the User ID and Password use to connect Oracle DB.
- Apply and save.
- Link to Data Source Edit page, edit "Security settings" option.
- Apply and save.
- Test connection.
- Connect successfully if shows below page. And the entire configuration for data source have done.
WebSphere Data Source Configuration