You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Camhi Michel-Ange <Mi...@atosorigin.com> on 2002/08/28 18:37:51 UTC

Help with Tomcat 3.3

Hi,
 
My config is the following : a Netscape Enterprise Server with AJP13
connector to Tomcat 3.3.1 , with a context (/intranet) fully deployed under
the docBase stated below.
The problem is that no requests are mapped to this context, and the context
never gets initialized! If i add the StaticInterceptor module to this
config, i get all my pages but without dynamic content. What am i doing
wrong? My web.xml isn't even read.
 
Thanks in advance for your help,
Michel-Ange Camhi
 
 
<?xml version="1.0" encoding="ISO-8859-1"?>
<Server>
        <ContextManager debug="9"
installDir="/opt/local/framework/distrib/srunners/tomcat331"
home="/MIDDLE/asn/intranet.asn.alize/tomcat1" workDir="logs/tomcat_work"
showDebugInfo="true" >
 
                <!-- ==================== Loggers ==================== -->
 
                <LogSetter name=""
path="/MIDDLE/asn/intranet.asn.alize/tomcat1/logs/others.log"
verbosityLevel="DEBUG"/>
                <LogSetter name="tc_log"
path="/MIDDLE/asn/intranet.asn.alize/tomcat1/logs/tomcat.log"
verbosityLevel="DEBUG"/>
                <LogSetter name="servlet_log"
path="/MIDDLE/asn/intranet.asn.alize/tomcat1/logs/servlet.log"
verbosityLevel="DEBUG"/>
                <LogSetter name="JASPER_LOG"
path="/MIDDLE/asn/intranet.asn.alize/tomcat1/logs/jasper.log"
verbosityLevel="DEBUG"/>
 
                <!-- ==================== Modules ==================== -->
                <LogEvents enabled="true" />
                <LoaderInterceptor11 />
                <!-- Loaded last since JSP's that load-on-startup use
request handling -->
                <LoadOnStartupInterceptor />
                <!-- Request processing -->
                <!-- Session interceptor will extract the session id from
cookies and
             deal with URL rewriting ( by fixing the URL ).  If you wish to
             suppress the use of cookies for session identifiers, change the
             "noCookies" attribute to "true" -->
                <SessionId noCookies="false"/>
                <!-- Find the container ( context and prefix/extension map )
             for a request.  -->
                <!-- SimpleMapper1 debug="9"/ -->
                <!-- Plug a session manager. You can plug in more advanced
session
             modules.  -->
                <!-- ==================== Connectors ====================
-->
                <!-- Apache AJP13 support. This is also used to shut down
tomcat. -->
                <Ajp13Connector debug="9" port="9702" address="172.18.17.13"
maxThreads="100" maxSpareThreads="8" minSpareThreads="5" />
 

        <WebXMLReader debug="9" validate="true" />
        <Servlet22Interceptor debug="9" />
        <JSPInterceptor debug="9" />
        <ContextXMLReader config="conf/server.xml" />
 
        <Context path="/intranet"
docBase="/WEBS/asn/intranet.asn.alize/docs/intranet" debug="9"
reloadable="false"/>
        </ContextManager>
</Server>


Michel-Ange CAMHI
Responsable Unix-Dev - Atos Origin Multimédia
ZI La Pointe - 59113 Seclin
Tel: 33+ (0)3 20 60 7896 - Fax: 33+ (0)3 20 60 7649 -
MichelAnge.Camhi@atosorigin.com <ma...@atosorigin.com>  

 

Re: Help with Tomcat 3.3

Posted by Bill Barker <re...@verizon.net>.
My best advise is to start over.  You are missing many critical elements of
server.xml, and many of the ones you left in are in the wrong order.  With
the possible exception of *Realm, *Connector, or *Config, you shouldn't
remove or re-order any of the elements in the shipping server.xml.  See
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/serverxml.html for how to
configure the remainder.

"Camhi Michel-Ange" <Mi...@atosorigin.com> wrote in message
news:949F20E6638ED611A60200B0D020AF604DF72F@srv-grp-s3.segin.com...
Hi,

My config is the following : a Netscape Enterprise Server with AJP13
connector to Tomcat 3.3.1 , with a context (/intranet) fully deployed under
the docBase stated below.
The problem is that no requests are mapped to this context, and the context
never gets initialized! If i add the StaticInterceptor module to this
config, i get all my pages but without dynamic content. What am i doing
wrong? My web.xml isn't even read.

Thanks in advance for your help,
Michel-Ange Camhi


<?xml version="1.0" encoding="ISO-8859-1"?>
<Server>
        <ContextManager debug="9"
installDir="/opt/local/framework/distrib/srunners/tomcat331"
home="/MIDDLE/asn/intranet.asn.alize/tomcat1" workDir="logs/tomcat_work"
showDebugInfo="true" >

                <!-- ==================== Loggers ==================== -->

                <LogSetter name=""
path="/MIDDLE/asn/intranet.asn.alize/tomcat1/logs/others.log"
verbosityLevel="DEBUG"/>
                <LogSetter name="tc_log"
path="/MIDDLE/asn/intranet.asn.alize/tomcat1/logs/tomcat.log"
verbosityLevel="DEBUG"/>
                <LogSetter name="servlet_log"
path="/MIDDLE/asn/intranet.asn.alize/tomcat1/logs/servlet.log"
verbosityLevel="DEBUG"/>
                <LogSetter name="JASPER_LOG"
path="/MIDDLE/asn/intranet.asn.alize/tomcat1/logs/jasper.log"
verbosityLevel="DEBUG"/>

                <!-- ==================== Modules ==================== -->
                <LogEvents enabled="true" />
                <LoaderInterceptor11 />
                <!-- Loaded last since JSP's that load-on-startup use
request handling -->
                <LoadOnStartupInterceptor />
                <!-- Request processing -->
                <!-- Session interceptor will extract the session id from
cookies and
             deal with URL rewriting ( by fixing the URL ).  If you wish to
             suppress the use of cookies for session identifiers, change the
             "noCookies" attribute to "true" -->
                <SessionId noCookies="false"/>
                <!-- Find the container ( context and prefix/extension map )
             for a request.  -->
                <!-- SimpleMapper1 debug="9"/ -->
                <!-- Plug a session manager. You can plug in more advanced
session
             modules.  -->
                <!-- ==================== Connectors ====================
-->
                <!-- Apache AJP13 support. This is also used to shut down
tomcat. -->
                <Ajp13Connector debug="9" port="9702" address="172.18.17.13"
maxThreads="100" maxSpareThreads="8" minSpareThreads="5" />


        <WebXMLReader debug="9" validate="true" />
        <Servlet22Interceptor debug="9" />
        <JSPInterceptor debug="9" />
        <ContextXMLReader config="conf/server.xml" />

        <Context path="/intranet"
docBase="/WEBS/asn/intranet.asn.alize/docs/intranet" debug="9"
reloadable="false"/>
        </ContextManager>
</Server>


Michel-Ange CAMHI
Responsable Unix-Dev - Atos Origin Multim�dia
ZI La Pointe - 59113 Seclin
Tel: 33+ (0)3 20 60 7896 - Fax: 33+ (0)3 20 60 7649 -
MichelAnge.Camhi@atosorigin.com <ma...@atosorigin.com>








--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>