Configuration of Database Adapter in SOA suite 12c

Introduction:

SOA application performs any database related operation like DMLA�operations (e.g. Select, Insert, update etc.), Invokes package procedure inA�database and is done by DB Adapter Services provided as part of Oracle SOA Suite.

Configuration steps:

In order to use Database adapter, it needs configuration such as creation of JDBC data source and JNDI (Java Naming and Directory Interface) and the same is configured using SOA Administration Console.

Now I am going to take you through the steps ofA�configuring database resource.

  1. Open URL http://localhost:7101/console to enter into Administration Console page
  2. In the left pane navigate to Services -> Data SourcesConfiguration_Database_Adapter_1
  3. Click on NEW and select Generic Data SourceConfiguration_Database_Adapter_2
  4. Give JDBC data source name and JNDI name (jdbc/leeDBConnection). Then select Database Type as OracleConfiguration_Database_Adapter_3
  5. Click on NEXT and select Database DriverConfiguration_Database_Adapter_4
  6. Click on NEXTConfiguration_Database_Adapter_5
  7. Click on NEXT and enter database connection details like hostname,port,username and passwordConfiguration_Database_Adapter_6
  8. Click on NEXTConfiguration_Database_Adapter_7
  9. Click on a�?Test Configurationa��
  10. If database details are correct, then it will show the message like a�?Connection test succeededa��.Configuration_Database_Adapter_8
  11. Click on NEXT and select Target ServerConfiguration_Database_Adapter_9
  12. Then click on FINISH. Now create outbound connection pool. Navigate to Deployments in the left pane -> DB Adapter from deployments listConfiguration_Database_Adapter_10
  13. Navigate to Configuration -> Outbound Connection Pools. Click on NEWConfiguration_Database_Adapter_11
  14. Select outbound connection group and click on NEXTConfiguration_Database_Adapter_12
  15. Enter JNDI name of database connection pool (eis/DB/myDBConnectionPool)Configuration_Database_Adapter_13
  16. Click on FINISH and update the connection pool with the XADataSourceName. You have to explicitly press a�?ENTERa�� button to save the datasource name. Then click on SAVE button.Configuration_Database_Adapter_14
  17. Again go to Deployments and select DB Adapter to update db adapter configuration file a�?Plan.xmla��.Configuration_Database_Adapter_15
  18. Select the option a�?Redeploy this application using the following deployment filesa��.Configuration_Database_Adapter_16
  19. Click on NEXTConfiguration_Database_Adapter_17
  20. Click on FINISH to finish the configuration of database resource.

Leave a Reply

Your email address will not be published. Required fields are marked *

Show my latest post here