Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1558

Instance clone should be able to clone the root instance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0, 3.0.0
    • karaf
    • None

    Description

      The instance service doesn't allow to clone the root instance:

      if (instance.isRoot())

      { throw new IllegalArgumentException("Root instance cannot be cloned"); }

      if (instance.getPid() != 0)

      { throw new IllegalStateException("Instances not stopped"); }

      It doesn't make sense and the instance service should be able to start from the root instance.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: