| Doug, Why not use cfdirectory to loop thru the JRun4/servers folder, picking up the port number from each instance's web.xml file ala: <cfdirectory action="" directory="/CFMX7/servers" name="dirList" /> <cfoutput query="dirList"> <cfset fileName = directory & "/" & name & '/SERVER-INF/jrun.xml'> <cfset cfTest = directory & "/" & name & '/cfusion.ear/cfusion.war/cfide'> <cfset cfAltTest = directory & "/" & name & '/cfusion-ear/cfusion-war/cfide'> <cfif dirList.type is "Dir" and fileExists(fileName) and (directoryExists(cfTest) or directoryExists(cfAltTest))> <cfset appXml = xmlParse(fileName)> <cfset port = xmlSearch(appXml,"/jrun-server/[EMAIL PROTECTED]'WebService']/[EMAIL PROTECTED]'port']")> Refreshing #name#:#port[1].xmlText#<br> <cfhttp url=""http://localhost">http://localhost:#port[1].xmlText#/reloadAppScopeWhatever.cfm" /> </cfif> </cfoutput> But instead of outputting #name#, use CFHTTP to call something to refresh the application. Just a thought, and it may not work for your situation, but it seems worth a try... I suppose it would work well if you're running a cluster of instances on the same box. I'm not all THAT familiar with clustering, so you may need to tweak accordingly. Laterz, J ------------------------------------------------ Jared C. Rypka-Hauer Continuum Media Group LLC Member, Team Macromedia - ColdFusion "That which does not kill me makes me stranger." - Yonah Schmeidler ![]() ![]() ![]() On May 1, 2006, at 8:46 PM, Douglas Knudsen wrote:
|
- [Reactor For CF] reactor and J2EE clusters Douglas Knudsen
- Re: [Reactor For CF] reactor and J2EE clusters Sean Corfield
- Re: [Reactor For CF] reactor and J2EE clusters Douglas Knudsen
- Re: [Reactor For CF] reactor and J2EE clust... Jared Rypka-Hauer
- Re: [Reactor For CF] reactor and J2EE clust... Sean Corfield
- RE: [Reactor For CF] reactor and J2EE clust... Doug Hughes
- Re: [Reactor For CF] reactor and J2EE c... Douglas Knudsen
- RE: [Reactor For CF] reactor and J2EE clusters Duba, Phillip




