karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Created] (KARAF-1558) Instance clone should be able to clone the root instance
Date Mon, 18 Jun 2012 08:17:42 GMT
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

       

Mime
View raw message