[
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