Solved

connection  error in db2

Posted on 2011-03-24
5
2,128 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:Kent Olsen
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 143

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

790 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