Hi Andre, Thanks for reply and sorry for my incomplete reply. So here is what i have done now. First i have reinstalled everything again,So i have fresh environment with apache (version 2.2.3) and tomcat (version 5.5). JK module(1.2.26 ) is already installed in apache, so i don't need to get it from anywhere.
Step 1) I changed the server.xml file to include two connector one which you provided and another for AJP connector as follows The red color one was already there in server.xml after fresh installation, even i was wondering why class name is not there, but i assumed that, may be tomcat give some default class name. Any ways without class name port 9080 is working. <Connector port="9080" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="9443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" /> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="*8180*" minProcessors="5" maxProcessors="75" enableLookups="true" acceptCount="10" debug="0" connectionTimeout="20000" useURIValidationHack="false" /> <Connector className="org.apache.ajp.tomcat4.Ajp13Connector" port="*8010*" minProcessors="5" maxProcessors="75" acceptCount="10" debug="0"/> *Step 2*: Restarted tomcat. restarted fine *Step 3:* Ran following commands > netstat -an | grep 9080 tcp 0 0 0.0.0.0:9080 0.0.0.0:* LISTEN > netstat -an | grep 8010 tcp 0 0 0.0.0.0:8010 0.0.0.0:* LISTEN > netstat -an | grep 8180 tcp 0 0 0.0.0.0:8180 0.0.0.0:* LISTEN and also checked the following url http://www.jaatmusic.com:9080 (showing tomcat starting page) http://www.jaatmusic.com:8010 (showing tomcat starting page) http://www.jaatmusic.com:8180 (showing tomcat starting page) *Step 4:* accesed url http://www.jaatmusic.com:9080/servlets-examples and http://www.jaatmusic.com:8010/servlets-examples and http://www.jaatmusic.com:8180/servlets-examples all showing the same page which has links to different servlets.Means working fine. Clicked on HelloWorld link whose url on different ports are http://www.jaatmusic.com:9080/servlets-examples/servlet/HelloWorldExample http://www.jaatmusic.com:8010/servlets-examples/servlet/HelloWorldExample http://www.jaatmusic.com:8180/servlets-examples/servlet/HelloWorldExample All ran fine and showed me the correct output *Step 5:* Checking the AJP port 8010 > netstat -an | grep 8010 tcp 0 0 0.0.0.0:8010 0.0.0.0:* LISTEN and also telnet www.jaatmusic.com 8010 worked fine, i did get the connection. i typed something and closed the connection but didnt get anything exactly like this in tomcat log 2008-07-21 00:29:44 Ajp13Processor[8010][5] [Ajp13] incomplete read, waited #-1 got only 0 but i do have something like this in tomcat log Jul 21, 2008 10:59:28 PM org.apache.jk.common.MsgAjp processHeader SEVERE: BAD packet signature 14961 Jul 21, 2008 11:00:19 PM org.apache.jk.common.ChannelSocket receive WARNING: can't read body, waited #3338 Jul 21, 2008 11:00:19 PM org.apache.jk.common.ChannelSocket processConnection WARNING: Closing ajp connection -1 *Step 6:* Updated the workers.properties to include these three lines worker.tempWorker.type=ajp13 worker.tempWorker.host=localhost worker.tempWorker.port=8010 and also updated this line worker.list=wlb,jkstatus,*tempWorker* # wlb and jkstatus was already there. *Step 7* : now i updated the httpd.conf file with following lines JkLogFile /etc/httpd/logs/jk.log JkLogLevel debug JkMount /examples testWorker JkMount /examples/* testWorker Restarted apache. it restarted fine. ** *Step 8 :* Finally i entered this url http://www.jaatmusic.com/examples (nothing came up) *IE said * HTTP 404 Page Not found, the web page can not be found. *Mozilla said : * Not Found The requested URL /examples was not found on this server. ------------------------------ Apache/2.2.3 (CentOS) Server at www.jaatmusic.com Port 80 Then i tried http://www.jaatmusic.com/examples/servlet/HelloWorldExample *IE said* HTTP 404 Page Not found, the web page can not be found. *Mozilla said* Not Found The requested URL /examples/servlet/HelloWorldExample was not found on this server. ------------------------------ Apache/2.2.3 (CentOS) Server at www.jaatmusic.com Port 80 You can access following files from this url http://www.jaatmusic.com/log.html httpd.conf server.xml worker.properties jk.conf which is being included in httpd.conf by using this line Include conf.d/*.conf from this url i have tried many other things too but it didnt work, so right now the server setup is as what is written here. Thanks a lot in advance Ravi.