DB2 Database Configuration

Step 1 Step 2 Step 3 Step 4 Step 5
Substep 1
Substep 2
Substep 3


Step 4: Create a DataSource Object

Substep 3: Install the driver

  1. In the IBM WebSphere Application Server Administrative Console, select the Topology view.
  2. Expand the directory tree.
  3. Locate and right-click the driver you created in Step 4-SubStep 1.
  4. From the pop-up menu, select Install.
  5. In the subsequent dialog:
    • Select the node on which to install the driver.
    • Click Browse to find db2java.zip. This is the file containing the driver. The appropriate java directory is in the SQLLIB subdirectory located under the DB2 "instance home" on UNIX platforms and in DB2's SQLLIB directory on NT:
      • JDBC 1.0
        • C:\SQLLIB\java (NT - where C is the hard drive on which DB2 is installed)
        • /home/db2inst1/sqllib/java (HP)
      • JDBC 2.0
        • /home/db2inst1/sqllib/java12 (AIX)
        • /home/db2inst1/sqllib/java12 (Linux)
        • /export/home/db2inst1/sqllib/java12 (Solaris)
        Use the latest version of the JDBC possible.
    • Click Install.


Take Note!
  • To start the connection, you may need to stop and start the Default Server in the Application Server Administrator Console. To do this:
    1. Select the Topology view.
    2. Expand the tree until the Default Server is displayed.
    3. Right-click on the Default Server and choose "Stop"; the wheel icons indicating the server's status should be red and white.
    4. Once the server is stopped, right-click again and choose "Start"; the wheel icons indicating the server's status should be blue and white.