Kbase P111688: All 4GL client receive STOP condition from SonicMQ adapter if maxSrvrInstance is reached
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  01/02/2006 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.1E
SYMPTOM(s):
maxSrvrInstance is reached
beginSession was not yet called
EVERY connection to the 4GL adapter is dropped
STOP condition to ALL of the the 4GL sessions with the errors "Adapter Error"
CAUSE:
Each JMS session will automatically allocate a server thread for use in
message reception. The only time this thread is not in use is when you are
in a message consumer. When a client sends a synchronous call to the
adapter, you need an available server to handle the request. If all the
servers are in use, no clients are able to make synchronous calls and will
receive an error. This means you can not even shut down a session.
FIX:
Limit the number of client instances allowed to be less than the number of server threads. This can be set through the Advanced Features node under Broker of an MQ Adapter instance.
By setting the maximum client instances to be 1 less than maximum Serverinstances, you guarantee that one server will be available for synchronous calls.