8 Replies Latest reply on Dec 10, 2001 4:25 AM by Bart Du Bois

    HELP!!! CONNECTION REFUSED!!! TOO MANY CLIENTS???

    Inkubus Newbie

      Hi,

      i've got a silly problem:
      To test a little ejb application (there's only one statless and also one stateful session bean, no entity beans at all) I simulate about 100 Clients.
      I use Windows NT4.0 Server (SP6) for both client and server, JDK1.3.1, JBoss 2.4.3.
      Unfortunately after a few seconds the clients throws the following exceptions:

      java.rmi.ConnectException: Connection refused to host: xxx.my.server.xxx; nested exception is:
      java.net.ConnectException: Connection refused: connect
      java.net.ConnectException: Connection refused: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(Unknown Source)
      at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
      at java.net.PlainSocketImpl.connect(Unknown Source)
      at java.net.Socket.(Unknown Source)
      at java.net.Socket.(Unknown Source)
      at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
      at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
      at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
      at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
      at sun.rmi.server.UnicastRef.invoke(Unknown Source)
      at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invoke(Unknown Source)
      at org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(GenericProxy.java:357)
      at org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy.invoke(StatelessSessionProxy.java:123)
      at $Proxy5.getPreparedObject(Unknown Source)
      at dipl.ttmc.Client.run(Client.java:323)
      at dapt.util.a.a.run(Unknown Source)

      What's the problem???
      Please help me!!!

      Thanx a million times...

      Yours
      Inkubus