[jboss-user] [Remoting] - Re: Timeout waiting for a free socket when an ejb publish a

ron.sigal@jboss.com do-not-reply at jboss.com
Sun Mar 1 02:58:39 EST 2009


The message


  | Caused by: java.lang.IllegalStateException: Timeout waiting for a free socket
  |   at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInv
  | oker.java:1048)
  | 

indicates that all of the pooled connections in the callback client invoker (the Remoting invoker on the server side that sends messages to the client side) are in use, and the pool has reached its maximum size.  Now, in this particular case, JBossMessaging explicitly configures the callback client invoker to have a maximum pool size of one, which they do to prevent messages from being delivered out of order.  So you don't have the ordinarily available option of increasing the pool size.

The suggestion made by Andy Taylor on the JBM thread, increasing the 'connectionWait' parameter, is a good one, but note that it is implemented only in Remoting 2.4.0.GA and above.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213988#4213988

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213988



More information about the jboss-user mailing list