Unable to parse endpoint XML definition in JBoss EAP 7.1

Solution Verified - Updated -

Issue

Unable to parse endpoint XML definition if more than one connection is configured. For example, in the case a client side wildfly-config.xml file with the following endpoint configuration:

    <endpoint xmlns="urn:jboss-remoting:5.0">
        <connections>
            <connection destination="remote+http://localhost:8080" read-timeout="20000" write-timeout="20000" heartbeat-interval="10000"/>
            <connection destination="remote+http://localhost:8380" read-timeout="20000" write-timeout="20000" heartbeat-interval="10000"/>
        </connections>
    </endpoint>

It will fall with a ConfigXMLParseException on the server.log as:

org.wildfly.client.config.ConfigXMLParseException: CONF0005: Unexpected element "connection" in namespace "urn:jboss-remoting:5.0" encountered
  at jar:http://host:8080/app/client.jar!/wildfly-config.xml:6:142

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content