> I currently have CF7.02 multi-server running three instances using > round-robin loadbalancing and session replication. I have set this up > a number of different ways and I need to know what best practice is > for this type of setup? > > All three application servers are answering on a context root of /. I > am using connector clustering to load balance requests coming in from > my single instance of Apache. The first time I set this up I created > an ear file using the packaging and deployment utility, then created > my 1st instance and deployed it from the ear file (repeated for each > additional instance). I then pointed the Apache docroot at the 1st > instance's war file D:\JRun4\servers\App1\cfusion.ear\cfusion.war. Is > this where I should have Apache docroot set? What is the point of > deploying the application to the internal JRun web server and then > serving it from Apache? This seems kind of redundant but I am probably > missing some fundamental knowledge on the interaction bewteen CF and > the webserver. > > The second setup I have tried is serving the application from a folder > outside the JRun4 folder structure e.g. (D:\App1) with Apache docroot > set here. I then setup connector clustering and deployed each instance > from the Enterprise Manager but this time I did not specify an ear or > war file to deploy from. In this setup the application works fine but > session replication does not (I assume this is because CF needs my app > to be deployed on the internal webserver in order for session > replication to work??). With this setup I get the error that "the web > application cfusion.ear#cfusion.war could not be found to accept > sessions for replication". As well as a Error while parsing Post Data > exception java.lang.IllegalArgumentException: Short Read during the > deploying enterprise application portion of the server startup. > > Is it ok to have Apache Docroot set to the application server webroot > of the 1st instance? What are my options and what are generally > accepted best practices for this type of setup? > > On a side note I have done quite a bit of research bpurcell.org, > talking tree, My other Beans etc but have not found guidance for this > particular issue. If this topic has been hammered to death as I > suspect, links to more reading in lieu of an answer are also very much > appreciated. Thanks in advance for your time.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294250 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

