Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Datasource management capability is provided by the following feature in the WSO2 feature repository:

...

  1. Log into the product's Management Console.
  2. On the Configure menu, click Datasources.
    The Datasources page will appear.
    Click Add Datasource.
    Select RDBMS as the datasource type.
    This is the default RDBMS datasource configuration provided by WSO2. Users can also write your own RDBMS configuration by selecting the Custom Datasource option. 

    The following fields should be provided when defining the default RDBMS datasource:


    • Name : Name of the datasource (This value should be unique.)
    • Datasource Provider : For more information, see Datasource Provider.
    • Driver  : The JDBC driver to be used.
    • URL  : The connection URL to be passed to the JDBC driver to establish a connection.
    • Username  : The connection username to be passed to the JDBC driver to establish a connection.
    • Password  : The connection password to be passed to the JDBC driver to establish a connection.
    • Expose as a JNDI Datasource  : For information, see  Exposing Datasources as JNDI Resources.
    • Datasource Configuration Parameters : Additional properties can be defined when creating an RDBMS datasource. For more information on these properties, see Properties of RDBMS Datasources.

    The meaning of many fields are similar to the DBCP configuration guide. For more information, go tosee the JDBC pool configuration guide: http://commonstomcat.apache.org/dbcp/configurationtomcat-7.0-doc/jdbc-pool.html.

  3. Click Save.

Datasource Provider

...