This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JDBC and the fly likes DB2 connection error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "DB2 connection error" Watch "DB2 connection error" New topic

DB2 connection error

Jim Colwood

Joined: Jul 10, 2007
Posts: 10

I am trying to configure DB2 database in MyEclipse 6.0, getting following error...

Error while performing database login with the IBM DB2 driver:
The application server rejected establishment of the connection. An attempt was made to access a database, *****, which was not found.
DB2ConnectionCorrelator: null

The message seems to be obvious that it couldn't find db, but I can connect to it via WinSQL. I double checked the hostname, port, dbname, userid & pw.

I am using IBM DB2 (Universal driver) template in My Eclipse. Also, pointing to the same jar for driver in MyEclipse that my WinSQL uses to connect successfully.

any clue?

Thanks for your help.

SCJP 6 |
Don't get me started about those stupid light bulbs.
subject: DB2 connection error