[ 
https://issues.apache.org/jira/browse/KARAF-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated KARAF-1558:
----------------------------------------

    Component/s: karaf-instance
    
> Instance clone should be able to clone the root instance
> --------------------------------------------------------
>
>                 Key: KARAF-1558
>                 URL: https://issues.apache.org/jira/browse/KARAF-1558
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-instance
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.3.0, 3.0.0
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to