BSA/TSSA: Error from blcli performance commands after 8.9.03 P1 upgrade - Failed to create CLIMain object

Version 2
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    BMC Server Automation


    TrueSight Server Automation (TSSA/BSA) 8.9.03 P1


    After upgrading to BSA/TSSA 8.9.03 P1, the following error may be encountered on some Application Servers when running the BLCLI performance commands:

    --------  $ blcli_setoption ServiceProfileName defaultProfile  Failed to create CLIMain object  java.lang.ExceptionInInitializerError  --------
    The blcli.log contains the following error message: 

    WARN [MESSAGE] Ignored XML validation warning [/MESSAGE] 

    org.xml.sax.SAXParseException; lineNumber: 22; columnNumber: 83; schema_reference.4: Failed to read schema document '', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>. 

    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) 
    at org.apache.xerces.util.ErrorHandlerWrapper.warning(Unknown Source) 
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) 
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) 
    at org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaWarning(Unknown Source) 
    at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument( 
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadDocument( 
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions( 
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions( 

    FATAL [MESSAGE] Could not initialize spring context [/MESSAGE] 

    org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 22 in XML document from URL [jar:file:/opt/bmc/bladelogic/NSH/br/stdlib/bladelogic_ca-format.jar!/spring/model/ca-format-model-beans.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 22; columnNumber: 83; cvc-elt.1: Cannot find the declaration of element 'beans'. 



    TSSA/BSA 8.9.03 P1 Defect DRBLG-116356


    This error occurs when the arapi- is loaded before other jar files in the CLASSPATH and this jar contains outdated references to some classes.  This ordering in the classpath is random for the performance commands which is why this error may not occur in all environments.

    If this happens in your environment, open a case with BMC Software customer support and provide the <appserver install>/NSH/br/stdlib/arapi- file.

    Article Number:


    Article Type:

    Solutions to a Product Problem

      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles