i solved the problem
 
gave HOST element and
added context element in server.xml in 5.5.4
 
it runs like a horse now:)
 
Centos 3.4 with jakarta 5.5.4 with jk1.2.10 :)
 
Vaneet
-----Original Message-----
From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Vaneet Sharma
Sent: Tuesday, April 05, 2005 11:49 AM
To: CentOS discussion and information list
Subject: [CentOS] Jakarta-Tomcat 1.2.10 problem

The connector is not loading my servlets?
I am writing down my httpd.conf and workers.properties

Httpd.conf
LoadModule jk_module modules/mod_jk.so

<ifModule mod_jk.c>
JkWorkersFile /usr/local/jakarta-tomcat-5.5.4/conf/workers.properties
JkLogFile /etc/httpd/logs/mod_jk.log
JkLogLevel info
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories JkLogStampFormat "[%a %b %d %H:%M:%S %Y]" JkAutoAlias /usr/local/jakarta-tomcat-5.5.4/webapps

JkShmFile /etc/httpd/logs/mod_jk.shm
JkMount /servlet/* ajp13Worker
JkMount /*.vm ajp13Worker
JkMount /therestaurant/servlet/ControllerServlet/* ajp13Worker </ifModule>

NameVirtualHost xxx.xxx.xxx.xxx:80

<VirtualHost xxx.xxx.xxx.xxx:80>
    ServerAdmin vaneet@iwg.info
    DocumentRoot /usr/local/jakarta-tomcat-x.x.x/webapps/therestaurant
    ServerName www.therestaurant.name
</VirtualHost>


And below is workers.properties file worker.ajp13Worker.port=8009 worker.ajp13Worker.host=xxx.xxx.xxx.xxx
worker.ajp13Worker.type=ajp13
worker.ajp13Worker.lbfactor=50
worker.ajp13Worker.cachesize=10 worker.ajp13Worker.cache_timeout=600


Any suggestions ?
Im giving IP address in NameVirtualHost and worker.ajp13Worker.host directives. Shall I provide DNS name?

Thankx again.
Vaneet


Vaneet Sharma
executive manager
iDeasTank Limited
an iwg business
dolphins' court po 388
valletta, m-malta/europe
vaneet@iwg.info
call me on www.skype.com - my ID is CALLVANEET

mobile: 

+356 9943 8263
skype:  CALLVANEET
fax:  +356 9952 8888
phone:  +356 9942 8888
Want a signature like this?

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
vaneet@iwg.info
call me on www.skype.com - my ID is CALLVANEET

mobile: 

+356 9943 8263
skype:  CALLVANEET
fax:  +356 9952 8888
phone:  +356 9942 8888
Want a signature like this?

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.