Im getting the following error
No JkShmFile defined in httpd.conf. LoadBalancer will not function properly!
I running centos 3.4 , apache 2.something, and jakarta-tomcat-connector 1.2.10
Thankx for help in advance Vaneet
-----Original Message----- From: centos-bounces@caosity.org [mailto:centos-bounces@caosity.org] On Behalf Of Troy Engel Sent: Thursday, March 24, 2005 1:50 AM To: CentOS discussion and information list Subject: Re: [Centos] Apache Web Server mod_jk configuration
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/j k-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