[Centos] Apache Web Server mod_jk configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Vaneet Sharma wrote:
> i downloaded this connector 
> jakarta-tomcat-connectors-jk-1.2.6-linux-fc2-i386-apache-2.0.50.so  
>  from tomcat link :
> http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/linux/jk-1.2.6/

I recommend not using download binaries, and taking a few moments to 
compile your own from the source tarball. Download:

http://www.apache.org/dist/jakarta/tomcat-connectors/jk/source/jk-1.2.8/jakarta-tomcat-connectors-1.2.8-src.tar.gz

I haven't had a chance to work with the brand new (5 days old) 1.2.9 
yet, so stay with 1.2.8 for now.

- Make sure 'httpd-devel' RPM is installed, and that you have the j2sdk 
installed somewhere on your system (/usr/local/java).

- Untar the mod_jk source above, and compile:
   - cd jakarta-tomcat-connectors-1.2.8-src/jk/native
   - ./configure --with-apxs=/usr/sbin/apxs --with-java=/usr/local/java
   - make

You will have a ./apache-2.0/mod_jk.so file ready to use that matches 
your Apache perfectly. Put this in your modules directory.

> and after that i followed the procedure of configuration described in connector section at apache.org website.
>  
> NOTE: i did not configured this connector. ( because it is binary and i dont think i need to configure or compile)

You have to do two things: connect apache<=>mod_jk, and configure 
mod_jk<=>tomcat. When you say you "followed the procedure" on the 
apache.org website, which portions did you do?

-te

-- 
Troy Engel | Systems Engineer
Fluid, Inc | http://www.fluid.com

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux