Brad Wood wrote: >> This context root is used to determine whether a request will be handled >> by the application server or just by the web server. > > OK, thanks for the link. That is starting to make sense. > I still don't see how your context root mappings could force a request > to go to a certain instance, since the context root us supposed to > determine the application within the instance which will handle the > request.
You can not do that through the normal webserver connector. The default algorithm for sending a certain request to a certain instance of the cluster depends on the first 4 bytes of the J2EE sessionID. You can change that algorithm to round robin, but I don't think that is going to help you. > I guess one thing that is confusing me is that it doesn't seem that my > ColdFusion instance has a clue where the actual CFM files for my > "application" reside. Nowhere in the setup for my new instance do I > specify that. Your webserver passes the request to CF. CF looks at the relative URL in the forwarded request and maps that to the known context roots (the list of them is in application.xml in the MEAT-INF directory). If there is a match the request is handled by that application and antyhing after the context root is appended to the location of the .war. Any virtual directories you need are in the xxx.web.jrun.xml file (xxx depends on the name of the application). > I guess that would work, but it sure seems lame. We use cfchart all > over our site interspersed throughout the pages. The pages which > display the charts are still part of the rest of the application and > need to be part of the cluster so they can share all the needed session > info. > > How have other people dealt with this in real life? > What about my sticky sage question? Uhmm, it just works??? The default behaviour for the webserver connector for clusters is to provide sticky sessions based on the first 4 bytes of the J2EE sessionID. Have you enabled J2EE sessions? Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273692 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

