[jboss-jira] [JBoss JIRA] (WFLY-3461) wildfly 8.x host controller reading the host.xml from namespace version 1.5 will fail

Tom Fonteyne (JIRA) issues at jboss.org
Fri Jun 6 06:58:15 EDT 2014


     [ https://issues.jboss.org/browse/WFLY-3461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Fonteyne updated WFLY-3461:
-------------------------------

    Steps to Reproduce: 
Installed current build of 8.x (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 8.x host controller and start the 8.x 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

  was:
Installed current build of 6.x (today) on two nodes.

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

copy the host.xml from the 6.2 to the 6.3 host controller and start the 6.3 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



> wildfly 8.x host controller reading the host.xml from namespace version 1.5 will fail
> -------------------------------------------------------------------------------------
>
>                 Key: WFLY-3461
>                 URL: https://issues.jboss.org/browse/WFLY-3461
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Domain Management
>    Affects Versions: 8.2.0.CR1
>            Reporter: Tom Fonteyne
>            Assignee: Tom Fonteyne
>
> current wildfly fails to load host.xml with namespace 1.5



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jboss-jira mailing list