Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-2510

JGroups cannot parse the standard tcp.xml anymore

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Blocker
    • 4.2.9
    • 4.2.7
    • None
    • False
    • False
    • Undefined
    • Hide

      Remove the version attribute from the XML, or set it to the correct version (e.g. 4.2.8.Final)

      Show
      Remove the version attribute from the XML, or set it to the correct version (e.g. 4.2.8.Final)

    Description

      When upgrading from 4.2.6 to 4.2.7 I get the following exception:

       

      ...
      
       Caused by: java.io.IOException: JGRP000004: parsing failure; the XML document is not correct: failed parsing version '${version}': java.lang.IllegalStateException: No match found
       at org.jgroups.conf.XmlConfigurator.parse(XmlConfigurator.java:142)
       at org.jgroups.conf.XmlConfigurator.getInstance(XmlConfigurator.java:45)
       at org.jgroups.conf.XmlConfigurator.getInstance(XmlConfigurator.java:41)
      
      ...
      
      

       

      with something equivalent to

       

      XmlConfigurator.getInstance(ConfiguratorFactory.getConfigStream("tcp.xml"))
      
      

       

      Works fine in 4.2.6.

      Attachments

        Activity

          People

            rhn-engineering-bban Bela Ban
            tmortagne Thomas Mortagne (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: