tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AndyG <andy.gumbre...@orprovision.com>
Subject Re: RemoteClient blocked
Date Thu, 21 Feb 2013 16:30:01 GMT
On the client side try setting these system/context properties to higher
values before creating the InitialContext. 

openejb.client.connection.pool.timeout    //Default 1000 ms
openejb.client.connection.pool.size         //Default 5

Set timeout to 5000 and size to to 50 for example, but play with them to
tune what is best for your application.

Also, on the server side ensure you have plenty of threads configured in
your ejbd.properties file (each service such as httpejbd,ejbd, ejbds etc.
uses their own thread pool). Each thread services a single connection
request and response operation.

Andy.





--
View this message in context: http://openejb.979440.n4.nabble.com/RemoteClient-blocked-tp4660922p4660952.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Mime
View raw message