tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Dickson <>
Subject Re: mod_jk api?
Date Fri, 06 Jun 2008 20:57:04 GMT
Thanks I may *have* to give it a try.  It's a compute farm, and we need
to be able to provision say 500 servers today to do something then turn
them off two weeks from now.  Needless to say, no one wants to do this
by hand.  I am working w/ our internal guys (You know them I assume.) to
encourage this type of feature set.  



On Fri, 2008-06-06 at 22:37 +0200, Johnny Kewl wrote: 

> ----- Original Message ----- 
> From: "Mike Dickson" <>
> To: <>
> Sent: Thursday, June 05, 2008 10:48 PM
> Subject: mod_jk api?
> > Is there any way/api to talk to mod_jk to tell it of a new Tomcat
> > instance to register it automatically to take load?  The only way I can
> > see of doing this is to POST to /jkstatus.  Ideas?
> >
> > MikeD
> Mike, this is a creative guess, never done it, never seen it.... but would 
> go about it like this, and I think its actually a great question...
> You... I think.... want to be able to bring in new TC's behind Apache at 
> will.
> I dont think its totally possible from a blank sheet, but if say you setup a 
> worker file with 15 tomcats in it.
> And then told apache to disable 12 thus leaving just the 3 that you start 
> with... and then later add more TC's and enable the preset "slots"...
> Possible to some extent maybe... if its LB then the JKMounts are probably 
> all the same, or built with a wild card to alow some expansion.
> I think thats possible (but I havnt tried it) because I'm almost sure 
> JKStatus has ant tasks, and these are built into TC.
> Yuk! you say, ant is not want you want ;)
> Yes but in TC where theres an ant task, there is documentation and where 
> there is an ant task there is also a URL based on a GET (normal browser 
> link) not a POST... and all the params are set in the query ie the 
> http://yourserver/somethingforJK?TurnMeOn=wada_wada
> Its a guess... but I have a feeling you going to end up impressing your 
> clients.
> Put Apache there, Put Tomcat 1,2,3,4..... here... open web page, say 
> "connect Tomcat to Apache"... and pay ;)
> Enjoy.... maybe ;) 

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message