wood burning stoves 2.0*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
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 - updated with new look and Ping home screen widget
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: 12678
    
    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


Java Resources at www.wbrogden.com
 
 
subject: ContextManager: Assertion failed: container==null (no Default Context?)
 
Similar Threads
SOAP and tomcat 3.2.1
Missing application web.xml, using defaults only
tomcat 404 error
Urgent Help Required: Not able to run JSP
Tomcat engine problem