Sun GlassFish Enterprise Server v3 Prelude Release Notes

ProcedureTo Specify the Data-Source Class Name Explicitly When Using Administration Console

Perform this workaround only if an attempt to use the Administration Console to create a JDBC connection pool returns a server error such as HTTP Status 500. Use this workaround with the instructions for creating a JDBC connection pool in the Administration Console online help.

  1. In the step for selecting a database vendor, do not select a vendor from the Database Vendor drop-down list.

    You perform this step on the New JDBC Connection Pool (Step 1 of 2) page.

    As a result of not selecting a vendor, the data source class name in the New JDBC Connection Pool (Step 2 of 2) page will not be filled in for you.

  2. In the step for specifying the data-source class name, type the required class name in the Datasource Classname field.

    You perform this step on the New JDBC Connection Pool (Step 2 of 2) page.

    The required class name depends on the resource type that is selected from the Resource Type drop-down list. For example, for the MySQL database, the required class name for each resource type is as shown in Table 1–6.

    For other database drivers, consult the documentation from the database driver vendor.

  3. In the step for specifying additional properties, fill in the property table with the required property names and values.

    You perform this step on the New JDBC Connection Pool (Step 2 of 2) page.

    The required property names and values depend on the data-source class.