Solved

connection  error in db2

Posted on 2011-03-24
5
2,116 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

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…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

912 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now