0 Replies Latest reply on Feb 12, 2002 5:17 AM by lubos

    Connection refused to host ...

    lubos Newbie

      I have application running in JBoss 2.4.4 (Windows 2000), which create N threads.

      In cycle I create 1000 threads
      ---In time interval Thread obtain new Information
      ------before I send message, I look up connection factory and my Topic
      ------I create and send message to topic
      ------I close connection factory

      Program is running, but when 700 (sometimes 200) threads is created, this exception is displayed:
      09:03:10|ERROR||Exception Fahrzeug.run()java.rmi.ConnectException:
      Connection refused to host:; nested exception is:
      java.net.ConnectException: Connection refused: no further

      It seem that originator the exception is JMS. One solution is, wait and send message again, but it is not sure, that it will be succesfull. Had you any experience with configuring JBossMQ (JMS) ?