Error while connecting to database and running on Linux

Note:
This connector encounters this error when it is running on Red Hat Linux. It has occurred on Red Hat Linux 2.1 AS while the business object designer was running on Windows XP during ASBO creation using JDBCODA.

This error occurs if you create a DB2 database, for example, the database is named OneDB, and you connect to this database using JDBCODA, specifying the DatabaseURL property as jdbc:db2:OneDB.

To avoid this problem, you can create a TCP/IP node for the DB2 machine and an alias for this database. Assume the node name is OneNode and the alias is OneDB1. Enter the following commands:

$ db2
 db2 => catalog tcpip node OneNode remote <your local host> server 50000
 db2 => catalog database OneDB as OneDB1 at node OneNode
 db2 => quit
 

Then when using JDBCODA to connect to database OneDB, specify the DatabaseURL property as jdbc:db2:OneDB1; that is, access the database by its alias.

Copyright IBM Corp. 2003