Go to JDBC provider-> New
You can select the database you want to use like Oracle,DB2 etc..
I had used Oracle for example.
In next step it will ask for the path of ojdbc jar which is needed for oracle jdbc connections.Use the latest jars compatible with your database version.
Click on Finish and save to master config to complete jdbc provider creation.
Click on datasource ->new
I used the cell scope so it will be visible to all applications.
Enter the datasource name and jndi name
The database URL for Oracle will be in the format :
jdbc:oracle:thin:@[ip address]:[Oracle port (1521)]:[Oracle database name]ex:jdbc:oracle:thin:@localhost:1521:testdbDataSource Creation is completed.The next step will be to configure J2C authenticationClick on JAAS-J2C authentication Enter username and password for the database schema connectivityLast step to test the connectionClick on TestConnection. Other Useful links for datasource creation:Datasource creation explained  for oracle,mqsql 








 
No comments:
Post a Comment
Your suggestions please