JMS Exception while initializing the producer in MOI when restarting the MOI maas microservice
search cancel

JMS Exception while initializing the producer in MOI when restarting the MOI maas microservice

book

Article ID: 251592

calendar_today

Updated On:

Products

Mainframe Operational Intelligence

Issue/Introduction

A JMS exception  was encountered while restarting Customer data flow.   

It could not be be recreated and no specific error cause was available in the MOI maas log. 

 

 

Environment

Release : 2.1

Component : MF OPERATIONAL INTELLIGENCE

Resolution

The JMS exception below only occurred once when working with the Customer on a metric data restart and could not be recreated in house ,  and the maas log information provided no specific error that could be researched.   Recommendation from MOI Engineering was to go ahead and close this Case and watch for further errors to occur.   If that occurs, priority will be given to further researching this exception. The Customer concurred. 

The workaround is to simply restart the MOI maas microservice via the MTCAC UI. 

Error from the maas log: 

2022-09-27 13:30:35.593  INFO 2163 --- [           main] com.ca.oi.engine.common.kafka.KafkaUtil  : Kafka consumer properties: {enable.auto.commit=true, max.poll.records=500, schema.registry.url=http://confluent:8081, value.deserializer=io.confluent.kafka.serializers.KafkaAvroDeserializer, group.id=maas-automation-oi, specific.avro.reader=true, auto.offset.reset=earliest, request.timeout.ms=900000, bootstrap.servers=http://kafka:9092, max.poll.interval.ms=600000, key.deserializer=org.apache.kafka.common.serialization.StringDeserializer}, isOpenshiftDeployment: false
2022-09-27 13:30:46.995  INFO 2163 --- [           main] c.c.o.e.m.kafka.AutomationEventConsumer  : Subscribed to incidentEvent events on 'OI-AUTOMATION-ALERTS'...
2022-09-27 13:30:49.002 ERROR 2163 --- [           main] c.c.m.library.jms.ProducerImpl           : Exception while initializing the producer

javax.jms.JMSException: Disposed due to prior exception
 at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:80)
 at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1423)
 at org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1488)
 at org.apache.activemq.ActiveMQConnection.start(ActiveMQConnection.java:530)
 at org.apache.activemq.jms.pool.ConnectionPool.start(ConnectionPool.java:125)
 at org.apache.activemq.jms.pool.PooledConnection.start(PooledConnection.java:95)
 at com.ca.messagingservice.library.jms.ProducerImpl.initializeProducer(ProducerImpl.java:89)

 

Attachments

Visa JMS Exception profiler-maas log.txt_1665078552327.log get_app