Safe, High performance, reuseable

Showing posts with label Config Glassfish. Show all posts
Showing posts with label Config Glassfish. Show all posts

Monday, July 21, 2008

How to create DB2 connection pool in GlassFish

1. Copy db2jcc.jar to D:\Sun\SDK\domains\domain1\lib\db2jcc.jar
2. login to console
3. Navigate to Resource->JDBC->Connection Pools-New
Datasource ClassName: com.ibm.db2.jcc.DB2SimpleDataSource
Resource type: javax.sql.DataSource

Connection Pool properties:
driverType : 4
databasename:
portNumber: 50000
serverName: localhost
password:
user: