![]() ![]() ![]() ![]() |
Before you begin
Make sure that the JDBC drivers that you want to use to create database connections are installed on all servers on which you want to deploy application-scoped data sources and connection pools. Some JDBC drivers are installed with WebLogic Server, including WebLogic Type 4 JDBC drivers for DB2, Informix, MS SQL Server, Oracle, and Sybase. For more information about working with JDBC drivers, see Using Third-Party JDBC Drivers with WebLogic Server.
If your applications were developed for previous WebLogic Server releases and they contain application-scoped JDBC data sources and connection pools, you may need to create data source factories. Data source factories are used to create the legacy application-scoped data sources and connection pools when you deploy your applications. Data source factories also supply some default values for connections in the application-scoped connection pools.
Note: Data source factories are deprecated. They are included in this WebLogic Server release for backward compatibility only.
To create a JDBC data source factory:
Name - Enter a
name for this JDBC data source factory. This name is used in the
configuration file (config.xml
) and throughout
the Administration Console whenever referring to this data source
factory.
Database User Name - Enter the database user account name that you want to use for each connection in data sources created from this data source factory.
Password - Enter the password for the database user acccount.
URL - Enter the URL of the database to use when creating physical database connections.
Driver Class Name - Enter the full path name of the JDBC driver to use when creating physical database connections. The driver must be in the server classpath.
Factory Name - Enter the name to use when referring to this factory in descriptor files.
![]() |