Saturday, July 4, 2009 18:31

Known issues with Java method server

Tagged with:
Posted by Rexleed on Friday, January 9, 2009, 15:29
This news item was posted in Content Server category and has 0 Comments so far.

Known issues with Java method server

Some time some custom appliaction can cause Method Server to put heaver load on the content server. On further investigation we have found that if the application uses asynchronous server method invocations, then executeion agent can potentially launch hundered or more external method processes. This causes a very high load on the content server and Oracle.

The Tomcat server userd for the method server can be configured to reduce the number of simultaneous threads active. This coculd theoretically provide some flow control by limiting the number of methods that can simulatneously be executed. Unfortunately it appears error handlingin the Content Server for asynchronous methods is rather weak. If the Java Method Server is already processing all the simultaneous methods that it is capable of, all new requests get discarded. The application never knows that its method requests were discarded.

Please note asynchronous method execution can overload the server and may cause substantial delay in execution of the method.

When switching to synchronous mehotd execution there are still problems. Under heavy load the “DO_METHOD” calls will fail with a rather vague error message. It is up to the application to decide that the server is under heavy load and therefore should just keep retrying the method submission until the server has bandwidth to service it. As it stantds now the user requests simply fail when the server gets busy.

Related Posts

You can leave a response, or trackback from your own site.

No Responses to “Known issues with Java method server”

Leave a Reply