2 Replies Latest reply on Sep 29, 2006 7:36 PM by Matthew Lee

    How can i increase buffer for add new topic connection?

    Ratchapong Newbie

      I have problem with JMS .. I can't add anymore topic, after i try to add Topic/Queue on the fly about 3 or 4 topics. it can't connect to the topic anymore and receive the message like :-

      java.rmi.ConnectIOException: Exception creating connection to: 192.168.1.9; nested exception is:
      java.net.SocketException: No buffer space available (maximum connections reached?): connect
      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:580)
      at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
      at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
      at org.jboss.mq.il.rmi.RMIClientIL_Stub.receive(Unknown Source)
      at org.jboss.mq.server.ClientConsumer.doWork(ClientConsumer.java:277)
      at org.jboss.mq.threadpool.ThreadPool$WorkerThread.run(ThreadPool.java:230)
      Caused by: java.net.SocketException: No buffer space available (maximum connections reached?): connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
      at java.net.Socket.connect(Socket.java:426)
      at java.net.Socket.connect(Socket.java:376)
      at java.net.Socket.<init>(Socket.java:291)
      at java.net.Socket.<init>(Socket.java:119)
      at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
      at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562)
      ... 6 more

      Please help me figure out this problems, I'm really want to know how to solve these....

      Thank in advance