1. Install websphere. Note that the computer name cannot be underlined.
2 https: // localhost: 9043/IBM/console, to the integrated solution Console
3 resources-JDBC--JDBC providers
Select node01 for the node, and then create
Select oracle as the database type and connection pool as the implementation type. Next Step
Enter the physical path D: \ oraclejar \ ojdbc14-10.2.0.4.jar of the jar package in the input database class path information
4. Resource -- JDBC -- create a data source
Create a new j2c authentication alias under the authentication alias managed by the component and XA resume authentication alias, click to enter
Create a j2c authentication alias as the database name, and use the user ID and password as the database user name and password.
5. Create a data source. Enter the data source name (custom) and the JNDI name (the name must be consistent with the spring configuration in the application)
Then, under the authentication alias of Component Management and XA recovery authentication alias, select the j2c authentication just created, and specify database attributes for the input data source.
Enter URL: JDBC: oracle: thin: @ Database Host IP: 1521: unique database ID
Now the configuration is complete. Save the configuration and test the database connection. If the connection is complete, proceed to the next step.
6. Application-enterprise application: select the path of the ear package and enter the application name. All configurations are successful here.
The configuration that is not mentioned is followed by default.
7. If an application error occurs, you can view the error log in c: \ Program Files \ IBM \ WebSphere \ appserver \ profiles \ invalid rv01 \ logs \ server1.