tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Software <softw...@ciat.cgiar.org>
Subject Re: mod_jk2 for RedHat
Date Mon, 14 Jun 2004 14:38:15 GMT
You can build mod_jk2 following these steps:


    7.3.4. Build mod_jk2 from source

After you have downloaded the mod_jk2 source tarball, navigate to that 
directory and expand it like so,

# *tar zxvf jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz*
      

Next, navigate to the directory where you will begin the build process,

# *cd /jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2*
      

Now, we begin the build process,

# *sh ./buildconf.sh*
# *./configure --with-apxs2=/usr/sbin/apxs2 \*
> *--with-tomcat41=/opt/tomcat \*
> *--with-java-home=/opt/IBMJava2-131 \*
> *--with-jni*
# *make*
      

	

Substitute the directory paths above with your own directory paths, if 
you are not using the same components as I am.

Finish off with this command,

# *libtool --finish /usr/lib/apache2*
      

This process builds 2 important files : mod_jk2.so and jkjni.so inside 
the following directory : 
$download_directory/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build/jk2/apache2. 
You will need to copy these files to the proper locations. So, we will 
do this,

# *cp ../build/jk2/apache2/mod_jk2.so /usr/lib/apache2/*
# *cp ../build/jk2/apache2/jkjni.so /usr/lib/apache2/*



Michael DiChiappari wrote:

> Has anyone built a mod_jk2 for RedHat9/Apache 2.0.40?  I would greatly 
> appreciate access to it, which would save me a great deal of time in 
> trying to build the darn thing.  It would also elevate you to a true 
> Linux/Tomcat guru in my eyes.
>
> If you make it available publicly available, it would probably also 
> cut down on a large percentage of the traffic on this list.
>
> Thanks,
> Mike
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message