[Centos] Apache Web Server mod_jk configuration

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



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@xxxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxxx] 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

-- 
Troy Engel | Systems Engineer
Fluid, Inc | http://www.fluid.com
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxxx
http://lists.caosity.org/mailman/listinfo/centos


Vaneet Sharma
executive manager	
iDeasTank Limited	
an iwg business
dolphins' court po 388
valletta, m-malta/europe
mobile:	 +356 9943 8263
skype:	 CALLVANEET
fax:	 +356 9952 8888
phone:	 +356 9942 8888

vaneet@xxxxxxxx
call me on www.skype.com - my ID is CALLVANEET

Want a signature like this? - www.plaxo.com\signature

iwg is a global e-mobile company creating, building and growing new businesses.  iwg founders are pioneers in creating multi-billion dollar mobile and Internet businesses in Europe, Asia and the US.

www.iWG.info
www.countryprofiler.com/iWG
www.visitmalta.com
www.mfc.com.mt


Privileged/Confidential Information may be contained in this message.  If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email.

[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