On Wed, Mar 4, 2009 at 12:26 AM, Toni Menzel <t...@okidokiteam.com> wrote:
> Joseph, > > i am not quite sure what you are looking for, because this was implemented > in the last pax runner release. > As Alin described, this was something we needed for Pax Exam 0.3.0 as well > (programmatic shutdown). I am happy that the shutdown feature is now available inthe Pax Runner. I can look into the API and ask here for any clarifications. BTW, I am in an effort to daemonise pax-runner (or rather any java program), and will be committing my effort shortly in my lab.... > > > Well, both, Runner & Exam are released. You can find API in > org.ops4j.pax.runner.platform.DefaultJavaRunner. > > If you need more, do not hesitate to ask. > > (excecept i misunderstood the conversation between you and Alin) > > cheers, > Toni > > On Tue, Mar 3, 2009 at 7:40 PM, Thomas Joseph <open4tho...@gmail.com>wrote: > >> Alin, >> >> Now that the pax-runner was released recently, did you had a chance to >> work on the programmatic clean shutdown option? >> >> On Thu, Feb 19, 2009 at 10:34 PM, Thomas Joseph <open4tho...@gmail.com>wrote: >> >>> Happy on the coincidence!! :) >>> >>> >>> On Thu, Feb 19, 2009 at 10:24 PM, Alin Dreghiciu >>> <adreghi...@gmail.com>wrote: >>> >>>> 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 >>>> >>> >>> -- >>> -- >>> Thanks and Regards, >>> >>> Thomas Joseph >>> >>> LinkedIn: http://www.linkedin.com/in/ethomasjoseph >>> ------------------------------------------------------------ >>> Promote Open Source - Promote Liberty of Ideas and Software. >>> ------------------------------------------------------------ >>> >> >> -- >> -- >> 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 >> >> > > > -- > Toni Menzel > Software Developer > t...@okidokiteam.com > > http://www.ops4j.org - New Energy for OSS Communities - Open > Participation Software. > > _______________________________________________ > general mailing list > general@lists.ops4j.org > http://lists.ops4j.org/mailman/listinfo/general > > -- -- 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