tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vaneet Sharma" <van...@iwg.info>
Subject RE: servlet not connecting
Date Mon, 04 Apr 2005 15:08:49 GMT
Thankx
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



-----Original Message-----
From: Phillip Qin [mailto:Phillip.Qin@shareowner.com] 
Sent: Monday, April 04, 2005 4:29 PM
To: 'Tomcat Users List'
Subject: RE: Jakarta-tomcat-connectors-1.2.10-src error


This is introduced by jk 1.2.10. Simply add into your httpd.conf
JkShmFile logs/mod_jk.shm shall fix this error.



-----Original Message-----
From: Vaneet Sharma [mailto:vaneet@iwg.info] 
Sent: April 4, 2005 8:54 AM
To: Tomcat Users List
Subject: Jakarta-tomcat-connectors-1.2.10-src error



I am getting error in  error_log

No JkShmFile defined in httpd.conf. LoadBalancer will not function
properly!

I am using new Jk Connector.. With tomcat 5.5.7


Jakarta connector -1.2.8 is working well with 5.5.7 on my other
machine... ( so configuration is fine and working well )

Something has changed in new connector 

Any suggestion

Vaneet




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@iwg.info
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.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message