Stan Levine wrote:

> I am new to Linux, Apache and Tomcat. I am trying to install Tomcat 4.0.1. I already 
>have Apache 1.3.12
> installed as part of my Redhat Linux 7.0 installation. I  downloaded 
>webapp-module-1.0-tc40-linux-glibc2.2.tar.gz.
> 1) First I ran gunzip and built the tar file
> 2) Then I ran tar -xvf webapp-module-1.0-tc40-linux-glibc2.2.tar to extract the 
>files.
> 3) Then I followed the instructions in
>     webapp-module-1.0-tc40/INSTALL.txt
>      a) I copied mod_webapp.do to my modules directory
>             /usr/lib/apache
>      b) I added the LoadModule and AddModule lines to
>                  /etc/httpd/httpd.conf
> ---> I can't find the apachect1 script.  My ServerName is /etc/httpd. This contains 
>directory conf,

Redhat does not provide this with.  Since this is just an edit check on your 
installation, it is not critical to run this.


>
>  and link logs ---> /var/log/httpd, and link modules ---> /usr/lib/apache.  There is 
> no apachect1 script file in any of these directories.  Also, where are the apache 
>scripts to start and stop apache?

The script is /etc/rc.d/init.d/httpd

It uses the standard options of "start", "stop" and "restart".


>
> ---> Regard the next instructions:  do I add the WEBAPPConnection and WebAppDeploy 
>statements to
>        httpd.conf just they are in the instructions?     or do they require 
>modification?

If you just want to run the examples, then these should work.  However, I get an error 
about "invalid virtual host name".  There are various comments in this email archive 
about how to work arround this.
This last comment that I read was to
uncomment the "ServerName" directive in "/etc/httpd/conf/httpd.conf.

>
> ---> I can't find the server.xml file, or any of the 
>directories(bin,conf,doc,lib,logs,webapps) that are supposed to be in
>         the standard Tomcat setup.
>

If you installed Tomcat4 from the rpm, then go to "/var/tomcat4".  Also, there was a 
"tomcat4" startup script installed in "/usr/bin".

>
>    Thanks for your help.
>
>   Stan

I have successfully gotten Tomcat started under RedHat 7.1, but I cannot get 
mod_webapp to work correctly.  The fundamental problem is that the binary version of 
mod_webapp was not compiled with the
options required to run with the Apache installed with RedHat 7.1.  I have tried 
compiling from source, but so far that has not been successful.  Basically, you need 
more that the source provided with
mod_webapp and even when I downloaded all of the Apache source and tried to compile, 
it complained about something broken in the "apx" directory.

I hope that those who build mod_webapp will recognize that many of us using Tomcat are 
basically Java programmers with stock installations of Apache.  So we really need a 
"mod_webapp" that works with
these stock distributions.  Also, there seem to be problems with the directions with 
regard to updating httpd.conf.  Perhaps these problems are trivial for Apache experts, 
but again I do not think that
servlet progammers necessary fall into this category.

So if you do manage to get mod_webapp working with out the "DEAPI" warning, then 
please post your success story.

Happy Holidays to all,
Cynthia Jeness





--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to