Matt, 

I'm a little confused on what the problem is.  You're saying you have
several sites such as 

www.example.com/app1
www.example.com/app2
www.example.com/app3

and what you're saying is that app1, app2, and app3 are virtual folders, and
you've set up each virtual folder to go to a different instance of JRUN.  

If you have multiple clustered instances of JRUN, the connector will round
robin between all the instances, and you should have session sharing enabled
so that sessions replicate between the instances.  

I'm not sure exactly how the JSessionID cookies work, but if they are per
application, and you have different application names for each app, it's
possible that they are overriding each other. 

Try using HTTPLook and see what cookies are being sent and received.  If
this is indeed the problem, you might have to set up separate domains (or
subdomains) for each app.  Something like 

App1.example.com
App2.example.com
App3.example.com 

Hope this helps, 

Russ

> -----Original Message-----
> From: Matthew Williams [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 31, 2007 11:03 AM
> To: CF-Talk
> Subject: Multiple Instances and Virtual Directories...
> 
> 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?  I'm thinking the only solution
> will be to move sites with their own instance into their own website, but
> it's going to involve multiple SSL sites on one IP with differing host
> heads... requiring a large headache of IIS administration requiring
> *.mysite.com type CERTS (our load balancing software defines a node by
> machine name, and can't handle multiple IPs on a single server).  Anyone
> else just map virtual directories to different instances?
> 
> Matthew Williams
> Geodesic GraFX
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:268234
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