Jms IBM是9,MDB部署失败整个应用程序

Jms IBM是9,MDB部署失败整个应用程序,jms,websphere,Jms,Websphere,我们有一个IBM WebSphere AS 9.0.0.7,当我们想要在MQ服务器关闭时部署一个包含MDB(侦听远程WebShpere MQ服务器)的应用程序时,WAS会报告一个错误 Caused by: com.ibm.mq.connector.DetailedResourceAdapterInternalException: MQJCA1011: Failed to allocate a JMS connection., error code: MQJCA1011 An internaler

我们有一个IBM WebSphere AS 9.0.0.7,当我们想要在MQ服务器关闭时部署一个包含MDB(侦听远程WebShpere 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连接。有可能吗?

您可以尝试将自定义属性WAS\u EndpointInitialState属性设置为
非活动的
,请参阅和,还可以查看

我们在这里找到了一个解决方案:

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