RE: A Final Plea for Help (tomcat 3.2.2 and Apache 1.1.19)

2001-08-10 Thread Nance, Michael

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  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
> 
> 
> className="org.apache.tomcat.service.PoolTcpConnector">
>  value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/>
> 
> 
> 
> 
> 
> 
>  className="org.apache.tomcat.service.PoolTcpConnector">
> value="org.apache.tomcat.service.connector.Ajp13ConnectionHandler"/>
>
>
>
>
> 
> 
>  docBase="../../../../src/public_html" debug="0"
> reloadable="true" >
> 
> 
> 
> 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
> 
> 
> 
> I believe that will take care of my jsps but not a path to my 
> Servlets
> How can I fix this?
> 
> Thanks in advance
> 



RE: A Final Plea for Help (tomcat 3.2.2 and Apache 1.1.19)

2001-08-10 Thread Larry Isaacs

Tried your  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
> 
> 
> className="org.apache.tomcat.service.PoolTcpConnector">
>  value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/>
> 
> 
> 
> 
> 
> 
>  className="org.apache.tomcat.service.PoolTcpConnector">
> value="org.apache.tomcat.service.connector.Ajp13ConnectionHandler"/>
>
>
>
>
> 
> 
>  docBase="../../../../src/public_html" debug="0"
> reloadable="true" >
> 
> 
> 
> 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
> 
> 
> 
> I believe that will take care of my jsps but not a path to my 
> Servlets
> How can I fix this?
> 
> Thanks in advance
>