Matthew Williams wrote:
> We have multiple CF instances (all clustered) on our production systems.  The 
> problem is, we don't run multiple websites (although this could change).  
> Every application has a /<something> site off of the root website.  I've 
> mapped sites that use a different instance to the correct JRun filter 
> (wsconfig/<whatever>) and all seems well... except sometimes, the JSessionID 
> assigned to a user belongs to the main website.  When this happens, a 
> persons' request just round robins within the instances, and session 
> information is never stored correctly.
> 
> Has anyone else ever come across this?

No, but I am willing to take a guess :)

When you connect IIS to a JRun cluster the connector uses sticky 
sessions to forward requests from one browser to the same JRun instance. 
The connector knows which JRun instance because each JRun instance has a 
connector.properties file with a server.id that corresponds to the first 
4 characters of the jsessionid cookie. So what I think is happening is 
that the jsessionid has a server.id from cluster A while the request is 
for a virtual directory that is served by cluster B.

If you are feeling adventurous you could try to make sure that the same 
server.ids are present in each cluster, but that is untested and you 
should try that in a test environment first.

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268256
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to