Results 1 to 2 of 2

Thread: Windows Service Stop - Shutdown hook not triggered

  1. #1
    Join Date
    Apr 2012
    Posts
    4

    Windows Service Stop - Shutdown hook not triggered

    Windows Service and java shutdown hook
    When you stop the windows service created by Install Anywhere, it does NOT trigger the shutdown hook.

    Any suggestion to overcome this?

  2. #2
    Join Date
    Feb 2011
    Posts
    66
    Hi pasamy,

    Any Service which Installanywhere either creates or Runs/Stops does not have a shutdown hook associated with it.

    The alternative is that u can add windows Restart action wherever it should be applicable as per your requirement and Set rules to perform at certain conditions.

    Hope this Helps!

    Thanks,
    Madhav Pai

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •