You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Paul Hoepfner-Homme <pa...@oven.com> on 2000/10/05 23:09:40 UTC

Ok, then where might one find mod_jk?

I guess nobody has any suggestions for my problem of getting Tomcat to
run a servlet... (though it seems like a pretty common thing someone
might want to do with a servlet runner, but hey...)

So I found this other document in the Tomcat documentation that says
that I should be using mod_jk instead of mod_jserv, and it gives good
reasons for it too.  The URL of this HOWTO is at
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html. 
The first step to install mod_jk is to compile it, which doesn't seem
like a big deal.

I downloaded the source code for my version of Apache, went to the
Apache source directory and typed the command
	apxs -o mod_jk.so -c *.c ../jk/ *.c -I ../jk/
as it says in that HOWTO.  Obviously this doesn't work because there is
no directory "../jk/".  Furthermore, I think the command should be
	apxs -o mod_jk.so -c *.c ../jk/*.c -I ../jk/
(that is, without the space between ../jk/ and *.c) but this makes no
difference since I don't have a directory ../jk/, let alone with .c
files inside it.  So I presume that I don't have the source code of
mod_jk (I figured it maybe came with Apache, since the mod_jk HOWTO only
says I need the Apache source).

There is no link in this piece of documentation that tells you where one
can download mod_jk.  I even searched on AltaVista and found nothing.

Any pointers would be very greatly appreciated!!  This is my third day
trying to get Tomcat to run a webmail application :(

Thanks,
Paul

--
Paul Hoepfner-Homme
paulh@oven.com

OVEN Digital | http://www.oven.com/

RE: Ok, then where might one find mod_jk?

Posted by Greg Thompson <gt...@insurity.com>.
The mod_jk source is in the tomcat source download look in
jakarta-tomcat/src/native/apache1.3/.

Greg

-----Original Message-----
From: paul@oven.com [mailto:paul@oven.com]On Behalf Of Paul
Hoepfner-Homme
Sent: Friday, October 06, 2000 8:22 AM
To: tomcat-user@jakarta.apache.org
Subject: Re: Ok, then where might one find mod_jk?


Greg Thompson wrote:
>
> What version of mod_jk?

I have no idea.  It mentions nothing about the version in the HOWTO.
I'm interested in whatever version will work, I guess.

> What os?

Red Hat 6.1

> I used '/usr/sbin/apxs -o mod_jk.so -I ../jk/ -I /usr/java/include -I
> /usr/java/include/linux *.c ../jk/*.c'

You mean, all the mod_jk source files come with Apache?  I don't have to
do a separate download to get the source?

> I was able to get it to work on RHL, apache 1.3, mod_jk (using auto config
> file), tomcat 3.2 beta4.

Ok, I guess not.  You mention here that you used apache as well as
mod_jk.  It would help tremendously if someone were to show me where I
could aquire the mod_jk source!!

> I looked at the new nightly builds and noticed the jk dir is now common?
> Try using ../common instead of ../jk.

I don't know what these directories "../common" and "../jk" are that you
speak of.  I've searched the entire apache source directory tree for
directories with either of these names, and found absolutely none!

> Greg
>
> -----Original Message-----
> From: paul@oven.com [mailto:paul@oven.com]On Behalf Of Paul
> Hoepfner-Homme
> Sent: Thursday, October 05, 2000 4:10 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Ok, then where might one find mod_jk?
>
> I guess nobody has any suggestions for my problem of getting Tomcat to
> run a servlet... (though it seems like a pretty common thing someone
> might want to do with a servlet runner, but hey...)
>
> So I found this other document in the Tomcat documentation that says
> that I should be using mod_jk instead of mod_jserv, and it gives good
> reasons for it too.  The URL of this HOWTO is at
> http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html.
> The first step to install mod_jk is to compile it, which doesn't seem
> like a big deal.
>
> I downloaded the source code for my version of Apache, went to the
> Apache source directory and typed the command
>         apxs -o mod_jk.so -c *.c ../jk/ *.c -I ../jk/
> as it says in that HOWTO.  Obviously this doesn't work because there is
> no directory "../jk/".  Furthermore, I think the command should be
>         apxs -o mod_jk.so -c *.c ../jk/*.c -I ../jk/
> (that is, without the space between ../jk/ and *.c) but this makes no
> difference since I don't have a directory ../jk/, let alone with .c
> files inside it.  So I presume that I don't have the source code of
> mod_jk (I figured it maybe came with Apache, since the mod_jk HOWTO only
> says I need the Apache source).
>
> There is no link in this piece of documentation that tells you where one
> can download mod_jk.  I even searched on AltaVista and found nothing.
>
> Any pointers would be very greatly appreciated!!  This is my third day
> trying to get Tomcat to run a webmail application :(
>
> Thanks,
> Paul
>
> --
> Paul Hoepfner-Homme
> paulh@oven.com
>
> OVEN Digital | http://www.oven.com/

--
Paul Hoepfner-Homme
paulh@oven.com

OVEN Digital | http://www.oven.com/



Re: Ok, then where might one find mod_jk?

Posted by Mike La Budde <mi...@irista.com>.
mod_jk is part of the jakarta-tomcat project. If you download a 
_binary_distribution of jakarta-tomcat, then you will get mod_jk.so (or 
mod_jk.dll for windows).

If you want the source, then download the jakarta-tomcat _source_ 
distribution for your os. After unzipping/untarring look in 
jakarta-tomcat/src/native/jk & jakarta-tomcat/src/native/apache1.3. (I'm 
looking at a source download from 2000-09-14, it may have changed since then.)

HTH,

Mike


At 10/06/2000 09:22 AM -0400, Paul Hoepfner-Homme wrote:
>Greg Thompson wrote:
> >
> > What version of mod_jk?
>
>I have no idea.  It mentions nothing about the version in the HOWTO.
>I'm interested in whatever version will work, I guess.
>
> > What os?
>
>Red Hat 6.1
>
> > I used '/usr/sbin/apxs -o mod_jk.so -I ../jk/ -I /usr/java/include -I
> > /usr/java/include/linux *.c ../jk/*.c'
>
>You mean, all the mod_jk source files come with Apache?  I don't have to
>do a separate download to get the source?
>
> > I was able to get it to work on RHL, apache 1.3, mod_jk (using auto config
> > file), tomcat 3.2 beta4.
>
>Ok, I guess not.  You mention here that you used apache as well as
>mod_jk.  It would help tremendously if someone were to show me where I
>could aquire the mod_jk source!!
>
> > I looked at the new nightly builds and noticed the jk dir is now common?
> > Try using ../common instead of ../jk.
>
>I don't know what these directories "../common" and "../jk" are that you
>speak of.  I've searched the entire apache source directory tree for
>directories with either of these names, and found absolutely none!
>
> > Greg
> >
> > -----Original Message-----
> > From: paul@oven.com [mailto:paul@oven.com]On Behalf Of Paul
> > Hoepfner-Homme
> > Sent: Thursday, October 05, 2000 4:10 PM
> > To: tomcat-user@jakarta.apache.org
> > Subject: Ok, then where might one find mod_jk?
> >
> > I guess nobody has any suggestions for my problem of getting Tomcat to
> > run a servlet... (though it seems like a pretty common thing someone
> > might want to do with a servlet runner, but hey...)
> >
> > So I found this other document in the Tomcat documentation that says
> > that I should be using mod_jk instead of mod_jserv, and it gives good
> > reasons for it too.  The URL of this HOWTO is at
> > http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html.
> > The first step to install mod_jk is to compile it, which doesn't seem
> > like a big deal.
> >
> > I downloaded the source code for my version of Apache, went to the
> > Apache source directory and typed the command
> >         apxs -o mod_jk.so -c *.c ../jk/ *.c -I ../jk/
> > as it says in that HOWTO.  Obviously this doesn't work because there is
> > no directory "../jk/".  Furthermore, I think the command should be
> >         apxs -o mod_jk.so -c *.c ../jk/*.c -I ../jk/
> > (that is, without the space between ../jk/ and *.c) but this makes no
> > difference since I don't have a directory ../jk/, let alone with .c
> > files inside it.  So I presume that I don't have the source code of
> > mod_jk (I figured it maybe came with Apache, since the mod_jk HOWTO only
> > says I need the Apache source).
> >
> > There is no link in this piece of documentation that tells you where one
> > can download mod_jk.  I even searched on AltaVista and found nothing.
> >
> > Any pointers would be very greatly appreciated!!  This is my third day
> > trying to get Tomcat to run a webmail application :(
> >
> > Thanks,
> > Paul
> >
> > --
> > Paul Hoepfner-Homme
> > paulh@oven.com
> >
> > OVEN Digital | http://www.oven.com/
>
>--
>Paul Hoepfner-Homme
>paulh@oven.com
>
>OVEN Digital | http://www.oven.com/


RE: Ok, then where might one find mod_jk?

Posted by Mike Bremford <mi...@paperx.com>.
Aha, spotted the problem..

The mod_jk source comes with *TOMCAT*, not Apache. You need to download the
Tomcat source.

Cheers... Mike

> -----Original Message-----
> From: paul@oven.com [mailto:paul@oven.com]On Behalf Of Paul
> Hoepfner-Homme
> Sent: 06 October 2000 14:22
> To: tomcat-user@jakarta.apache.org
> Subject: Re: Ok, then where might one find mod_jk?
>
>
> Greg Thompson wrote:
> >
> > What version of mod_jk?
>
> I have no idea.  It mentions nothing about the version in the HOWTO.
> I'm interested in whatever version will work, I guess.
>
> > What os?
>
> Red Hat 6.1
>
> > I used '/usr/sbin/apxs -o mod_jk.so -I ../jk/ -I
> /usr/java/include -I
> > /usr/java/include/linux *.c ../jk/*.c'
>
> You mean, all the mod_jk source files come with Apache?  I
> don't have to
> do a separate download to get the source?
>
> > I was able to get it to work on RHL, apache 1.3, mod_jk
> (using auto config
> > file), tomcat 3.2 beta4.
>
> Ok, I guess not.  You mention here that you used apache as well as
> mod_jk.  It would help tremendously if someone were to show me where I
> could aquire the mod_jk source!!
>
> > I looked at the new nightly builds and noticed the jk dir
> is now common?
> > Try using ../common instead of ../jk.
>
> I don't know what these directories "../common" and "../jk"
> are that you
> speak of.  I've searched the entire apache source directory tree for
> directories with either of these names, and found absolutely none!
>
> > Greg
> >
> > -----Original Message-----
> > From: paul@oven.com [mailto:paul@oven.com]On Behalf Of Paul
> > Hoepfner-Homme
> > Sent: Thursday, October 05, 2000 4:10 PM
> > To: tomcat-user@jakarta.apache.org
> > Subject: Ok, then where might one find mod_jk?
> >
> > I guess nobody has any suggestions for my problem of
> getting Tomcat to
> > run a servlet... (though it seems like a pretty common thing someone
> > might want to do with a servlet runner, but hey...)
> >
> > So I found this other document in the Tomcat documentation that says
> > that I should be using mod_jk instead of mod_jserv, and it
> gives good
> > reasons for it too.  The URL of this HOWTO is at
> >
> http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk
> -howto.html.
> > The first step to install mod_jk is to compile it, which
> doesn't seem
> > like a big deal.
> >
> > I downloaded the source code for my version of Apache, went to the
> > Apache source directory and typed the command
> >         apxs -o mod_jk.so -c *.c ../jk/ *.c -I ../jk/
> > as it says in that HOWTO.  Obviously this doesn't work
> because there is
> > no directory "../jk/".  Furthermore, I think the command should be
> >         apxs -o mod_jk.so -c *.c ../jk/*.c -I ../jk/
> > (that is, without the space between ../jk/ and *.c) but
> this makes no
> > difference since I don't have a directory ../jk/, let alone with .c
> > files inside it.  So I presume that I don't have the source code of
> > mod_jk (I figured it maybe came with Apache, since the
> mod_jk HOWTO only
> > says I need the Apache source).
> >
> > There is no link in this piece of documentation that tells
> you where one
> > can download mod_jk.  I even searched on AltaVista and
> found nothing.
> >
> > Any pointers would be very greatly appreciated!!  This is
> my third day
> > trying to get Tomcat to run a webmail application :(
> >
> > Thanks,
> > Paul
> >
> > --
> > Paul Hoepfner-Homme
> > paulh@oven.com
> >
> > OVEN Digital | http://www.oven.com/
>
> --
> Paul Hoepfner-Homme
> paulh@oven.com
>
> OVEN Digital | http://www.oven.com/
>


Re: Ok, then where might one find mod_jk?

Posted by Paul Hoepfner-Homme <pa...@oven.com>.
Greg Thompson wrote:
> 
> What version of mod_jk?

I have no idea.  It mentions nothing about the version in the HOWTO. 
I'm interested in whatever version will work, I guess.

> What os?

Red Hat 6.1

> I used '/usr/sbin/apxs -o mod_jk.so -I ../jk/ -I /usr/java/include -I
> /usr/java/include/linux *.c ../jk/*.c'

You mean, all the mod_jk source files come with Apache?  I don't have to
do a separate download to get the source?

> I was able to get it to work on RHL, apache 1.3, mod_jk (using auto config
> file), tomcat 3.2 beta4.

Ok, I guess not.  You mention here that you used apache as well as
mod_jk.  It would help tremendously if someone were to show me where I
could aquire the mod_jk source!!

> I looked at the new nightly builds and noticed the jk dir is now common?
> Try using ../common instead of ../jk.

I don't know what these directories "../common" and "../jk" are that you
speak of.  I've searched the entire apache source directory tree for
directories with either of these names, and found absolutely none!

> Greg
> 
> -----Original Message-----
> From: paul@oven.com [mailto:paul@oven.com]On Behalf Of Paul
> Hoepfner-Homme
> Sent: Thursday, October 05, 2000 4:10 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Ok, then where might one find mod_jk?
> 
> I guess nobody has any suggestions for my problem of getting Tomcat to
> run a servlet... (though it seems like a pretty common thing someone
> might want to do with a servlet runner, but hey...)
> 
> So I found this other document in the Tomcat documentation that says
> that I should be using mod_jk instead of mod_jserv, and it gives good
> reasons for it too.  The URL of this HOWTO is at
> http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html.
> The first step to install mod_jk is to compile it, which doesn't seem
> like a big deal.
> 
> I downloaded the source code for my version of Apache, went to the
> Apache source directory and typed the command
>         apxs -o mod_jk.so -c *.c ../jk/ *.c -I ../jk/
> as it says in that HOWTO.  Obviously this doesn't work because there is
> no directory "../jk/".  Furthermore, I think the command should be
>         apxs -o mod_jk.so -c *.c ../jk/*.c -I ../jk/
> (that is, without the space between ../jk/ and *.c) but this makes no
> difference since I don't have a directory ../jk/, let alone with .c
> files inside it.  So I presume that I don't have the source code of
> mod_jk (I figured it maybe came with Apache, since the mod_jk HOWTO only
> says I need the Apache source).
> 
> There is no link in this piece of documentation that tells you where one
> can download mod_jk.  I even searched on AltaVista and found nothing.
> 
> Any pointers would be very greatly appreciated!!  This is my third day
> trying to get Tomcat to run a webmail application :(
> 
> Thanks,
> Paul
> 
> --
> Paul Hoepfner-Homme
> paulh@oven.com
> 
> OVEN Digital | http://www.oven.com/

--
Paul Hoepfner-Homme
paulh@oven.com

OVEN Digital | http://www.oven.com/

RE: Ok, then where might one find mod_jk?

Posted by Greg Thompson <gt...@insurity.com>.
What version of mod_jk?

What os?

I used '/usr/sbin/apxs -o mod_jk.so -I ../jk/ -I /usr/java/include -I
/usr/java/include/linux *.c ../jk/*.c'

I was able to get it to work on RHL, apache 1.3, mod_jk (using auto config
file), tomcat 3.2 beta4.

I looked at the new nightly builds and noticed the jk dir is now common?
Try using ../common instead of ../jk.

Greg

-----Original Message-----
From: paul@oven.com [mailto:paul@oven.com]On Behalf Of Paul
Hoepfner-Homme
Sent: Thursday, October 05, 2000 4:10 PM
To: tomcat-user@jakarta.apache.org
Subject: Ok, then where might one find mod_jk?


I guess nobody has any suggestions for my problem of getting Tomcat to
run a servlet... (though it seems like a pretty common thing someone
might want to do with a servlet runner, but hey...)

So I found this other document in the Tomcat documentation that says
that I should be using mod_jk instead of mod_jserv, and it gives good
reasons for it too.  The URL of this HOWTO is at
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html.
The first step to install mod_jk is to compile it, which doesn't seem
like a big deal.

I downloaded the source code for my version of Apache, went to the
Apache source directory and typed the command
	apxs -o mod_jk.so -c *.c ../jk/ *.c -I ../jk/
as it says in that HOWTO.  Obviously this doesn't work because there is
no directory "../jk/".  Furthermore, I think the command should be
	apxs -o mod_jk.so -c *.c ../jk/*.c -I ../jk/
(that is, without the space between ../jk/ and *.c) but this makes no
difference since I don't have a directory ../jk/, let alone with .c
files inside it.  So I presume that I don't have the source code of
mod_jk (I figured it maybe came with Apache, since the mod_jk HOWTO only
says I need the Apache source).

There is no link in this piece of documentation that tells you where one
can download mod_jk.  I even searched on AltaVista and found nothing.

Any pointers would be very greatly appreciated!!  This is my third day
trying to get Tomcat to run a webmail application :(

Thanks,
Paul

--
Paul Hoepfner-Homme
paulh@oven.com

OVEN Digital | http://www.oven.com/