Sun GlassFishJDBC Driver for DB2 Databases
TheJAR les for this driver are smbase.jar,smdb2.jar, and smutil.jar. Congure the
connectionpool using the following settings:
Name:Use this name when you congure the JDBC resource later.
ResourceType: Specify the appropriate value.
DatabaseVendor: DB2
DataSourceClassname: com.sun.sql.jdbcx.db2.DB2DataSource
Properties:
serverName- Specify the host name or IP address of the database server.
portNumber- Specify the port number of the database server.
databaseName- Set as appropriate.
user- Set as appropriate.
password- Set as appropriate.
URL:jdbc:sun:db2://serverName:portNumber;databaseName=databaseName
Sun GlassFishJDBC Driver for Oracle 8.1.7 and 9.x
Databases
TheJAR les for this driver are smbase.jar,smoracle.jar, and smutil.jar. Congure the
connectionpool using the following settings:
Name:Use this name when you congure the JDBC resource later.
ResourceType: Specify the appropriate value.
DatabaseVendor: Oracle
DataSourceClassname: com.sun.sql.jdbcx.oracle.OracleDataSource
Properties:
serverName- Specify the host name or IP address of the database server.
portNumber- Specify the port number of the database server.
SID- Set as appropriate.
user- Set as appropriate.
password- Set as appropriate.
URL:jdbc:sun:oracle://serverName[:portNumber][;SID=databaseName]
CongurationsforSpecic JDBC Drivers
SunGlassFishEnterprise Ser ver2.1 Administration Guide • December 200854