Hey all - pulling my hair out a bit here. I am running Spring atop tomcat 6 and am using ThreadPoolTaskExecutors in some places.
As soon as I enabled clustering on tomcat, I quickly saw a lot of exceptions in the logs such that ThreadPoolTaskExecutor is not serializable... NotSerializableException.
My question is, why is tomcat trying to serialize this object? Does the ThreadPoolTaskExecutor use something in the session such that tomcat would need to, or think it needs to? If so, are there any implementations of TaskExecutor that wouldn't throw this exception?
Thanks all. This is the last thing preventing us from setting up a working cluster. Thanks again ..