Since last month I was working with Railo and ColdFusion 9 (standard edition) to clustering and load balancing. I have started with Railo as I was new to Railo and keen to work around it. I wrote several post about Railo installation
Configure multiple sites on RAILO, Tomcat and Windows
Configure multiple sites on RAILO, Tomcat and Windows - part ii
Running multiple instances of RAILO on tomcat.
Now it turn of ColdFusion for load balancing. I have googled it about but mostly found articles with enterprise edition and it is easy to implement but I want to work with developer/standard edition. Below is step by step instruction to running multiple ColdFusion (standard edition) instances on one computer.
Requirement:
We all knowing how to get war version but who are new to ColdFusion let me explain in few steps.
Now we have enough material to run ColdFusion on tomcat. Extract tomcat zipped version in anywhere in harddrive ( In my case it was on e:\tomcat that I will refer as TOMCATHOME in post).
<Host name="cfsite.local" appBase="e:\cfsite" unpackWARs="true" autoDeploy="true"> <Context path="" docBase="e:\cfsite\cfusion"/> </Host>
<Server port="8005" shutdown="SHUTDOWN"> to <Server port="8015" shutdown="SHUTDOWN"><Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> to <Connector port="8081" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /><Connector port="8009" protocol="AJP/1.3" redirectPort="8443" /> to<Connector port="8019" protocol="AJP/1.3" redirectPort="8443" />
My single coldfusion hosting site is running on two different instances. In Part - II we will work with load balancing with mod_jk and apache server.