felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-1815) [Karaf] Introduce 'admin:disconnect' command to allow ssh client to disconnect from karaf instances.
Date Tue, 27 Oct 2009 19:08:59 GMT

    [ https://issues.apache.org/jira/browse/FELIX-1815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770612#action_12770612
] 

Guillaume Nodet commented on FELIX-1815:
----------------------------------------

I think the use of ^D is consistent: it kills the current shell.  The point is that the 'main'
shell which is started when launching a karaf instance is tied to the lifecycle of the osgi
framework, so whenever you exit this shell, the framework will be shutdown.  This is the case
for the root instance and sub-instances if you launch those using bin/karaf.  But this is
not the case if you connect to whatever instance using a client.

I do agree with introducing a command to explicitely exit the shell, but i'd rather call it
'shell:exit' or 'shell:logout'.  Another point to discuss would be to untie the lifecycle
of the osgi framework from the lifecycle of the main shell (the one accessible when using
bin/karaf).  

Thoughts ?

> [Karaf] Introduce 'admin:disconnect' command to allow ssh client to disconnect from karaf
instances.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-1815
>                 URL: https://issues.apache.org/jira/browse/FELIX-1815
>             Project: Felix
>          Issue Type: New Feature
>          Components: Karaf
>            Reporter: Jamie goodyear
>            Priority: Minor
>
> [Karaf] Introduce 'admin:disconnect' command to allow ssh client to disconnect from karaf
instances.
> When a user connects to a running Karaf instance they generally will want to disconnect
from that instance at some time. If they execure 'osgi:shutdown' they will terminate the instance
runtime. Issuing a '^D' to disconnect is not consistent with other karaf commands. I would
like to be able to type 'admin:disconnect' while logged into an instance and be returned to
parent instance (where ever the original connect command was issued from).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message