File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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: 24195

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

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: WARNING Context manager doesn't exist
It's not a secret anymore!