-
Bug
-
Resolution: Done
-
Major
-
AMQ 7.9.1.GA, AMQ 7.10.0.GA
-
False
-
None
-
False
-
Migration, Compatibility/Configuration
-
Workaround Exists
-
-
- Create a broker instance/configuration with previous versions of the broker
- Use this configuration with the new versions 7.10 and 7.9.
When you try to use broker instance configuration from the previous releases with new 7.10 or 7.9 release, the broker will crash.
Failure due to schema in etc/borker.xml
/home/jboss/instance/bin/artemis run Apr 01, 2022 1:28:34 PM java.lang.System$LoggerFinder lambda$accessProvider$0 WARNING: Failed to instantiate LoggerFinder provider; Using default. javax.xml.bind.UnmarshalException - with linked exception: [org.xml.sax.SAXParseException; lineNumber: 19; columnNumber: 44; cvc-elt.1.a: Cannot find the declaration of element 'broker'.] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:453) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:387) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:356) at org.apache.activemq.artemis.dto.XmlUtil.decode(XmlUtil.java:117) at org.apache.activemq.artemis.cli.factory.xml.XmlBrokerFactoryHandler.createBroker(XmlBrokerFactoryHandler.java:35) at org.apache.activemq.artemis.cli.factory.BrokerFactory.createBrokerConfiguration(BrokerFactory.java:47) at org.apache.activemq.artemis.cli.factory.BrokerFactory.createBrokerConfiguration(BrokerFactory.java:54) at org.apache.activemq.artemis.cli.commands.Configurable.getBrokerDTO(Configurable.java:118) at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:80) at org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:160) at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:108) at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:135) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:134) at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:50) Caused by: org.xml.sax.SAXParseException; lineNumber: 19; columnNumber: 44; cvc-elt.1.a: Cannot find the declaration of element 'broker'. at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:204) at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:135) at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:396) at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327) at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:284) at java.xml/com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:2133) at java.xml/com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:830) at java.xml/com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl.startElement(ValidatorHandlerImpl.java:571) at com.sun.xml.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.startElement(ValidatingUnmarshaller.java:71) at com.sun.xml.bind.v2.runtime.unmarshaller.InterningXmlVisitor.startElement(InterningXmlVisitor.java:45) at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleStartElement(StAXStreamConnector.java:216) at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:150) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:385) ... 16 more
Failure due to schema in etc/management.xml
(artemis run with fixed broker.xml)
/home/jboss/instance/bin/artemis run Apr 01, 2022 1:41:16 PM java.lang.System$LoggerFinder lambda$accessProvider$0 WARNING: Failed to instantiate LoggerFinder provider; Using default. javax.xml.bind.UnmarshalException - with linked exception: [org.xml.sax.SAXParseException; lineNumber: 18; columnNumber: 56; cvc-elt.1.a: Cannot find the declaration of element 'management-context'.] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:453) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:387) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:356) at org.apache.activemq.artemis.dto.XmlUtil.decode(XmlUtil.java:117) at org.apache.activemq.artemis.cli.factory.jmx.XmlJmxAclHandler.createJmxAcl(XmlJmxAclHandler.java:34) at org.apache.activemq.artemis.cli.factory.jmx.ManagementFactory.createJmxAclConfiguration(ManagementFactory.java:57) at org.apache.activemq.artemis.cli.factory.jmx.ManagementFactory.createJmxAclConfiguration(ManagementFactory.java:64) at org.apache.activemq.artemis.cli.commands.Configurable.getManagementDTO(Configurable.java:134) at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:82) at org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:160) at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:108) at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:135) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:134) at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:50) Caused by: org.xml.sax.SAXParseException; lineNumber: 18; columnNumber: 56; cvc-elt.1.a: Cannot find the declaration of element 'management-context'. at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:204) at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:135) at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:396) at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327) at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:284) at java.xml/com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:2133) at java.xml/com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:830) at java.xml/com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl.startElement(ValidatorHandlerImpl.java:571) at com.sun.xml.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.startElement(ValidatingUnmarshaller.java:71) at com.sun.xml.bind.v2.runtime.unmarshaller.InterningXmlVisitor.startElement(InterningXmlVisitor.java:45) at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleStartElement(StAXStreamConnector.java:216) at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:150) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:385) ... 16 more
- relates to
-
ENTMQBR-6876 Manually overriding broker image to 7.8 leads to crashloop of broker pod
- Closed
- mentioned in
-
Page Loading...