You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2011/06/10 12:46:59 UTC

[jira] [Commented] (KARAF-624) admin:stop command behavior not correct

    [ https://issues.apache.org/jira/browse/KARAF-624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13047129#comment-13047129 ] 

Christian Schneider commented on KARAF-624:
-------------------------------------------

I debugged the code.
In admin core InstanceImpl is used to shut down the test instance. There it reads the port file from the properties and sends the shutdown command. 
The problem is that the karaf.shutdown.port.file property points to the port file of the main instance of karaf. So karaf shuts down itself. It seems that while loading a property file parameters are already replaced. 
Perhaps based in System properties?


> admin:stop command behavior not correct
> ---------------------------------------
>
>                 Key: KARAF-624
>                 URL: https://issues.apache.org/jira/browse/KARAF-624
>             Project: Karaf
>          Issue Type: Bug
>          Components: runtime
>    Affects Versions: 3.0.0
>            Reporter: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>
> When using admin commands, like this:
> admin:create test
> admin:start test
> admin:list (to see if the test instance is started)
> After admin:stop test disconnect the shell from the root instance. It should stay on the root instance shell and only the stop the test instance.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira