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 PROTECTED]
    203 278-4085        office



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to