You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by "Aled Sage (JIRA)" <ji...@apache.org> on 2014/11/26 11:45:12 UTC

[jira] [Commented] (BROOKLYN-93) Entity is removed from the gui after being stopped

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

Aled Sage commented on BROOKLYN-93:
-----------------------------------

This is because brooklyn was not launched with `--persist auto`, to tell it to persist details of the entities launched. With persistence enabled, then when you re-launch brooklyn it will bind to the existing persisted state. By default, that state is written to the file system in `~/.brooklyn/brooklyn-persisted-state/data` I believe.

I think it's time we changed the default for persistence to `auto` rather than `disabled`!

[~alex.heneveld] any opinions on us doing that now? I think we'd do it in `brooklyn.cli.Main` so it shouldn't affect tests, but it might well break some entities (and downstream projects) that have not been thoroughly tested with persistence+rebind. This is a good (if extreme!) way of finding and fixing those!

> Entity is removed from the gui after being stopped
> --------------------------------------------------
>
>                 Key: BROOKLYN-93
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-93
>             Project: Brooklyn
>          Issue Type: Bug
>    Affects Versions: 0.7.0-M1
>            Reporter: Hadrian Zbarcea
>
> I started ActiveMQ from the gui using a simple yaml, the basic stuff, all works fine. However, if I stop it from the gui (stops fine) it is also removed from the gui with no possibility to restart. The installed app is not removed from the target location (which is I assume expected).
> Is this the intended behavior? I would suspect not.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)