You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by tvogel <tv...@msn.com> on 2020/01/06 02:20:18 UTC

How to autostart an instance?

I have created and configured a new instance in my karaf server (4.0.10). 
What is the recommended way to start this instance when the root instance is
started?




--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: How to autostart an instance?

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Tim,

it makes sense. Thanks for the proposal.

I created the following Jira:

https://issues.apache.org/jira/browse/KARAF-6576

As it's pretty easy to do, I will include this in the coming Karaf 4.2.8
release.

Regards
JB

On 06/01/2020 17:27, tvogel wrote:
> JB,
>   An option to autostart by instance would be great.  This would be
> especially helpful in the case of docker.  Two OS level commands will
> require a script that forwards signals sent by docker to each instance
> started.
> 
>  Tim
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: How to autostart an instance?

Posted by tvogel <tv...@msn.com>.
JB,
  An option to autostart by instance would be great.  This would be
especially helpful in the case of docker.  Two OS level commands will
require a script that forwards signals sent by docker to each instance
started.

 Tim



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: How to autostart an instance?

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

the instances are completely isolated: there's no dependency between the
root instance and another instance.

For example, you can start the instance with bin/instance start while
the root instance is not started.

I can add an option to start all instances when the instance service is
starting. Thoughts ?

Regards
JB


On 06/01/2020 03:20, tvogel wrote:
> I have created and configured a new instance in my karaf server (4.0.10). 
> What is the recommended way to start this instance when the root instance is
> started?
> 
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com