Karaf
  1. Karaf
  2. KARAF-1558

Instance clone should be able to clone the root instance

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0, 3.0.0
    • Component/s: karaf-instance
    • Labels:
      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.

        Activity

        Jean-Baptiste Onofré created issue -
        Jean-Baptiste Onofré made changes -
        Field Original Value New Value
        Assignee Jean-Baptiste Onofré [ jbonofre ]
        Jean-Baptiste Onofré made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Jean-Baptiste Onofré made changes -
        Component/s karaf-instance [ 12315005 ]
        Jean-Baptiste Onofré made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        1d 7h 5m 1 Jean-Baptiste Onofré 19/Jun/12 16:21
        In Progress In Progress Resolved Resolved
        30d 21m 1 Jean-Baptiste Onofré 19/Jul/12 16:42

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development