Generic Connector Communication Error: Please check and adjust your setup: Ensure that Tomcat is running on given host and port. If this is a timeout error consider adjusting IIS timeout by changing executionTimeout attribute in web.config (see manual)."

What do you mean exactly by “invalidating” the session? Clearing all the data you’ve stored in the session scope (e.g. for logout)? Invalidating the session in such a manner, that additionaly the cftoken is renewed?