【问题标题】:IBM WAS 9, MDB deployment fail the entire applicationIBM WAS 9,MDB 部署使整个应用程序失败
【发布时间】:2018-11-05 23:37:05
【问题描述】:

我们有一个 IBM WebSphere AS 9.0.0.7,当我们想要部署一个包含 MDB 的应用程序时——它侦听远程 WebShpere MQ 服务器——当 MQ 服务器关闭时,WAS 会报告错误

Caused by: com.ibm.mq.connector.DetailedResourceAdapterInternalException: MQJCA1011: Failed to allocate a JMS connection., error code: MQJCA1011 An internalerror caused an attempt to allocate a connection to fail. See the linked exception for details of the failure.

并停止部署,即应用程序未启动。这是一个大问题,因为它是其他业务的关键枢纽。我们希望强制 WAS 启动应用程序并稍后重试 JMS 连接。有可能吗?

【问题讨论】:

    标签: jms websphere


    【解决方案1】:

    您可以尝试将自定义属性 WAS_EndpointInitialState 属性设置为INACTIVE,请参阅herehere,也可能需要查看here

    【讨论】:

      【解决方案2】:

      我们在这里找到了解决方案:Configuring properties for the IBM MQ resource adapter

      技巧是设置 startupRetryCount 和 startupRetryInterval。当 MQ 服务器不可用时,应用程序启动,但报告为“部分启动”。应用程序的所有其他部分似乎都运行良好。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2018-02-17
        • 2017-02-05
        • 1970-01-01
        • 2016-05-16
        • 2016-10-20
        • 2018-10-11
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多