Menu

#139 wrapper.on_exit.default=RESTART

v3.2.1
closed-fixed
5
2006-10-17
2006-10-06
Anonymous
No

Running on Linux (MDK 2006.0 and earlier at least)
under JRockit 1.5.0_04 (R26.0.0) this feature appears
not to work at all. It DID at one time, however with
this setting in the wrapper config file when the
wrapped java program calls System.exit(0) or any of the
wrapper manager restart methods I simply get:

wrapper | <-- Wrapper Stopped

instead of any attempt by the wrapper to restart JVM.
In all other respects things seem to work fine. The
previous version of our program used an older version
of the service wrapper and seemed to work great, it
could shut itself down at the end of each day and a new
copy would get started. I CAN simply run the same
instance of the program forever (custom network
service), but ideally I'd feel better if I could
restart it once a day just to give it a fresh start in
case of problems.

Besides, if it ever DOES crash, it really does need to
restart ASAP...

Discussion

  • Leif Mortenson

    Leif Mortenson - 2006-10-14

    Logged In: YES
    user_id=228081

    There a was a bug in the way shutdown JVMs were being
    detected which was causing this on some systems. I made
    some changes for the 3.2.2 release which should have
    resolved this. Could you give the 3.2.2 release a try?

    Cheers,
    Leif

     
  • Leif Mortenson

    Leif Mortenson - 2006-10-14
    • assigned_to: nobody --> mortenson
    • status: open --> open-fixed
     
  • Leif Mortenson

    Leif Mortenson - 2006-10-17
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.