2016-02-28 47 views
0

每當我試圖部署我的應用程序不斷收到這個異常的日誌:JMS服務和代理計數問題

MQJMSRA_LB4001: start:Aborted:Unable to ping Broker within 60000 millis 

我不明白爲什麼這是怎麼回事,所以我查域/域1/IMQ /logs/log.txt這是我發現:

No threads are available to process a new connection on service admin. 10 threads out of a maximum of 10 threads are already in use by other connections. A minimum of 2 threads must be available to process the connection. Please either limit the # of connections or increase the imq.<service>.max_threads property. Closing the new connection. ". Count: service=5 broker=5 

有人可以幫助我瞭解如何增加這個數.. 我會很感激你對這種幫助。

回答

0

這取決於您是否在embedded模式下使用OpenMQ模式。如果您使用的是embedded MQ,請在管理控制檯中查找配置的Thread Pools部分。其中一個將有一個最大線程設置爲10,這將是一個增加。

很難確定,因爲您沒有給出日誌中的任何其他細節,但這很可能是您需要更改的。

screenshot

0

的錯誤信息提示您應該改變代理的連接屬性(max_threads的)。代理配置文件是\ domains \\ imq \ instances \ imqbroker \ props \ config.properties。