Exception name |
Cause |
Actions |
java.sql.SQLException |
IO Exception opening socket to server <hostname> on port <port>. The DB2 Server may be down. |
Cannot connect to the database. |
Check the [Hostname] and [Port number]. |
The application server rejected establishment of the connection. An attempt was made to access a database, dstes, which was not found. |
database "<database name>" does not exist. |
Make sure the specified database exists. |
Connection authorization failure occurred. Reason: password invalid. |
Connected to the database but cannot login. |
Check [User name]/[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. |
Spaces may have been inserted into the [Table name]. In that case, enclose table name with quotation marks. |
DB2 SQL error: SQLCODE: -204, SQLSTATE: 42704, SQLERRMC: <table name> |
"<table name>" does not exist. |
Make sure the specified table exists. |