by CFMX cluster you are speaking of SOFTWARE based clustering in JRun, not a load balancer correct? Try this code below, it will tell you what instance you are on. I use this. Its a real PITA though to make sure you are on instance foo or goo. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <head> <title>Untitled</title> </head> <body> <cfobject action="create" type="java" class="jrunx.kernel.JRun" name="jr" /> <cfset servername = jr.getServerName() /> <p><cfoutput>JRun Server Name: #servername#</cfoutput></p </body> </html> Now, another solution, one I am getting ready to use: In my JRun cluster, I have the internal webserver turned on for each instance. You need to do this anyway to get at the CFAdmin tool per instance. I am planning on dropping code in the internal server web root for each instance to refresh app scopes and such. DK On 6/22/05, jacksonj @ calib. com jacksonj @ calib. com <[EMAIL PROTECTED]> wrote: > > > Is it possible to share sessions without clustering? > > > > (I'd like to be able to know that when I'm hitting Server A, that the > > application I'm seeing is coming from Server A. This is for hardware > > load-balancing and fail-over reasons.) > > Here's a real world example: Sometimes, I need to "reload" my > applications, which I do via a url parameter that clears cached queries, > application variables, etc. Normally (without a cluster), I have a separate > domains that hit each individual server on my load-balanced farm, and I can > reload the application on each server. > > However, since CFMX is clustered, I've got no idea whether I'm reloading > the application on Machine A, Machine B, or Machine C. Is there a solution > for this? Am I the only one who is attempting J2EE session sharing? > > Ack!! > > Thanks, > Jamie > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:210256 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

