5 Replies Latest reply on Apr 22, 2020 3:00 AM by Vishwanath Panditrao Hattarki

    Upgrade 20.02: checkdb failed with Cannot find the declaration of element 'beans'

    Samo Puharic
      Share This:

      We did db check with AR version 9.1.04 without problems.

      After upgrade to the 20.02 we tried again to do db check - but this time db check failed. Even log file did not created.

      It looks like a bug.

       

      Any idea where the problem is ?!

       

      Output of db check:

      "C:\Program Files\Java\jre1.8.0_241\bin\java.exe" -jar "E:\Program Files\BMC Software\ARSystem\arserver.jar" --unicode -checkdb "C:\temp\mycheckdb.log" -i "E:\Program Files\BMC Software\ARSystem" -l "C:\Program Files\Common Files\AR System\Licenses\arserver-dev" -m

      Server Statup Notification Port [ARSERVERPORT] :null

      Server Process ID: 47412

      org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 13 in XML document from class path resource [spring-context/installer_context.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 13; columnNumber: 106; cvc-elt.1: Cannot find the declaration of element 'beans'.

              at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398)

              at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:335)

              at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)

              at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:242)

              at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:194)

              at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:258)

              at com.bmc.arsys.server.platform.spring.ContextFactory.createSpringAppContext(ContextFactory.java:76)

              at com.bmc.arsys.server.platform.spring.ContextFactory.getSpringAppContext(ContextFactory.java:51)

              at com.bmc.arsys.upgradeutils.BoulderDbUpgradeUtil.getUpgradeService(BoulderDbUpgradeUtil.java:331)

              at com.bmc.arsys.upgradeutils.BoulderDbUpgradeUtil.upgradeSchemaDef(BoulderDbUpgradeUtil.java:177)

              at com.bmc.arsys.upgradeutils.BoulderDbUpgradeUtil.execute(BoulderDbUpgradeUtil.java:100)

              at com.bmc.arsys.upgradeutils.CheckDB.main(CheckDB.java:55)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

              at java.lang.reflect.Method.invoke(Unknown Source)

              at com.bmc.arsys.boot.Main.main(Main.java:231)

      Caused by: org.xml.sax.SAXParseException; lineNumber: 13; columnNumber: 106; cvc-elt.1: Cannot find the declaration of element 'beans'.

              at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)

              at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknown Source)

              at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)

              at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)

              at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)

              at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)

              at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(Unknown Source)

              at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)

              at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(Unknown Source)

              at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)

              at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)

              at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)

              at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)

              at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

              at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)

              at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)

              at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)

              at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)

              at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)

              at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:77)

              at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadDocument(XmlBeanDefinitionReader.java:428)

              at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)

              ... 16 more

      Process Stopped with exit value: 2