2016-02-28 66 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。