Kbase P82897: Running SonicMQ sample code to subscribe to a topic generates error (8089)
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  1/6/2009 |
|
Status: Verified
SYMPTOM(s):
Running SonicMQ sample code to subscribe to a topic generates error (8089)
Received ERROR: No servers available. (8089)
All the threads in the SonicMQ adapter are in a sending status
Each run of DLC\src\samples\SonicMQ\adapter\examples\example2.p places one additional thread in a sending status
FACT(s) (Environment):
All Supported Operating Systems
Progress 9.1D
CAUSE:
This is expected behavior based on the sample code which does not disconnect.
FIX:
Increase the max threads setting within the SonicMQ adapter server pool range to meet your subscription needs.
You may change the maximum threads in the ubroker.properties file via:
Progress explorer:
1. SonicMQ adapter
2. Properties
3. Server
4. Pool Range
5. Maximum Threads
Direct editing of the ubroker.properties file:
1. Look under general heading [Adapter] for initialAdptrThreads=,
maxAdptrThreads=, and minAdptrThreads=
2. Open the section for your specific SonicMQ adapter, i.e. [sonicmq1]
3. Add the above three entries with appropriate values, i.e.
maxAdptrThreads=40.