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

Cannot use deployments with same runtime-name in a domain

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.0.0.CR1
    • None
    • Management
    • None

    Description

      The check for duplicate runtime-name in a server group on startup is too aggressive. It is incorrectly throwing an error on startup if there are any duplicate runtime-names in the whole domain, instead of just in a single server group.

      Steps to Reproduce:

      1. Start a single HC/DC
      2. deploy --name=foo1 --runtime-name=bar --disabled testfile
      3. deploy --name=foo2 --runtime-name=bar --disabled testfile
      4. restart the DC/HC

      Actual results:

      JBAS010932: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014676: Failed to parse configuration
      ...
      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1348,9]
      ...
      Message: JBAS014664: An element of this type named 'bar' has already been declared

      Expected results:

      No errors

      Attachments

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: