Wednesday, 15 May 2013

Data Source Setup In Weblogic Server


LogOn To Weblogic Console. On Left side Domain Structure pane select "Data Source".



 


Give the name and JNDI name of the data source.




Choose the DB Driver and click on Next.



Give the DB creadentials and click on Next.




On the next page Click on Test Configuration, it will gives the success as status. Then click on Finish. This creates a Data source.


After that we have to configure the DBadapter to associate the Data Source.
On the left side Domain Structure pane click on the Deployments > DBAdapter.




Click on Configuration > Outbound Connection Pools > New



Select the Connection Factory Radio button.

 

Give the JNDI name and Click on the Finish button

 

Now We have to link the DB JNDI name to the Data source


Again click on Deployments > DBAdapter > Configuration > Outbound Connection Pools > Expand the connection factory > click on your JNDI name




Give the Created Data source name on the xADataSourceName row and put Enter (otherwise it will not accept). Then click on Save button.


Now We have to Update the DBAdapter Deployment.
Goto Deployments - Check DBAdapter  CheckBox- Update

It will give the status as successfully deployed. now we can use this JNDI eis/DB/TestDS to connect to the database.


No comments:

Post a Comment