You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/01/07 11:30:00 UTC

[jira] [Work logged] (AMQ-8060) Attribute 'allowLinkStealing' is not allowed to appear in element 'transportConnector'.

     [ https://issues.apache.org/jira/browse/AMQ-8060?focusedWorklogId=532407&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-532407 ]

ASF GitHub Bot logged work on AMQ-8060:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 07/Jan/21 11:29
            Start Date: 07/Jan/21 11:29
    Worklog Time Spent: 10m 
      Work Description: jbonofre opened a new pull request #603:
URL: https://github.com/apache/activemq/pull/603


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 532407)
    Remaining Estimate: 0h
            Time Spent: 10m

> Attribute 'allowLinkStealing' is not allowed to appear in element 'transportConnector'.
> ---------------------------------------------------------------------------------------
>
>                 Key: AMQ-8060
>                 URL: https://issues.apache.org/jira/browse/AMQ-8060
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.16.0
>         Environment: Red Hat Linux
>            Reporter: Aleksandr Yaryna
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 5.17.0, 5.16.1, 5.15.15
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Hi All,
> We are trying to migrate from version 5.15.11 on 5.16.0.
> And we have faced with an error with loading the activemq.xml:
> 2020-10-28 20:27:13,271 | ERROR | Failed to load: class path resource [activemq.xml], reason: Line 126 in XML document from class path resource [activemq.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 126; columnNumber: 163; cvc-complex-type.3.2.2: Attribute 'allowLinkStealing' is not allowed to appear in element 'transportConnector'. | org.apache.activemq.xbean.XBeanBrokerFactory | main
>  org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 126 in XML document from class path resource [activemq.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 126; columnNumber: 163; cvc-complex-type.3.2.2: Attribute 'allowLinkStealing' is not allowed to appear in element 'transportConnector'.
> As I can see the problem is that we are using XML validation with referring on generic XSD, like this:
> {code:xml}
> <beans
>  xmlns="http://www.springframework.org/schema/beans"
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>  xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
>  http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd">{code}
> And allowLinkStealing attribute is absent in the new versions of the XSD (generic and activemq-core-5.16.0.xsd).
> While allowLinkStealing property is still available for Transport configuration why it was excluded from XSD?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)