Yes, I'm creating a Scheduler instance. 
I didn't know I was supposed to use the one from the application.
Is it normal that a scheduler instance automatically does session sweeping?
Shouldn't the application create the task explicitely?

I have now fixed my code to use the existing scheduler.
Shouldn't you remove the previous fixes then?

Thanks for the hint.



On Thu, Dec 6, 2012 at 12:23 PM, Christoph Zwerschke <cito@online.de> wrote:
Am 06.12.2012 10:59, schrieb Sophana K:
> I have some tasks scheduled every 30m and 24h.
> I did nothing special about the session sweeper. Are they related to
> taskKit?

The session sweeper thread is started by the Application instance using
its own instance of the TaskKit scheduler, available as
Application.taskManager(). Do you use that scheduler instance or do you
use your own? To me it looks as if you're either running the session
sweeper twice or one of your tasks is doing something with the session
store of the application. Otherwise you shouldn't see that error.

-- Christoph

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss