Also, the remoting client pool size by default is 50 concurrent connections, and these
will timeout after a while (this is what you are seeing).
If your mySQL instance is slow, then you may have a lot of invocations backing up
(remember you have 500 sessions - this is a lot) waiting to get one of those 50 from the
pool, since they're taking significant time to execute.
You could try increasing the remoting client pool size to a value higher than 50.
In remoting-service.xml for the socket connector add an attribute and try a higher value.
| <attribute name="clientMaxPoolSize">100</attribute>
|
I will also update the code so it clears up better after a failure so as not to give you
the knock on IllegalStateException.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017573#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...