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é (Created JIRA)" <ji...@apache.org> on 2012/04/19 13:24:42 UTC

[jira] [Created] (KARAF-1381) Use a history file per instance when possible

Use a history file per instance when possible
---------------------------------------------

                 Key: KARAF-1381
                 URL: https://issues.apache.org/jira/browse/KARAF-1381
             Project: Karaf
          Issue Type: New Feature
          Components: karaf-core, karaf-shell
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré
             Fix For: 2.3.0, 3.0.0


Currently, all instances launched with the same system user share the same history file ($USER/.karaf/history), so we got the commands runned on another instance.

A workaround is to use -Dkaraf.history property to use a history file specific to each instance. However, the user has to change the startup configuration to add this property.

When the instances are clearly identified (root, foobar, other, etc), Karaf could store the history file in a dedicated location by default, for instance:

$USER/.karaf/history.root
$USER/.karaf/history.foobar
$USER/.karaf/history.other

--
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-1381) Use a history file per instance when possible

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

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

    Assignee:     (was: Jean-Baptiste Onofré)
    
> Use a history file per instance when possible
> ---------------------------------------------
>
>                 Key: KARAF-1381
>                 URL: https://issues.apache.org/jira/browse/KARAF-1381
>             Project: Karaf
>          Issue Type: New Feature
>          Components: karaf-core, karaf-shell
>            Reporter: Jean-Baptiste Onofré
>             Fix For: 2.3.0, 3.0.0
>
>
> Currently, all instances launched with the same system user share the same history file ($USER/.karaf/history), so we got the commands runned on another instance.
> A workaround is to use -Dkaraf.history property to use a history file specific to each instance. However, the user has to change the startup configuration to add this property.
> When the instances are clearly identified (root, foobar, other, etc), Karaf could store the history file in a dedicated location by default, for instance:
> $USER/.karaf/history.root
> $USER/.karaf/history.foobar
> $USER/.karaf/history.other

--
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-1381) Use a history file per instance when possible

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

Jean-Baptiste Onofré updated KARAF-1381:
----------------------------------------

    Fix Version/s:     (was: 2.3.0)
                   2.3.1
    
> Use a history file per instance when possible
> ---------------------------------------------
>
>                 Key: KARAF-1381
>                 URL: https://issues.apache.org/jira/browse/KARAF-1381
>             Project: Karaf
>          Issue Type: New Feature
>          Components: karaf-core, karaf-shell
>            Reporter: Jean-Baptiste Onofré
>             Fix For: 2.3.1, 3.1.0
>
>
> Currently, all instances launched with the same system user share the same history file ($USER/.karaf/history), so we got the commands runned on another instance.
> A workaround is to use -Dkaraf.history property to use a history file specific to each instance. However, the user has to change the startup configuration to add this property.
> When the instances are clearly identified (root, foobar, other, etc), Karaf could store the history file in a dedicated location by default, for instance:
> $USER/.karaf/history.root
> $USER/.karaf/history.foobar
> $USER/.karaf/history.other

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (KARAF-1381) Use a history file per instance when possible

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

Christian Schneider updated KARAF-1381:
---------------------------------------

    Fix Version/s:     (was: 3.0.0)
                   3.1.0
    
> Use a history file per instance when possible
> ---------------------------------------------
>
>                 Key: KARAF-1381
>                 URL: https://issues.apache.org/jira/browse/KARAF-1381
>             Project: Karaf
>          Issue Type: New Feature
>          Components: karaf-core, karaf-shell
>            Reporter: Jean-Baptiste Onofré
>             Fix For: 2.3.0, 3.1.0
>
>
> Currently, all instances launched with the same system user share the same history file ($USER/.karaf/history), so we got the commands runned on another instance.
> A workaround is to use -Dkaraf.history property to use a history file specific to each instance. However, the user has to change the startup configuration to add this property.
> When the instances are clearly identified (root, foobar, other, etc), Karaf could store the history file in a dedicated location by default, for instance:
> $USER/.karaf/history.root
> $USER/.karaf/history.foobar
> $USER/.karaf/history.other

--
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] [Commented] (KARAF-1381) Use a history file per instance when possible

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284788#comment-13284788 ] 

Guillaume Nodet commented on KARAF-1381:
----------------------------------------

I was going to suggest to put it in the data dir, but I'm thinking how much i use the history after reinstalling karaf, so that would be a bad idea.
                
> Use a history file per instance when possible
> ---------------------------------------------
>
>                 Key: KARAF-1381
>                 URL: https://issues.apache.org/jira/browse/KARAF-1381
>             Project: Karaf
>          Issue Type: New Feature
>          Components: karaf-core, karaf-shell
>            Reporter: Jean-Baptiste Onofré
>             Fix For: 2.3.0, 3.1.0
>
>
> Currently, all instances launched with the same system user share the same history file ($USER/.karaf/history), so we got the commands runned on another instance.
> A workaround is to use -Dkaraf.history property to use a history file specific to each instance. However, the user has to change the startup configuration to add this property.
> When the instances are clearly identified (root, foobar, other, etc), Karaf could store the history file in a dedicated location by default, for instance:
> $USER/.karaf/history.root
> $USER/.karaf/history.foobar
> $USER/.karaf/history.other

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