Dear Jc, Thank you very much, Please read below
SECTION A) configuration of httpd.conf Well, if you go there: http://www.export4u.co.uk ( Apacher webserver is running but it is not integrated with Tomcat. ) Java and Tomcat are already installed on the my machine 1) I have installed mod_jk.so ( I put into modules directory in etc/httpd/modules/ ? Am I putting mod_jk.so in right directory ? 2) I have changed httpd.conf. ( I read httpd.conf many times. ( its cool) , I included virtual host settings in the end ) Below is: configuration for httpd.conf NameVirtualHost 213.217.226.168:80 <VirtualHost 213.217.226.168:80> #ServerAdmin [EMAIL PROTECTED] DocumentRoot /usr/local/jakarta-tomcat-5.5.7/webapps/XXX ServerName www.export4u.co.uk JkMount /servlet/* ajp13Worker JkMount /therestaurant/* ajp13Worker #ServerAlias export4u.co.uk # ErrorLog /usr/local/jakarta-tomcat-5.5.7/logs #CustomLog logs/dummy-host.example.com-access_log common </VirtualHost> 3) I also included this in httpd.conf <IfModule mod_jk.c> JkWorkersFile /usr/local/jakarta-tomcat-5.5.7/conf/workers.properties JkLogFile /etc/httpd/logs/mod_jk.log JkLogLevel info JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories JkLogStampFormat "[%a %b %d %H:%M:%S %Y]" JkMount /servlet/* ajp13Worker JkMount /restaurant/* ajp13Worker </IfModule> 4) added this to httpd.conf as well : DocumentRoot "/usr/local/jakarta-tomcat-5.5.7/webapps/MicsExport" 5) Also included this line LoadModule jk_module modules/mod_jk.so 6) Also added :) Listen 213.217.226.168:80 SECTION B ) Coming to Tomcat now. Now after doing all this: I also changed workers.properties file in TOMCAT/conf worker.ajp13Worker.port=8009 worker.ajp13Worker.host=www.export4u.co.uk worker.ajp13Worker.type=ajp13 worker.ajp13Worker.lbfactor=50 worker.ajp13Worker.cachesize=10 worker.ajp13Worker.cache_timeout=600 worker.ajp13Worker.socket_keepalive=1 worker.ajp13Worker.socket_timeout=300 Also, I cannot configure Context in 5.5.7. According to documentation, it says, put context in META-INF. Where is META-INF directory ?> Shall I create it? Lastly , I have not changed the SERVER.XML file in tomcat. Is my mod_jk.so file ok ?? I downloaded by following the links of connectors on Tomcat. Thankx again. Kind Regards Vaneet -----Original Message----- From: Jon Cline - Enthusiast, Inc. [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 5:58 PM To: Tomcat Users List Subject: Re: Apache Webserver with Tomcat 5.5.7 Hello Vaneet. Can you include the <virtualhost> portion of httpd.conf, <host> portion of server.xml, workers[2].properties, and jk.conf files so we can check your config? thx. jc On Tue, 22 Mar 2005 12:23:28 +0100, Vaneet Sharma <[EMAIL PROTECTED]> wrote: > Hello guys, > > Can someone help me in configuration? > Any hints will be helpful as well. > vaneet > > -----Original Message----- > From: Vaneet Sharma > Sent: Monday, March 21, 2005 11:28 AM > To: tomcat-user@jakarta.apache.org > Subject: Centos 3.3 > > Hello guys, > > I am not able to configure apache web server 2.something with apache > tomcat 5.5.7. I am running centos 3.3. I installed mod_jk. > > I also changed httpd.conf files.. > > Also server.xml file in tomcat / conf directory > > Can anyone help? > > Can someone tell me an example of how to > > Put a context element in TOMCAT 5.5.7 . In Tomcat 5.5.7, the context > element is in separate file. > > I have two problems, > > 1) mod_jk is not connecting Apache Web Server with Tomcat 5.5.5 > 2) I think tomcat is not picking the context > > Any hints? > > Kind Regards > > 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 > > [EMAIL PROTECTED] > 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. > > 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 > > [EMAIL PROTECTED] > 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 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- ||||||||||||||||||||||||||||||||||||||||||||| Jon Cline Chief Product Evangelist Enthusiast, Inc www.enthusiastinc.com [EMAIL PROTECTED] 626.256.3505 ||||||||||||||||||||||||||||||||||||||||||||| *Need help? Email [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]