Table of Contents |
---|
Datasource management capability is provided by the following feature in the WSO2 feature repository:
...
- Log into the product's Management Console.
- 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.
- Click Save.
Datasource Provider
...