On Mon, Feb 7, 2011 at 10:58 PM, Richard  Steele wrote:
> Well, I'm wondering if I can access the instance using an external, website 
> address. Our developers don't necessarily have access to logging into the 
> server.
>
> So, I'm hoping we could do something like this.
> http://www.website.com/index.cfm?CFID=x where x is the id of an instance.

The load balancing in a Java cluster is a feature of the underlying
Java container and the connector used to connect it to a webserver. Or
alternatively of the loadbalancer you use to distribute the load
between the diffeent webservers.
You didn't explicitly specify what you are using, so I will presume
you are using several ColdFusion instances deployed on JRun, connected
to a single webserver. The way you can influence to which server a
request goes is through the jsessionid. Make sure you configure the
cluster to use sticky sessions and then look up the server.id for each
instance (in the connector.properties file in SERVER-INF). Any
jsessionidof which the first 4 bytes are equal to the server.id will
be directed to that instance.

If you have a different setup, ask on the mailinglist for you
loadbalancer vendor or Java container.

Jochem

-- 
Jochem van Dieten
http://jochem.vandieten.net/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341968
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to