You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2012/06/19 17:21:43 UTC

[jira] [Work started] (KARAF-1558) Instance clone should be able to clone the root instance

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

Work on KARAF-1558 started by Jean-Baptiste Onofré.

> 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
>            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