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.