Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3462

wildfly host controller reading the host.xml from namespace version 1.5 will fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 9.0.0.Beta1
    • Management
    • None
    • Hide

      Installed current build of master (today) on two nodes.

      Previously had 2 nodes with EAP 6.2, one of them configured to use a remote DC

      copy the host.xml from the 6.2 to the wildfly host controller and start the wildfly HC

      https://bugzilla.redhat.com/show_bug.cgi?id=1105522

      org.jboss.as.host.controller.parsing;
      public class HostXml extends CommonXml {
      ...
      private void parseDomainController(...

      line 855:

      case DOMAIN_1_5:

      { parseRemoteDomainController2_0(reader, address, expectedNs, list, false); }

      default: {
      parseRemoteDomainController2_0(reader, address, expectedNs, list, true);
      break;

      => missing break in the DOMAIN_1_5 and the parseRemoteDomainController2_0 method gets called a second time.

      Will do a pull request right now

      Show
      Installed current build of master (today) on two nodes. Previously had 2 nodes with EAP 6.2, one of them configured to use a remote DC copy the host.xml from the 6.2 to the wildfly host controller and start the wildfly HC https://bugzilla.redhat.com/show_bug.cgi?id=1105522 org.jboss.as.host.controller.parsing; public class HostXml extends CommonXml { ... private void parseDomainController(... line 855: case DOMAIN_1_5: { parseRemoteDomainController2_0(reader, address, expectedNs, list, false); } default: { parseRemoteDomainController2_0(reader, address, expectedNs, list, true); break; => missing break in the DOMAIN_1_5 and the parseRemoteDomainController2_0 method gets called a second time. Will do a pull request right now
    • Low

      current wildfly fails to load host.xml with namespace 1.5

              tfonteyn Tom Fonteyne (Inactive)
              tfonteyn Tom Fonteyne (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: