[jboss-user] [JBoss Remoting] - Re: [Urgent] Random org.jboss.remoting.CannotConnectException

Ron Sigal do-not-reply at jboss.com
Thu Sep 30 07:32:06 EDT 2010

Ron Sigal [http://community.jboss.org/people/ron.sigal%40jboss.com] created the discussion

"Re: [Urgent] Random org.jboss.remoting.CannotConnectException"

To view the discussion, visit: http://community.jboss.org/message/564186#564186

Hi Alfonso,

How many clients are you talking about?  I'm guessing that you're overloading the ability of the ServerSocket to respond to connection requests.  Once the server has used up the maximum number of worker threads, which defaults to 300, it won't accept any more connections.  You can increase the number of worker threads by adding, say, "maxPoolSize=500" to the InvokerLocator.

Also, the default value for the ServerSocket backlog parameter is 200.  You could try increasing it by adding "backlog=300", for example, to the InvokerLocator.


Reply to this message by going to Community

Start a new discussion in JBoss Remoting at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100930/04068f8a/attachment.html 

More information about the jboss-user mailing list