QuestionQ52

Monitor and Tune the Environment

An EJB client application received a java.net.ConnectException: Connection timed out error while making remote EJB calls. The EJBs on the remote server were found to be slow because of heavy client traffic. Which client-side ORB custom property can be tuned to prevent the error and give the server additional time to complete the client request?

Explanation

com.ibm.CORBA.RequestTimeout specifies how many seconds a request waits for a response before timing out. Increasing this value gives a slow, heavily loaded remote EJB server more time to complete the invocation. com.ibm.CORBA.ConnectTimeout applies to establishing the socket connection rather than waiting for the request response.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!