Thanks you Larry for your reply...I am doing a netstat -a and for some
reason the
don't start... thanks for testing it.

Also thanks for you answer on the classpath...it is appreciated!

-----Original Message-----
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 10, 2001 8:04 AM
To: '[EMAIL PROTECTED]'
Subject: RE: A Final Plea for Help (tomcat 3.2.2 and Apache 1.1.19)


Tried your <Connector ...> entries in my Tomcat 3.2.2 server.xml
and the worked fine for me.  Note that you may not see the
ports unless you execute "netstat -a".

Since Tomcat 3.2.2 is an implementation of the servlet 2.2
spec, your servlets would normally be part of the
web application, i.e. under "public_html/WEB-INF/classes"
or in a jar in "public_html/WEB-INF/lib".  This directory
structure is mandated by the spec.

You can put your servlets on the CLASSPATH and make them
available to all web applications.  However, putting your
servlets on the CLASSPATH will mean the servlets can not
access classes found in the WEB-INF/classes and WEB-INF/lib
of your web applications.

Hope this helps.

Larry


> -----Original Message-----
> From: Nance, Michael [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 10, 2001 10:02 AM
> To: '[EMAIL PROTECTED]'
> Subject: A Final Plea for Help (tomcat 3.2.2 and Apache 1.1.19)
> 
> 
> I am using Tomcat 3.2.2 and Apache 1.1.19
> For a couple days I have asked for help because I am 
> seriously stuck.  When I start Tomcat then apache
> my connectors Ajp12 and Ajp13 won't start.  I do a netstat
> and they (8007 and 8009) are not there.
> 
> We are switching from Mod_JServ to Mod_JK and when I run the
> JServ version the AJp12 starts fine (AJp13 not used)
> 
> This is from my server.xml
> 
> 
>        <Connector 
> className="org.apache.tomcat.service.PoolTcpConnector">
>             <Parameter name="handler"
> value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/>
>             <Parameter name="port" value="8007"/>
>             <Parameter name="max_threads" value="500"/>
>             <Parameter name="max_spare_threads" value="200"/>
>             <Parameter name="min_spare_threads" value="100" />
>         </Connector>
> 
>         <Connector 
> className="org.apache.tomcat.service.PoolTcpConnector">
>            <Parameter name="handler"
> value="org.apache.tomcat.service.connector.Ajp13ConnectionHandler"/>
>            <Parameter name="port" value="8009"/>
>            <Parameter name="max_threads" value="500"/>
>            <Parameter name="max_spare_threads" value="200"/>
>            <Parameter name="min_spare_threads" value="100" />
>         </Connector>
> 
>         <Context path="" 
> docBase="../../../../src/public_html" debug="0"
> reloadable="true" >
>         </Context>
> 
> 
> Also
> Second
> 
> our dir structure is something like this
> 
> ../src/common/...      path to all classes etc
> ../src/public_html/..   path to all jsp's
> 
> in my server.xml I have a line
> <Context path="" docBase=".. /src/public_html" ...>
> 
> 
> I believe that will take care of my jsps but not a path to my 
> Servlets....
> How can I fix this?
> 
> Thanks in advance
> 

Reply via email to