Re: Scheduled WOApps not scheduled
Re: Scheduled WOApps not scheduled
- Subject: Re: Scheduled WOApps not scheduled
- From: "Jerry W. Walker" <email@hidden>
- Date: Thu, 27 Apr 2006 12:56:12 -0400
Hi, Wolfram,
On Apr 27, 2006, at 3:37 AM, Wolfram Stebel wrote:
Hi List,
i have a WOApp running in 7 instances. Each night i scheduled one
of them to
restart at 3AM.
When i come to the server in the morning, one instance (the
scheduled one)
shows "refuse new session=ON" but there is no new log for the instance
showing up after restart.
So i suspect that the restart failes, only the refuse is set and
nothing
more.
How can i find out more about the scheduling?
Did not find any log yet...
You can get more information about any of the JavaMonitor settings by
clicking the Help tab on the top of the JavaMonitor page.
It sounds like you might have Minimum Active Sessions set greater
than zero and either some of your users are continuing to use their
sessions so they don't terminate, or the Session Timeout is set to a
large number and the sessions are simply not timing out.
For more info you might check the APIs for the following methods in
Application:
public void refuseNewSessions(boolean aVal)
public boolean isRefusingNewSessions()
public int minimumActiveSessionsCount()
public int activeSessionsCount()
You might try overriding refuseNewSessions(boolean aVal) and use it
to start a timer that logs the activeSessionsCount() periodically to
see if sessions are hanging around.
You might also override Application's terminate() method and log a
message to confirm that it is or is not being invoked.
Regards,
Jerry
--
__ Jerry W. Walker,
WebObjects Developer/Instructor for High Performance Industrial
Strength Internet Enabled Systems
email@hidden
203 278-4085 office
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden