wood burning stoves 2.0*
The moose likes Tomcat and the fly likes WARNING  Context manager doesn't exist Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "WARNING  Context manager doesn Watch "WARNING  Context manager doesn New topic

WARNING Context manager doesn't exist

Indika Maligaspe

Joined: Sep 15, 2004
Posts: 3
Hi All,
I am using tomcat 5.0.27 as a three-node cluster. I am having a system where I use a login box and the UserName and PassWord I keep in a session object.
The Problem I am having is that after some time I get the message

WARNING: Context manager doesn't exist

And I cannot use the session objects. My session object becomes null.
Even if I try to use a new browser window and try to re-login that also gives the same error.

If my existing session expires then I can understand as my session might get expired due the expire duration set in the web.xml file.

But the problem lies even a new session cannot be created, as all sessions become null.

When I re-start the cluster, for a while it is ok, then the session gets destroyed and it becomes null.

How ever If I shut down the cluster and run the system as a single Node tomcat instance, then everything is ok. So is what I am experiencing a cluster problem.
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24183

As this sounds like a Tomcat-specific problem, 'm going to move this to our Apache/Tomcat forum.

[Jess in Action][AskingGoodQuestions]
Consider Paul's rocket mass heater.
subject: WARNING Context manager doesn't exist
Similar Threads
Prevent multiple concurrent logins from same user in clustered env
Tomcat 6 Cluster Woes
Test 252: Mock exam
Killing session when closing the browser
Problem replicating ServletContext in the clustered environment