When I build the connectors, I get the source from here:


http://jakarta.apache.org/builds/jakarta-tomcat-connectors/

I'm not sure if that is the best place, but it has worked for me.

To build the connectors, in general:

- cd to CONNECTORSRC_HOME/jk/native2 (CONNECTORSRC_HOME = wherever you put the source)

- run ./configure --with-apxs2=/usr/local/apache2/bin/apxs

- run make

- your mod_jk2.so file should be in CONNECTORSRC_HOME/jk/build/jk2/apache2/

I typically put the source here:

/usr/local/src/jakarta-tomcat-connectors-jk2-2.0.2-src

I just tried it on throwaway server with RH 7.2 and Apache 2.0.44 and it worked like a champ.

John

On Tue, 10 Jun 2003 15:43:08 +0100, JD Evora <[EMAIL PROTECTED]> wrote:

Hi,
Thanks for you answer and sorry for not be specific enough,

Yes, I am looking for how to compile just the Apache modules (mod_jk2), because the binary distribution directories for Linux are empty and I read somewhere that with Apache 2 you have to compile the modules for an specific version (2.0.46 in my case).

The only thing I am not sure about is why the tomcat distribution (method #1) has the mod_jk2 version 2.0.4 and dedicated jakarta-tomcat- connectors site (method #2) has the version 2.0.2.

Is the later site http://jakarta.apache.org/builds/jakarta-tomcat- connectors/jk2/ "deprecated"?

Cheers  and sorry if I am "looking too hard"
JD


John Turner wrote:



Depends on what you mean by "connectors".


Keep in mind that there are different "connectors". There are Apache modules, like mod_jk and mod_jk2, and there are Tomcat Connectors which are Java classes like org.apache.coyote.tomcat4.CoyoteConnector and org.apache.catalina.connector.http10.HttpConnector.

Unless you are wishing to make changes to Tomcat source, there's no need to deal with building any of the Tomcat Connectors (org.apache.*). A binary install of Tomcat has them built already.

That leaves the Apache modules, mod_jk and mod_jk2. Unless you can't find a binary there's no need to build them from source unless you want to as a preference. If you do want to build them from source, then option #1 in your list is what you want to do.

John

On Tue, 10 Jun 2003 13:09:41 +0100, JD Evora <[EMAIL PROTECTED]> wrote:

Hi,
Looking for information about how to build the JK2 connector, and I saw two ways to do it:
* Using the tomcat connectors; downloading
http://jakarta.apache.org/builds/jakarta-tomcat- connectors/jk2/release/v2.0.2/src/jakarta-tomcat-connectors-jk2-2.0.2- src.tar.gz
And follow the instructions from:
http://marc.theaimsgroup.com/?l=tomcat-user&m=105103815630094&w=2


* Using the tomcat source distribution, downloading
http://jakarta.apache.org/builds/jakarta-tomcat- 4.0/release/v4.1.24/src/jakarta-tomcat-connectors-4.1.24-src.tar.gz
And following the instructions from:
http://www.ejbsolutions.com/products/obox/community/ch15.html


Which is the best way to do it? Is one more up to date that the another? Which is less error prone?

Thank you very much
JD Evora






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]









---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to