Coincidence! :)

I'm looking into the same think related to a problem I have in Pax
Exam. I will keep you posted.

On Thu, Feb 19, 2009 at 5:46 PM, Thomas Joseph <open4tho...@gmail.com> wrote:
> Hi Guys,
>
> I was looking onto how I could shut down the Pax-Runner programmatically in
> a graceful manner (without killing the process).
> Especially when I run with noConsole option, or as a nohup(ed) process in
> *nix, I have no way to gracefully stop the process. The programmatic
> shutdown should be similar to the framework shutdown command issued in a
> OSGi platform's console.
>
> I looked into org.ops4j.pax.runner.platform.internal.PlatformImpl, where the
> shutdown hool actually kills the process with process.destroy(). Is this
> shutdown hook just fine to be used? Is there any side-effect if I would just
> kill the main pax-runner process, just as the platform process is destroyed?
>
> Could someone provide insight into this?
>
> --
> Thanks and Regards,
>
> Thomas Joseph
>
> LinkedIn: http://www.linkedin.com/in/ethomasjoseph
> ------------------------------------------------------------
> Promote Open Source - Promote Liberty of Ideas and Software.
> ------------------------------------------------------------
>
> _______________________________________________
> general mailing list
> general@lists.ops4j.org
> http://lists.ops4j.org/mailman/listinfo/general
>
>



-- 
Alin Dreghiciu
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.
http://www.codedragons.com - New Energy for Projects - Great People
working on Great Projects at Great Places
Sent from: Nijmegen Ge Netherlands.

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to