2 Replies Latest reply on Feb 15, 2002 6:58 PM by uliroma

    Exception if more than 10 users are connecting at the same t

    tludwig

      I'm currently using jboss 2.0 on win 2000 with jdk 1.3.1 on a pentium 3, 550 MHz with 512 MB.
      In some test cases i'm getting an exception
      "Connection refused" if more than about 10 clients are trying to connect to the server at the same time.
      Is there a way to influence this behaviour (e.g. setting some time out value) and is this getting better in jboss 2.4.4

      Thanx

      Tilmann

        • 1. Re: Exception if more than 10 users are connecting at the sa

          This is a windows config problem.

          I think you are trying to stress test?
          You are doing lots of threaded calls in a loop that
          establish new connections from *the*same*ip*address?

          Windows thinks you a doing a DOS (denial of service attack)
          and refuses the connection.

          I looked at this back in December, I couldn't find
          what registry setting to change. I did manage to
          get between 50-98 out of 100 connections successful by putting
          a short sleep in my client code before each connection.

          Linux doesn't have this problem, so it isn't JBoss.

          3,550 MHz, I'm jealous :-)

          Regards,
          Adrian

          • 2. Re: Exception if more than 10 users are connecting at the sa
            uliroma

            What OS version are you using?
            There is a restriction built into Win2k Professional that doesn't allow more than 10 network connections to this particular machine at the same time. If you need more, you have to upgrade to Win2k Server.
            If you have already Win2k Server, you probably have to increase the number of licenses under the 'Control Panel' -> 'Licensing'. The default number of licenses is set to '10'.

            Or, just migrate to Linux - it's more fun anyway. :)
            Have fun,

            -Uli