How to configure timeouts for remote EJBs invoking server under heavy load in JBoss EAP 7.0 / 6.4
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.0
- 6.4
Issue
- How to configure timeouts for remote EJBs invoking server under heavy load in JBOss EAP 7.0 / 6.4?
Resolution
Set the connect timeout for example (value is in milliseconds) in your EJB client configuration [1]
remote.connection.server0.connect.timeout=60000
EJBCLIENT000014 is a timeout trying to setup the connection (value is in milliseconds) in your EJB client configuration [1]
invocation.timeout=60000
EJBCLIENT000015 is a timeout after the connection is made waiting for the server to send a list of ejbs deployed on the server.
And this system property in EAP 7.x. For EAP 6.4 see This content is not included.BZ1580975, value in seconds
-Dorg.jboss.ejb.initial-module-wait-time=60
Set the reconnect tasks timeout (value is in milliseconds) in your EJB client configuration [1]
reconnect.tasks.timeout=60000
Related solutions:
SBR
Components
Category
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.