Docker is complete overkill for simple deployments.
If you run on Linux, writing a simple systemd unit file is sufficient
and does the job very well. Such a file probably is about 5-10 lines long.
On 22/07/16 14:18, Peter Kriens wrote:
> I find Docker quite perfect for this purpose. Creating a docker image
> from an executable JAR is less than trivial.
>
> For clusters I then use Kubernetes, it hides the remaining differences
> between deployment models. Its service model maps very well to OSGi
> services and is far superior to anything I’ve seen so far. Especially
> now the Pet Sets are working. Now I’ve got a cluster setup on Google it
> is trivial to experiment with all kinds of configurations and service
> models. I find it very impressive.
>
> Someone is working for a Docker OSGi enRoute example application note or
> tutorial and I hope we can include a story for Kubernetes as well.
>
> Kind regards,
>
> Peter Kriens
>
>
>
>
>> On 22 jul. 2016, at 13:23, Paul F Fraser <
pa...@a2zliving.com
>> <mailto:
pa...@a2zliving.com>> wrote:
>>
>> Some of the methods for auto restarting an osgi executable jar after a
>> reboot are
>>
>> * use .bat script in windows startup dir
>> * run as daemon in linux
>> * use java service wrapper in win, linux and osx
>> * yajsw is a bit too heavy
>> * apache Procrun and jsvc are a bit of a challenge.
>>
>> Is it considered necessary to run as a service/daemon?
>>
>> Java service wrapper is fairly expensive if win64 required as it is
>> not available in the community version.
>>
>> The old open 32 bit jsw might be suitable but not sure it works OK in
>> 64 bit systems.
>>
>> Any reports on successful techniques used in the wild would be most
>> appreciated.
>>
>> Regards
>>
>> Paul Fraser
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "bndtools-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to
bndtools-user...@googlegroups.com
>> <mailto:
bndtools-user...@googlegroups.com>.
> --
> You received this message because you are subscribed to the Google
> Groups "bndtools-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
bndtools-user...@googlegroups.com
> <mailto:
bndtools-user...@googlegroups.com>.
--
Ferry Huberts