tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Jaques" <bjaq...@hedgeflex.com>
Subject RE: problems getting jkstatus to work in mod_jk
Date Tue, 18 Jul 2006 17:16:58 GMT


 
 
> 
> Right and he tries http://mywebsite.com/status/ while he has 
> JkMount /jkstatus jkstatus, so I presume he might simply need 
> to check the http://mywebsite.com/jkstatus.
> Perhaps something is there  :)
> 
I  wish it were as simple as a mistyping
 

I enable the line "worker.jkstatus.type=status" in worker properties
and restart the web server I get
 "Internal Server Error. The server encountered an internal error or
misconfiguration and was 
unable to complete your request" on the http://mywebsite.com/traderweb/
web page as well as 
http://mywebsite.com/status/.  Somehow enabling that line in
workers.properties is breaking both my website
And the status.



If I comment out the line trader-web is accessible 

Again here is what is 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 /status jkstatus
</IfModule>

And workers.properties

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



Mime
View raw message