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
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
Marshal

Joined: Mar 22, 2005
Posts: 41867
    
  63
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.


Ping & DNS - my free Android networking tools app
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: 12788
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ContextManager: Assertion failed: container==null (no Default Context?)