Solved

connection  error in db2

Posted on 2011-03-24
5
2,126 Views
Last Modified: 2012-06-21
hi
      before my jsp pages were loading properly but now i am getting the following error


[jcc][t4][2043][11550][3.52.90] Exception java.net.ConnectException: Error opening socket to server localhost/127.0.0.1 on port 50,000 with message: Connection refused: connect. ERRORCODE=-4499, SQLSTATE=08001
0
Comment
Question by:manikandan689
5 Comments
 
LVL 37

Accepted Solution

by:
momi_sabag earned 500 total points
ID: 35206270
have you changed anything?
is it possible that the db2 database is down?
0
 
LVL 45

Expert Comment

by:Kdo
ID: 35206597
Hi Dan,

"localhost/127.0.0.1".

The error message suggests that you're trying to establish a connection to a DB2 instance on the same machine, or that your web server is running on the same machine as the DB2 instance and it is unable to connect.

Have you moved your application, web service, or DB2 database to another machine?


Kent


0
 

Author Comment

by:manikandan689
ID: 35206891
Thanks i got it right.

my databases were down
0
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 35913525
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

November 2009 Recently, a question came up in the DB2 forum regarding the date format in DB2 UDB for AS/400.  Apparently in UDB LUW (Linux/Unix/Windows), the date format is a system-wide setting, and is not controlled at the session level.  I'm n…
Recursive SQL in UDB/LUW (it really isn't that hard to do) Recursive SQL is most often used to convert columns to rows or rows to columns.  A previous article described the process of converting rows to columns.  This article will build off of th…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question