aspose file tools
The moose likes Tomcat and the fly likes ContextManager: Assertion failed: container==null (no Default Context?) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "ContextManager: Assertion failed: container==null (no Default Context?)" Watch "ContextManager: Assertion failed: container==null (no Default Context?)" New topic
Author

ContextManager: Assertion failed: container==null (no Default Context?)

Srinivasa Kadiyala
Ranch Hand

Joined: Jun 10, 2004
Posts: 237
I am getting the error as mentioned below when I am running Tomcat 3.3.1

ContextManager: Assertion failed: container==null (no Default Context?)

Appreciate help

Thanks


Srini
Srinivasa Kadiyala
Ranch Hand

Joined: Jun 10, 2004
Posts: 237
Can any one help me on this matter?
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42954
    
  73
Unlikely. You're using software that's been deprecated for years, and you provide next to no detail on what exactly it is you're doing.
Srinivasa Kadiyala
Ranch Hand

Joined: Jun 10, 2004
Posts: 237
Hi Ulf

There is a project that needs to be upgraded and I started working on that.

The existing web app is on Tomcat 3.1 and I have taken the src code and put in my sand box. I would like to see the app behavior logic and functionality beforeI recode.

Rebuild- OK( JDK 1.3)

when I am running the project I am getting the above mentioned error.

I am stuck here .......
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12869
    
    5
ContextManager: Assertion failed: container==null (no Default Context?)

As I recall, you can get that if the init method uses the form
init( ServletConfig config )
but fails to call the super init method to transmit the config to the base class.
See the docs for javax.servlet.http.GenericServlet
Bill
 
Don't get me started about those stupid light bulbs.
 
subject: ContextManager: Assertion failed: container==null (no Default Context?)