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/18 10:17:42 UTC

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

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

             Summary: 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é
             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

       

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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

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

       

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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ 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

       

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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-1558.
-----------------------------------------

    Resolution: Fixed
    
> 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

       

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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ 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