• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WARNING Context manager doesn't exist

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As this sounds like a Tomcat-specific problem, 'm going to move this to our Apache/Tomcat forum.
 
He does not suffer fools gladly. But this tiny ad does:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic