Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Socket Connection Attempt Refused

Status
Not open for further replies.

bowettwow

Programmer
Aug 1, 2002
57
GB
I have a java program which reads messages off a queue, uses the information in the message to query a database and then write a message to another queue.

It works ok but if I have a lot of messages (ie. Over a 1000) it can suddenly start to fail and give a "Socket Connection Attempt Refused" message.

I can then restart the program and it works fine again until after a few thousand then locks.

At the moment I create a new connection to MQ - do the Put - then disconnect, for every message.

Can anyone think of a reason why it would suddenly lock up like this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top