Presentation: Installing Multiple Versions of ColdFusion Together
December 10, 2009 · 11 Comments
Here is my presentation from tonight's Philadelphia CFUG meeting.
Tags: ColdFusion · Presentations
Comments
Marc Ackermann wrote on 12/11/09 6:40 AM
Thanks for the presentation. I would use this setup on a developer or staging-server but never ever on a production enviroment.David Boyer wrote on 12/11/09 11:20 AM
D'oh, found out it's enterprise. Thought it was but didn't see it mentioned in your preso.Managed to get Railo working... kinda... The admin displays fine but it doesn't seem to like multiple virtual hosts like the CF instances do.
@Marc, why wouldn't you ever set up production in this way? Are you against multiple instances for some reason?
Daria wrote on 12/11/09 11:36 AM
@david: yes, multi-server is only in enterprise and developer editions@marc: we use multiple instances in production at freelibrary.org. multi-server's main purpose is for clustering
what i would caution about is using older versions of CF on newer versions of the Java Virtual Machine (JVM) without thoroughly testing your site for both functionality and load. Older versions of CF are only tested and guaranteed to work up to a certain JVM version, so it is up to you to make sure it works before releasing it to production
Brad Melendy wrote on 08/26/10 3:14 PM
Hi Daria,I've got a question about patching installations, for example to have a CF 801 install AND a CF 8 install to work with? I got to the point of installing CF9, then I patched it. Then I did another CF9 install to create the CF9 EAR file (j2ee config). Then I did a CF8 install (j2ee) to create another EAR file. Then I tried to patch it but it only lets me patch the JRUN4 directory? Anyway, I went ahead and patched and it broke things.
You have any wisdom here with regard to patching EAR files up to 801? Thanks. :-)
Daria wrote on 08/26/10 7:12 PM
@Brad my experience with cf8 is that the current download from the adobe site is the 801 version. i've not had to install anything to upgrade to that version. Conversely, the update from cf9 to 901 is an update to an already installed copy of cf9.i'm confused about which version you installed first. you would not need EAR files for both cf8 and cf9, because the version you start with has the cfusion instance to create instances from. if you install cf8 first, then deploy an instance of cf9 from an EAR, you can't run the 901 installer because it will try to update the cfusion instance in your JRun directory, which is cf8.
Brad wrote on 08/26/10 9:48 PM
Yeah, applying the 8.0.1 update wrecked the 9.0.1 jrun. I should have thought about re-downloading the CF8 which I'll do instead of installing from my older saved installer. I had originally did a 9.0 jrun install, then patched it to 9.0.1, then created an instance named cf901 and then I did a fresh 9.0 install creating the EAR file, then made a new instance called cf9 from the EAR. Then I did the 8.0 install, and tried updating it to 8.0.1 ;-) But tomorrow I'll just do the 8.0.1 download and install that. Thanks for your help.Royos wrote on 08/07/11 12:18 PM
Hello,I want to install CF 6.1 and CF 9 on same machine which is a 64bit SP1 Windows 7. And the I will use them separately.
Lets say my CF6.1 is installed as built-in server. This works fine.
When I install CF9 (using the Enterprise multiserver configuration), during the installation itself I get errors in the CF log file. Note that I intall it as trial edition..though this should not make any difference I think.
Can you tell me what am doing wrong. Thx for your precious help.
Royos
Daria wrote on 08/09/11 1:34 PM
@royos Hm, I've never tried that kind of configuration before. The two installations should not interfere with each other because they use different ports for the the standalone vs. multi-server installations. The 'trial' version is the same as the developer version, the only difference between it and the standard version is that the developer version will only serve content to one ip address at a time. To track down the errors in your CF9 installation, try submitting the details from the error logs to the ColdFusion Server mailing list on http://www.houseoffusion.com/ or to Stack Overflow http://stackoverflow.com/jim wrote on 08/29/11 1:59 PM
Hi Daria,I'm looking for some advice on a side by side install (CF 8,0,0,.. & CF 9,0,0,..) where I want to install the CF 9 Update 1. The CF 8 (using IIS) install is my live intranet and the CF 9 (using built in server) is currently the development server and will replace the CF8 once we finish a redesign of our intranet.
I've read a number of horror stories where the update crashed the system. Of course I don't want that to happen as the CF8 install is our production intranet.
I viewed your presentation and found it helpful, but of course it doens't match my configuration. Can you share and concerns or pitfalls before I do my update?
Thanks,
Jim
Daria wrote on 08/31/11 7:13 PM
@Jim it depends on which one you installed first. if cf8 is first, then you just need to delete your cf9 instance, then run the cf901 update on your original cf9 WAR or EAR file and then create a new cf901 instance.if cf9 was installed first, delete your cf8 instances, then run the cf901 update against your multiserver cf9 install. finally recreate your cf8 instances.








David Boyer wrote on 12/11/09 5:03 AM
Great presentation. The slides explained everything really well and the whole process is a lot clearer to me.I do have a quick question though. When going with this sort of setup in your production environment, can you use CF Standard or does it have to be enterprise for the multiple instances EAR/WAR deployments?
Thanks