Uploaded image for project: 'JBoss Remoting (3+)'
  1. JBoss Remoting (3+)
  2. REM3-329

Unable to parse endpoint XML definition if more than one connection is configured

    XMLWordPrintable

Details

    • Hide

      Create a client side wildfly-config.xml file with the endpoint configuration mentioned in the description and enable TRACE level logging for the category org.jboss.remoting.remote

      Show
      Create a client side wildfly-config.xml file with the endpoint configuration mentioned in the description and enable TRACE level logging for the category org.jboss.remoting.remote

    Description

      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>
      

      fails with a ConfigXMLParseException and logs:

      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
      

      in TRACE level.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-jbaesner Joerg Baesner
              rhn-support-jbaesner Joerg Baesner
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: