【问题标题】:JMS Service and Broker count issueJMS 服务和代理计数问题
【发布时间】:2016-06-11 07:39:46
【问题描述】:

每当我尝试部署我的应用程序时,我都会在日志中不断收到此异常:

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

我不明白为什么会这样,所以我检查了 domain/domain1/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

有人可以帮助我了解如何增加此计数.. 我非常感谢您在这方面的帮助。

【问题讨论】:

    标签: glassfish jms glassfish-3


    【解决方案1】:

    您应该按照错误消息的提示更改代理的连接属性 (max_threads)。代理配置文件为 \domains\\imq\instances\imqbroker\props\config.properties。

    【讨论】:

      【解决方案2】:

      这取决于您是否在embedded 模式下使用OpenMQ。如果您使用的是 embedded MQ,请在管理控制台中查找配置的 Thread Pools 部分。其中一个将最大线程数设置为 10,这将是增加的线程数。

      很难确定,因为您没有从日志中提供任何其他详细信息,但这很可能是您需要更改的地方。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2013-04-08
        • 1970-01-01
        • 1970-01-01
        • 2010-09-15
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2020-05-21
        相关资源
        最近更新 更多