当用openmq4.5启动glassfish4时,在一个主题中,我收到一条消息,然后您尝试生成一个错误,甚至尝试部署和启动应用程序,或者部署失败。
如何修复?
当第二个域启动时会发生这种情况,其中一个域正常。
[2020-12-22T12:40:34.990-0300] [glassfish 4.0] [INFO] [] [javax.resourceadapter.mqjmsra.inbound.message] [tid: _ThreadID=132 _ThreadName=imqConsumerReader-7-3304928041360704769-6] [timeMillis: 1608651634990] [levelValue: 800] [[
MQJMSRA_MR1101: createEndpoint-UnavailableException:Sleeping for:1000]]
[2020-12-22T12:40:35.989-0300] [glassfish 4.0] [INFO] [] [javax.resourceadapter.mqjmsra.inbound.message] [tid: _ThreadID=102 _ThreadName=imqConsumerReader-1-3304928041360355840-0] [timeMillis: 1608651635989] [levelValue: 800] [[
MQJMSRA_MR1101: Endpoint Unavailable:Marking OMR as invalid-omrId=0 for:ActvationSpec configuration=
DestinationType =javax.jms.Topic
Destination =jms_XXXXTopic
DestinationLookup =null
ConnectionFactoryLookup =null
MessageSelector =null
AcknowledgeMode =Auto-acknowledge
SubscriptionDurability =NonDurable
useSharedSubscriptionInClusteredContainer=true
ClientId =null
SubscriptionName =null
EndpointPoolMaxSize =32
EndpointPoolSteadySize =0
EndpointPoolResizeCount =8
EndpointPoolResizeTimeout =600
EndpointExceptionRedeliveryAttempts =1
EndpointExceptionRedeliveryInterval =500
SendUndeliverableMsgsToDMQ =true
GroupName =null
RAUID =3304928041360344064
InClusteredContainer =false
MdbName =null
UserName =null
AddressList (configured) =null
AddressList (in effect) =mq://Serv01:8888/,mq://Serv01:8888/
addressListBehavior (configured) =null
addressListBehavior (in effect) =RANDOM
addressListIterations (configured) =0
addressListIterations (in effect) =3
reconnectAttempts (configured) =0
reconnectAttempts (in effect) =3
reconnectInterval (configured) =0
reconnectInterval (in effect) =5000
options (configured) =null
options (in effec) =null
]]
消费者样本:
@MessageDriven(mappedName = "jms/XXXXTopic", activationConfig = { @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Topic") })
public class XXXXTopicConsumidor implements MessageListener {
@Override
public void onMessage(Message message) {
...
}
}
暂无答案!
目前还没有任何答案,快来回答吧!