Bonjour- Then we define a URL, which should be mapped to this worker, i.e. the URL we use to reach the functionality of the status worker. You can use any method mod_jk supports for the web server of your choice. Possibilities are maps inside uriworkermap.properties, an additional mount attribute in workers.properties, or in Apache JkMount. Here's an example for a uriworkermap.properties line: /private/admin/mystatus=mystatus http://tomcat.apache.org/connectors-doc/reference/status.html
Bon Chance! Martin ______________________________________________ Note de déni et de confidentialité Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Fri, 29 May 2009 13:50:17 -0700 > From: lai...@sfu.ca > To: users@tomcat.apache.org > Subject: jk Status not showing errors > > Good afternoon, > > I've been trying to get the jkstatus component of mod_jk running, and > I'm not quite sure what I'm doing wrong in trying to have it report dead > Tomcat instances. > > I have two tomcat instances setup in a load balancer, as a test I've > taken down one of them. However the jkstatus screen still shows both of > them as OK. I'm not sure what I'm missing from my workers.properties > file to make it test the Tomcat and report a failed instance, so I can > set Nagios to monitor this page and report problems. > > My workers.properties is: > > worker.list=production,development,old,jkstatus > > worker.production.type=lb > worker.production.balance_workers=production1,production2 > worker.production.sticky_session=True > worker.production.method=S > > worker.lbbasic.type=ajp13 > worker.lbbasic.connect_timeout=10000 > worker.lbbasic.recovery_options=7 > worker.lbbasic.socket_keepalive=1 > worker.lbbasic.socket_timeout=60 > > worker.production1.reference=worker.lbbasic > worker.production1.port=8009 > worker.production1.host=localhost > #worker.production1.redirect=production2 > > worker.production2.reference=worker.lbbasic > worker.production2.port=8012 > worker.production2.host=localhost > #worker.production2.activation=disabled > > worker.development.port=8010 > worker.development.host=localhost > worker.development.type=ajp13 > > worker.old.port=8011 > worker.old.host=localhost > worker.old.type=ajp13 > > worker.jkstatus.type=status > > > Any advice on extra options to make jkstatus check and report when one > of the Tomcat instances isn't responding would be appreciated. > > Thanks. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > _________________________________________________________________ Insert movie times and more without leaving Hotmail®. http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd1_052009