Exception Name | Message | Cause / Solution |
java.sql.SQLException | IO Exception opening socket to server <hostname> on port <port>. The DB2 Server may be down. | Cannot connect to the database.Please check the host name and port number. |
The application server rejected establishment of the connection. An attempt was made to access a database, dstes, which was not found. | Make sure the specified table exists. |
Connection authorization failure occurred. Reason: password invalid. | Please check the specified user name or password. |
DB2 SQL error: SQLCODE: -104, SQLSTATE: 42601, SQLERRMC: XXX; SELECT * FROM <table name>; <space> | Spaces may have been inserted into the specified table name. In that case, enclose table name with quotation marks. |
DB2 SQL error: SQLCODE: -204, SQLSTATE: 42704, SQLERRMC: <table name> | Make sure the specified table exists. |