BAD UNSERIALIZE message' in catalyst logs
search cancel

BAD UNSERIALIZE message' in catalyst logs

book

Article ID: 246422

calendar_today

Updated On:

Products

CA Service Operations Insight (SOI)

Issue/Introduction

There are many error messages about "BAD UNSERIALIZE" for different SOI alarms written to \CA\SOI\tomcat\logs\catalyst.log on the SOI manager.
Here is one example of such error message:
 
2018-11-06 11:31:50,476 ERROR [JMS VWAGWOSSCP15.wob.vw.vwg] () impl.SessionImpl.logSDODiagnotic(1494) SOI - ****** BAD UNSERIALIZE ******
sheet: 4027A55CF4234E24A2217B8C13A19D5D
sheet contents:
    xmlns:usm-core="http://ns.ca.com/2009/07/usm-core">
  CA:77001
  B-VERBUND-VWAGWOSSCP15
  SW11
  SW11
  SW11
  ComputerSystem
  Mainframe SOI HeartBeat
  ComputerSystem
  JMS
  Minor
  Minor
  SW11
  noProduct
  postAlert
  77001
  B-VERBUND-VWAGWOSSCP15
  1
  kind regards from VW SOIAgent on SW11
  SW11
  SW11
  SW11
  Mainframe SOI HeartBeat
  CA:77001
  B-VERBUND-VWAGWOSSCP15
  kind regards from VW SOIAgent on SW11
  CAcc_ComputerSystem
  7de6d2e9-8f5f-480e-b278-1cd63ba74a31
  SW11
  noVendor
  SW11
  SW11

XMLHelper instance: org.apache.tuscany.sdo.helper.XMLHelperImpl@49ba64a3
XMLHelper instance class: org.apache.tuscany.sdo.helper.XMLHelperImpl
XMLHelper instance class loader: java.net.URLClassLoader@68b1d858
XMLHelper instance class location: file:/D:/CA/SOI/tomcat/lib/tuscany-sdo-impl-1.1.1.jar
 
Can you please explain why this error occurs and how it can be solved? What happens to the data which is (falsely) identified as "Bad Unserialized"? Is it dropped or stored to the DB anyway?

Environment

SOI: 4.2 + SO05073

OS: Windows Server 2008 R2

Resolution

Configure the activemq.xml file as follows:-

1. Open activemq.xml file from below path .
\CA\SOI\apache-activemq\conf\activemq.xml

2. Add below highlighted tag inside <policyEntry topic=">" > tag
 <destinationPolicy>
            <policyMap>
              <policyEntries>
                <policyEntry topic=">" >
                    <!-- The constantPendingMessageLimitStrategy is used to prevent
                         slow topic consumers to block producers and affect other consumers
                         by limiting the number of messages that are retained
                        For more information, see:
                        http://activemq.apache.org/slow-consumer-handling.html
                    -->
                  <pendingMessageLimitStrategy>
                   <constantPendingMessageLimitStrategy limit="1000"/>
                  </pendingMessageLimitStrategy> 
                   <deadLetterStrategy>
                      <sharedDeadLetterStrategy processExpired="false"/>     
                    </deadLetterStrategy>     
                </policyEntry>    
              </policyEntries>
            </policyMap>
     </destinationPolicy>
       
3. Restart all the SOI services