• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Detecting crash and autorestart
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting crash and autorestart


  • Subject: Re: Detecting crash and autorestart
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 13 Aug 2003 11:14:42 -0700

Hi,

At 12:19 AM 13/08/2003 +0200, DevReseune wrote:
>Hi,
>
>My application crashed sometimes (I don't know why). It was not
>terminated, it ran again with too many theads, but it couldn't response
>to request.
>
That sounds like deadlock, not a crash.  Which version of WO?  Upgrade if
possible.


>So I want wotaskd restarts a crashed instance,
>
That is not a crash, that is deadlock.

>and I set
>the "autorecover" option of my instance in JavaMonitor. I didn't detect
>new crash since I do that, but I'm not sure is because wotaskd detects
>crash and do all necessary jobs.
>
wotaskd detects the JVM terminating and sometimes hung instances.

>My question is: can wotaskd kill an instance (on Unix "kill
>applicationId")
No.

>or am I lucky and no new crash arrives?
Yes.


>Indeed, I didn't see any line to kill an instance in WO source code
>But, we haven't the sources, naturally! ;-)
>
WOApplication.application().terminate();

There are some frameworks WOSepuku, wOHarakiri?) in Project Wonder that
will allow an app that is in trouble to terminate.


Chuck


--

Chuck Hill                                 email@hidden
Global Village Consulting Inc.             http://www.global-village.net
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Detecting crash and autorestart
      • From: DevReseune <email@hidden>
References: 
 >Detecting crash and autorestart (From: DevReseune <email@hidden>)

  • Prev by Date: Re: Deployment with Eclipse [NEWBIE]
  • Next by Date: Re: hardcoded DirectActions URL
  • Previous by thread: Detecting crash and autorestart
  • Next by thread: Re: Detecting crash and autorestart
  • Index(es):
    • Date
    • Thread