Show TOC

 Deploying and Removing JDBC DriversLocate this document in the navigation structure

Use

So that you can create a DataSource, you must first deploy the JDBC driver you want to use. The J2EE Engine provides support for both JDBC 1.x and JDBC 2.0-compliant drivers.

You can also remove (un-deploy) the driver entries.

Tip

When you first log on to the system, there is already a defined driver. This is the system driver used by the Configuration Manager . You cannot remove this driver using the J2EE Engine administration tools.

Procedure

You can use the following tools to deploy or remove a JDBC driver:

  • Visual Administrator
  • Console Administrator

Visual Administrator

To deploy a new JDBC driver, use the Runtime tab of JDBC Connector Service.

  1. Choose Resources → Drivers.
  2. Choose  Create New Driver or DataSource on the toolbar.
  3. Specify an arbitrary name for your driver entry, such as myDriver.
  4. Browse to the archive file that contains the classes of the driver. You can choose more than one files additionally.

To remove an entry, select it in the Resources → Drivers tree and choose  Remove Selected Driver, Standalone Application or DataSource on the toolbar.

Console Administrator

To register a new driver, use deploy_driver command from the DBPOOL command group.

To remove a driver, use undeploy_driver command from the DBPOOL command group.

For more information about these commands, see DBPOOL in the Reference Manual.

See also:

Defining and Un-defining JDBC Drivers