tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Smith" <sat-g...@home.com>
Subject Re: mod_jk and apache 1.3.12
Date Tue, 26 Dec 2000 19:57:03 GMT
Pete,

As you may have gathered from the archives of
this list, both the linux and the freebsd makefiles
for mod_jk.so, apache 1.3 have issues.

I was able to get things working on FreeBSD 4 stable
using an email from Andrea (smda@lisea.com)
dated Wed, Dec 6, 2000.

In that mail you will find details of the problem,
but basically the script does not compile all the
source files and so the resultant mod_jk.so file
is incomplete.

I should say I have been only partially successful;
I was able to get mod_jk.so fully compiled using
jdk 1.1.8, and jdk1.2 linux (freeBSD will run
linux binaries). However, only the 1.1.8 version
seemed to actually work in my configuration.

On my box, using apache 1.3.12, the apache headers are in

/user/local/include/apache

And the apxs script is in

/usr/local/sbin.

So the following command line works to compile
the module:

/usr/local/sbin/apxs -c -I/usr/local/jdk1.1.8/include
-I/usr/local/jdk1.1.8/include/freebsd -DFREEBSD
-I/usr/local/include/apache -I../jk mod_jk.c ../jk/*.c

I was never able to get the makefile to do this for me.

My thanks to Andrea for originally posting this solution.

Regards,
Dave

----- Original Message -----
From: "Pete Ehli" <peteehli@teleport.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Monday, December 25, 2000 6:34 PM
Subject: Re: mod_jk and apache 1.3.12


> I use NT4.0, Apache 1.3.14 and Tomcat 3.2.1 and I downloaded the plugin
> mod_jk.dll and followed the directions in the Tomcat docs directory -
> mod_jk -howto and the page about workers.properties file. Also I changed
my
> server.xml file to recognize ajp13. I am new to server configuration, but
I
> am figuring it out - next I am going to add virtual hosts. I had no
problem
> with my installantion and changes because the .dll was written for apache
> and Tomcat running on NT. If  Apache doesn't start it will give you an
error
> message in a dos window with some good clues as to the problem. I am
unsure
> why you would write your own mod_jk file - the only reason is one is not
> already written for your OS. Also I would like to know what make file is
> faulty and where it is located.
> -- Pete --
>
> ----- Original Message -----
> From: "Dave Smith" <sat-guru@home.com>
> To: <tomcat-user@jakarta.apache.org>
> Sent: Monday, December 25, 2000 12:39 PM
> Subject: Re: mod_jk and apache 1.3.12
>
>
> > Boon,
> >
> > Yes, your mod_jk.so did not fully/properly compile.
> > If you search the archives of this list for the last few months
> > you will find many threads on it. One problem
> > is that the makefile provided with tomcat 3.2
> > is faulty and must be fixed up before it will work.
> >
> > Dave
> >
> > ----- Original Message -----
> > From: "Boon Yeo" <cby@netspace.net.au>
> > To: <tomcat-user@jakarta.apache.org>
> > Sent: Sunday, December 24, 2000 1:55 PM
> > Subject: Re: mod_jk and apache 1.3.12
> >
> >
> > > I have checked and rechecked the httpd.conf file, it
> > > is ok.  I also did this little experiment:
> > > (1)  Restore httpd.conf and apache started, ok.
> > > (2)  Add this line to the bottom of httpd.conf
> > >             LoadModule mod_jk libexec/mod_jk.so
> > > (3)  Now apache fails to start
> > >
> > > From the above, I suspect that the mod_jk.so is faulty.
> > > But mod_jk compiles ok, without errors.  A bug in
> > > mod_jk, maybe?  I was wondering if anybody else
> > > had encountered this problem.
> > >
> > > Regards,
> > > -Boon
> > >
> > > ----- Original Message -----
> > > From: Faisal Mahdi <fmahdi@sbm.net.sa>
> > > To: <tomcat-user@jakarta.apache.org>
> > > Sent: Sunday, December 24, 2000 1:38 AM
> > > Subject: Re: mod_jk and apache 1.3.12
> > >
> > >
> > > > Did you verify that there is no syntax error in your httpd.conf ?
> > > > apachectl -configure ?
> > >
> > >
> >
>


Mime
View raw message