• 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
Rép : Re: Exception : Cannot refuse new sessions when in development mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Rép : Re: Exception : Cannot refuse new sessions when in development mode


  • Subject: Rép : Re: Exception : Cannot refuse new sessions when in development mode
  • From: Raymond NANEON <email@hidden>
  • Date: Tue, 11 Sep 2012 09:38:52 +0000 (GMT)

Hi Pascal,

WODirectConnectEnabled and development mode is not the same… Are you setting er.extensions.ERXApplication.developmentMode to true by any chance?

==> I don't have er.extensions.ERXApplication.developmentMode in my properties file

Make sure that in the scheduling, that "Graceful Scheduling" is unchecked.

==> Ok I see, in my case I have checked "Graceful Scheduling" in the scheduling.

And if your app is monitored by a service like Nagios or a similar tool, make sure that either the check is done for a direct action or a REST route that is NOT creating or using a session, or just don't do the check at 3am.

===> I use jConsole for monitoring so I think I have nothing to do.
Envoyé depuis iCloud

Le 11 sep 2012 à 02:30, Pascal Robert <email@hidden> a écrit :


Le 2012-09-11 à 03:06, Raymond NANEON <email@hidden> a écrit :

> Hi List,
>
> I have a little problem that apppears each day at 3AM when my app instance restart. I have this exception :
>
> Une exception est survenue ...
> Elle provient de la machine qui a l'ip
> *inconnue*
>
> La personne qui a provoqué l'erreur est : ????????]
> sessionId = xkrtsg4hOzVBiMA2R8uk2M
>
>
>
> Trace de l'exception :
>
> null
>
>
>
> Cause by :Cannot refuse new sessions when in development mode (direct connect enabled)
>
>
>
> I put the WODirectConnectEnabled to false, but nothing happens, I changed to true but it's the same case.

WODirectConnectEnabled and development mode is not the same… Are you setting er.extensions.ERXApplication.developmentMode to true by any chance?

Make sure that in the scheduling, that "Graceful Scheduling" is unchecked.

And if your app is monitored by a service like Nagios or a similar tool, make sure that either the check is done for a direct action or a REST route that is NOT creating or using a session, or just don't do the check at 3am.
 _______________________________________________
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

  • Follow-Ups:
    • Rép : Re: Exception : Cannot refuse new sessions when in development mode[RESOLVED]
      • From: Raymond NANEON <email@hidden>
References: 
 >Re: Exception : Cannot refuse new sessions when in development mode (From: Pascal Robert <email@hidden>)

  • Prev by Date: Rép : Re: Rewrite WO app URL
  • Next by Date: Re: WOWorkerThread deadlocks
  • Previous by thread: Re: Exception : Cannot refuse new sessions when in development mode
  • Next by thread: Rép : Re: Exception : Cannot refuse new sessions when in development mode[RESOLVED]
  • Index(es):
    • Date
    • Thread