tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Jaques" <bjaq...@hedgeflex.com>
Subject problems getting jkstatus to work in mod_jk
Date Mon, 17 Jul 2006 23:19:11 GMT
I am using apache to load balance apache/tomcat servers

I am trying to add jkstatus. It works fine until I enable the line in workers.properties enabling
jkstatus then I get
"The server encountered an internal error or misconfiguration and was unable to complete your
request."
When I access http://mywebsite.com/status/ but http://mywebsite.com/trader-web/ works fine.
I cannot 
Find my errors also is there a way to eliminate the last / on trader-web to not be required

Thanks 
Bob




I am running the most current mod_jk



Here is what I have in httpd.conf

...
<IfModule !mod_jk.c>
LoadModule jk_module modules/mod_jk.so
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel debug
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
JkMount /trader-web/* wrkr
JkMount /jkstatus jkstatus
</IfModule>

Here is workers.properties

#worker.list=node1, node2, wrkr
worker.list=wrkr,jkstatus

worker.wrkr.type=lb
worker.wrkr.balanced_workers=node1,node2
worker.wrkr.sticky_session=1

worker.node1.port=8010
worker.node1.host=172.20.117.80
worker.node1.type=ajp13
worker.node1.lbfactor=100
worker.node1.cachesize=10
worker.node1.cache_timeout=600
worker.node1.socket_keepalive=1
worker.node1.recycle_timeout=300

worker.node2.port=8010
worker.node2.host=172.20.117.84
worker.node2.type=ajp13
worker.node2.lbfactor=100
worker.node2.cachesize=10
worker.node2.cache_timeout=600
worker.node2.socket_keepalive=1
worker.node2.recycle_timeout=300

worker.jkstatus.type=status


  



 

 
Robert R. Jaques
Director Technical Operations 
HedgeFleX Inc 
490 2nd Street
Suite 100
San Francisco, CA 94107 
bjaques@hedgeflex.com 
tel: 
fax: 
mobile:
Skype
Yahoo  IM 
415.357.1177 ext 203
415.357.9897     
415.595.7496
415.578.4490
bobjaques 
 
 
 
 


Mime
View raw message