tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dino Cherian K <ini...@yahoo.com>
Subject [INIMSS] Problem with configuration. ContextManager: Assertion failed: container==null
Date Fri, 22 Feb 2002 07:24:17 GMT
Hi

Please help me ASAP.

Anybody please help me in finding the reason for the error at the end of the 
below tomcat.log extract.

Why this error occurs

ContextManager: Assertion failed: container==null (no Default Context?)       
         2002-02-19 21:33:25 - Ctx() : Status code:404 request:R( /test.jsp) 
msg:null

I tried to fetch the URL http://192.168.1.100/test.jsp and the output was 

Not Found (404)
Original request: /test.jsp 
Not found request: /test.jsp

(The 192.168.1.100 is the ip of mydomain.com)

=====================================================================
I am including the parts of the configuration files that I touched.
=====================================================================

---------------------------------------------------------------------

I am using tomcat3-3.3a-2 and apache-1.3.19-5

---------------------------------------------------------------------
                         apps-mydomain.xml
---------------------------------------------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<Server>
    <Host name="mydomain.com" address="192.168.1.100">
        <Alias name="www.mydomain.com"/>
        <Context path="" docBase="/usr/www/mydomain" reloadable="true" 
trusted="true"/>
    </Host>
</Server>

---------------------------------------------------------------------
                             httpd.conf
---------------------------------------------------------------------
<VirtualHost 192.168.1.100>
    ServerName mydomain.com
    ServerAlias www.mydomain.com
    ServerAdmin webmaster@mydomain.com
    DocumentRoot /usr/www/mydomain
    Options Includes IncludesNOEXEC MultiViews Indexes FollowSymlinks 
SymLinksIfOwnerMatch

    JkMount /servlet/* ajp12
    JkMount /*.jsp ajp12
    <Location "/WEB-INF/">
        AllowOverride None
        deny from all
    </Location>

    ErrorLog logs/mydomain-error_log
    CustomLog logs/mydomain_log common
</VirtualHost>
---------------------------------------------------------------------
  No other modifications of conf files were made for the website.
---------------------------------------------------------------------


Thank You
Dino CK

---- ----

2002-02-19 21:32:19 - SessionIdGenerator: Opening /dev/urandom                
                               2002-02-19 21:32:19 - ServerXmlReader: 
Config=$TOMCAT_HOME/conf/server.xml                                   
2002-02-19 21:32:19 - PathSetter: install=/var/tomcat3                        
                               2002-02-19 21:32:19 - PathSetter: 
home=/etc/tomcat3                                                          
2002-02-19 21:32:19 - ContextXmlReader: Context 
config=$TOMCAT_HOME/conf/apps-127.0.0.1.xml                  2002-02-19 
21:32:19 - ContextXmlReader: Context config=$TOMCAT_HOME/conf/apps-admin.xml  
                    2002-02-19 21:32:19 - ContextXmlReader: Context 
config=$TOMCAT_HOME/conf/apps-examples.xml                   2002-02-19 
21:32:19 - ContextXmlReader: Context 
config=$TOMCAT_HOME/conf/apps-mydomain.xml               2002-02-19 
21:32:19 - AutoWebApp: Loaded from config: DEFAULT:/examples                  
                    2002-02-19 21:32:19 - ContextManager: Tomcat configured 
and in stable state                                  2002-02-19 21:32:19 - 
ContextManager: Adding  mydomain.com:/ROOT                                
         2002-02-19 21:32:19 - ContextManager: Adding  127.0.0.1:/ROOT        
                                        2002-02-19 21:32:19 - ContextManager: 
Adding  127.0.0.1:/examples                                            
2002-02-19 21:32:19 - ContextManager: Adding  DEFAULT:/admin                  
                               2002-02-19 21:32:19 - ContextManager: Adding  
DEFAULT:/examples                                              EmbededTomcat: 
Init time 1544                                                                
                2002-02-19 21:32:19 - Http10Interceptor: Starting on 8080     
                                               2002-02-19 21:32:20 - 
Ajp12Interceptor: Starting on 8007                                            
         EmbededTomcat: Startup time 199                                      
                                        2002-02-19 21:32:20 - 
Ajp13Interceptor: Starting on 8009                                            
         2002-02-19 21:32:20 - Ajp12Interceptor: Using stop file: 
/var/spool/tomcat3/ajp12.id                         2002-02-19 21:33:18 - 
ContextManager: Assertion failed: container==null (no Default Context?)       
         2002-02-19 21:33:18 - Ctx() : Status code:404 request:R( /test.jsp) 
msg:null                                 2002-02-19 21:33:21 - 
ContextManager: Assertion failed: container==null (no Default Context?)       
         2002-02-19 21:33:21 - Ctx() : Status code:404 request:R( /test.jsp) 
msg:null                                 2002-02-19 21:33:22 - 
ContextManager: Assertion failed: container==null (no Default Context?)       
         2002-02-19 21:33:22 - Ctx() : Status code:404 request:R( /test.jsp) 
msg:null                                 2002-02-19 21:33:23 - 
ContextManager: Assertion failed: container==null (no Default Context?)       
         2002-02-19 21:33:23 - Ctx() : Status code:404 request:R( /test.jsp) 
msg:null                                 2002-02-19 21:33:24 - 
ContextManager: Assertion failed: container==null (no Default Context?)       
         2002-02-19 21:33:24 - Ctx() : Status code:404 request:R( /test.jsp) 
msg:null                                 2002-02-19 21:33:25 - 
ContextManager: Assertion failed: container==null (no Default Context?)       
         2002-02-19 21:33:25 - Ctx() : Status code:404 request:R( /test.jsp) 
msg:null                                 2002-02-19 21:33:25 - 
ContextManager: Assertion failed: container==null (no Default Context?)       
         2002-02-19 21:33:25 - Ctx() : Status code:404 request:R( /test.jsp) 
msg:null                                 


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message