users@glassfish.java.net

Re: IBM DB2 Type 4 Driver is

From: <forums_at_java.net>
Date: Wed, 16 Mar 2011 00:46:35 -0500 (CDT)

GlassFish *support* IBM DB2 Database Type 4 JDBC Driver.

*1. Download DB2 JDBC Driver:*
https://www-304.ibm.com/support/docview.wss?rs=71&uid=swg21363866
*2. Copy DB2 JDBC Driver:*
D:\glassfish3.1\glassfish\domains\domain1\lib\ext\db2jcc.jar
*3. Create Connection Pool and DataSource in admin console of GlassFis:*

  * *Database Vendor:* DB2
  * *DataSource Classname:* com.ibm.db2.jcc.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./li>
     * *driverType* - 4



--
[Message sent by forum member 'ratking']
View Post: http://forums.java.net/node/690802