Hi Ioannis,
Good to be here! :) I'm using FuseESB on this one,
same version as latest Fabric download in main repo. Child is simply
refusing to start.
Here's a list of the commands to recreate the issue:
FuseESB:karaf@root> fabric:create
No user found in etc/users.properties or specified as an option. Please specify one ...
...
FuseESB:karaf@root> fabric:container-default-jvm-options XX:MaxPermGen=192m
FuseESB:karaf@root> fabric:container-create-child root sub 1
The following containers have been created successfully:
Container: sub.
FuseESB:karaf@root> container-list
[id] [version] [alive] [profiles] [provision status]
root* 1.0 true fabric, fabric-ensemble-0000-1, fuse-esb-medium success
sub 1.0 false default
Logs
attached for root only - child doesn't start, so there's nothing there.
Everything works fine if that container-default-jvm-options command is
not issued. Let me know if there are any logging levels that I should
bump up if you can't recreate. I have reproduced this on another system.
Just guessing, but since the flag is usually set via
-XX:MaxPermGen it may have to do with that. The command line complained
when I tried to escape the '-' in a number of ways, but the console
complained:
Error executing command fabric:container-default-jmv-options undefined option -XX:MaxPermGen=192m
I presumed XX:MaxPermGen was the way to go.
Jakub