Skip navigation
Currently Being Moderated

How to upgrade CF 8.0.1 to CF 9?

Nov 5, 2012 3:32 AM

I have installed CF 8.0.1 in my machine and I want to upgrade it to CF 9 because it is the version required by our software. Any ideas is greatly appreciated.

 

 

Thanks in advance!

 
Replies 1 2 Previous Next
  • Currently Being Moderated
    Nov 6, 2012 1:41 AM   in reply to chiemen06

    Don't upgrade to CF 9; upgrade to CF 9.0.2. It is the best CF 9 build, containing all the upgrades and hotfixes and consisting of just one installation.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2012 2:07 AM   in reply to BKBK

    Don't upgrade to CF 9; upgrade to CF 9.0.2. It is the best CF 9 build

     

    Unless you're using Verity.  The chief difference between 9.0.1 and 9.0.2 is that Verity was (mostly) removed.  If using Verity, go to 9.0.1, and start planning to migrate your search collections from Verity to Solr, because Verity ain't there after 9.0.1.

     

    --

    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2012 2:09 AM   in reply to chiemen06

    I wouldn't attempt an "upgrade", I'd install 9.0.1 in parallel, and duplicate your site on the CF9 server and fully regression & load test it.  Then once it's tested OK, switch over to the CF9 server, leave the CF8 server there in place for a while, then once the CF9 version has proven itself in a live environment, switch off the CF8 version.

     

    --

    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2012 3:21 AM   in reply to Adam Cameron.

    Adam Cameron. wrote:

    Don't upgrade to CF 9; upgrade to CF 9.0.2. It is the best CF 9 build

    Unless you're using Verity. 

    Indeed. Thanks for that, Adam.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2012 3:40 AM   in reply to Adam Cameron.

    Adam Cameron. wrote:

     

    I wouldn't attempt an "upgrade", I'd install 9.0.1 in parallel, and duplicate your site on the CF9 server and fully regression & load test it.  Then once it's tested OK, switch over to the CF9 server, leave the CF8 server there in place for a while, then once the CF9 version has proven itself in a live environment, switch off the CF8 version.

    Solid advice for an existing CF 8 live site. However, the way I read it, Chiemen06 is currently in a development environment.

     

    If so, then I'd say onwards to 9.0.2! There is no need for him to linger about with 9.0.1, unless he is using Verity. Even then, if I remember correctly, there is always the option to migrate collections from Verity to Solr in CF 9.0.2.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2012 4:32 AM   in reply to chiemen06

    Thank you all for the reply. I did Adam's suggestion. [...]The problem I have now is when I updated it to 9.0.1

     

    Hang on... exactly what process did you perform?

     

    I specifically said don't *UPDATE*.  I said this:

     

    I wouldn't attempt an "upgrade", I'd install 9.0.1 in parallel, and duplicate your site on the CF9 server

     

    So just to verify... you did not "upgrade" anything, right?  You installed CF9 in addition to your existing CF8, and your use of the word "update" was misleading. Right?

     

    --

    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2012 4:36 AM   in reply to BKBK

    Even then, if I remember correctly, there is always the option to migrate collections from Verity to Solr in CF 9.0.2.

     

    Verity is gone from 9.0.2, so I would be surprised if there was.  I see no reference to Verity or migration in 9.0.2's CFAdmin.

     

    --

    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2012 5:30 AM   in reply to chiemen06

    chiemen06 wrote:

     

    I'm sorry for the confusion. I shut off CF8 then I installed CF9. Migrated my CF8 datasources and mappings. When I think that evertyhing is good,  I ran ColdFusion_update_901_WWEJ_win.exe because I need  CF version 9.0.1. After the 9.0.1 update, I encountered the error I mentioned.

    That is what I guessed. If you can shut off your CF8 site, it suggests your site doesn't have the usual always-on urgency of a production site. I am also assuming that you, like most developers, don't use Verity. You can therefore afford to go straight to 9.0.2, which involves just one installation.

     

    If you decide to go instead to 9.0.1, be aware that the errors you've just received are only the beginning. There is a plethora of hot fixes you have to install before you get settled with 9.0.1.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2012 5:40 AM   in reply to BKBK

    I am also assuming that you, like most developers, don't use Verity. You can therefore afford to go straight to 9.0.2, which involves just one installation.

     

     

    Yes.

     

    There is a plethora of hot fixes you have to install before you get settled with 9.0.1.

     

    There's this: http://helpx.adobe.com/coldfusion/kb/cumulative-hot-fix-2-coldfusion-1 .html

     

    And even that has the caveat "only install it if you're experiencing any of the problems specifically listed as being fixed".  hardly arduous.

     

    That's the only patch for 9.0.1 I can find.

     

    But, yes, if Verity is not a consideration, I'd've gone straight to 9.0.2.

     

    --

    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2012 5:40 AM   in reply to Adam Cameron.

    Adam Cameron. wrote:

     

    Even then, if I remember correctly, there is always the option to migrate collections from Verity to Solr in CF 9.0.2.

     

    Verity is gone from 9.0.2, so I would be surprised if there was.  I see no reference to Verity or migration in 9.0.2's CFAdmin.

    You see it right. There is no Verity in 9.0.2. I should point out that, when I mention migration of Verity to 9.0.2 or indeed 10, I mean Verity-migrated-to-Solr. I did come across a Verity-to-Solr tool some months ago. I'll go verify and report back.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2012 5:42 AM   in reply to chiemen06

    "Object Instantiation Exception.Class not found: coldfusion.security.ESAPIUtils The specific sequence of files included or processed is: C:\ColdFusion9\wwwroot\WEB-INF\exception\coldfusion\runtime\Expressio nException.cfm, line: 12 "

     

    Did you google the error?

     

    I did.  There's a bunch of matches, but Charlie's one is probably gonna be the best: http://www.carehart.org/blog/client/index.cfm/2011/10/21/why_chfs_may_ break

     

    (I didn't read it, cos I don't have the requisite month to spare to wade through it all ;-).

     

    --

    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2012 5:43 AM   in reply to BKBK

     

    You see it right. There is no Verity in 9.0.2. I should point out that, when I mention migration of Verity to 9.0.2 or indeed 10, I mean Verity-migrated-to-Solr. I did come across a Verity-to-Solr tool some months ago. I'll go verify and report back.

    They were there in previous versions of CF.  But by the time you're on 9.0.2, it's too late.

     

    --

    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2012 5:59 AM   in reply to BKBK

    BKBK wrote:

    There is no Verity in 9.0.2. I should point out that, when I mention migration of Verity to 9.0.2 or indeed 10, I mean Verity-migrated-to-Solr. I did come across a Verity-to-Solr tool some months ago. I'll go verify and report back.

    Verity-to-Solr tool

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2012 6:41 AM   in reply to Adam Cameron.

    Adam Cameron. wrote:

     

    BKBK wrote:

     

    There is a plethora of hot fixes you have to install before you get settled with 9.0.1.

     

    There's this: http://helpx.adobe.com/coldfusion/kb/cumulative-hot-fix-2-coldfusion-1 .html

     

    And even that has the caveat "only install it if you're experiencing any of the problems specifically listed as being fixed".  hardly arduous.

     

    That's the only patch for 9.0.1 I can find.

    There was also the CF9.0.1 Security Hotfix, of course. All in all a total tally of more than 100 folders and 2000 files to be installed, some of them duplicates.

     

    It was quite a headache to install. No wonder CF9.0.2 came along.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2012 7:07 AM   in reply to BKBK

     

    There's this: http://helpx.adobe.com/coldfusion/kb/cumulative-hot-fix-2-coldfusion-1 .html

     

    And even that has the caveat "only install it if you're experiencing any of the problems specifically listed as being fixed".  hardly arduous.

     

    That's the only patch for 9.0.1 I can find.

    There was also the CF9.0.1 Security Hotfix, of course.

     

    That's included in the one I linked to.

     

    All in all a total tally of more than 100 folders and 2000 files to be installed, some of them duplicates.

     

    It was quite a headache to install.

     

    Eh? It's not like one needs to copy the files individually! The install process was to unzip a file, upload a JAR file, then copy some files (CFIDE 7 WEB-INF updates).  Not arduous.

     

    No wonder CF9.0.2 came along.

     

    CF9.0.2 came along due to a legal requirement to remove Verity.  That was the only reason it came along.  There were a coupla other trivial things that were fixed, but the raison d'etre of 9.0.2 was to get rid of Verity.

     

    --

    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2012 8:24 AM   in reply to chiemen06

    OK, well I'd perhaps deinstall CF9 altogher and try again.  This time:

     

    1. Install CF9.
    2. Verify that you can get into CFAdmin (which is part of the install process anyhow).
    3. Check that it can serve a helloWorld.cfm file from your web root.
    4. Do NOT import any settings from your CF8 install yet.
    5. Install CF9.0.1
    6. Repeat 2-3
    7. Deploy your settings archive once 9.0.1 is known to be working OK

     

    How are you migrating the config, btw?  I'm assuming you're using the archive / deploy facility?  Perhaps archive each section of the settings into separate CAR files (eg: settings, DSNs, collections, etc all as separate files)

     

    Doing a reinstall might seem like throwing the baby out with the bath water, but it's sometimes quicker than working out what the problem is (which often yields to a reinstall anyhow).  It's worth trying at least once before scratching your head too much.

     

    --

    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2012 8:51 AM   in reply to chiemen06

     

    How are you migrating the config, btw?  I'm assuming you're using the archive / deploy facility?  Perhaps archive each section of the settings into separate CAR files (eg: settings, DSNs, collections, etc all as separate files)

     

    using migration wizard

     

    Oh right.  Never used it (and only vaguely aware of it existing). So I can't say whether there's any risks there or not, sorry.

     

    --

    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2012 8:55 AM   in reply to Adam Cameron.

    Adam Cameron. wrote:

    BKBK wrote:

     

    No wonder CF9.0.2 came along.

     

    CF9.0.2 came along due to a legal requirement to remove Verity.  That was the only reason it came along.  There were a coupla other trivial things that were fixed, but the raison d'etre of 9.0.2 was to get rid of Verity.

    I think one cannot separate the removal of Verity from the rest of the changes. As the release notes say  "... ColdFusion 9.0 Update 2 is a full installer. ...ColdFusion 9.0.2 update is a summation of ColdFusion 9.0.1, ColdFusion 9.0.1 Cumulative HotFixes 1 & 2, all ColdFusion 9.0.1 Security HotFixes, but without Verity.". I consider bundling all the fixes in one installer non-trivial. We can leave it at a difference of opinion.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2012 9:22 AM   in reply to Adam Cameron.

    Adam Cameron. wrote:

     

     

    There's this: http://helpx.adobe.com/coldfusion/kb/cumulative-hot-fix-2-coldfusion-1 .html

     

    And even that has the caveat "only install it if you're experiencing any of the problems specifically listed as being fixed".  hardly arduous.

     

    That's the only patch for 9.0.1 I can find.

    There was also the CF9.0.1 Security Hotfix, of course.

     

    That's included in the one I linked to.

     

    All in all a total tally of more than 100 folders and 2000 files to be installed, some of them duplicates.

     

    It was quite a headache to install.

     

    Eh? It's not like one needs to copy the files individually! The install process was to unzip a file, upload a JAR file, then copy some files (CFIDE 7 WEB-INF updates).  Not arduous.

    The problem I encountered had more to do with duplication. You've already mentioned one. The link you gave leads to the 2 downloads CF901 and CFIDE_901. CF901 is indeed identical to the security hot fix my link points to. However, it takes some searching to sus that out from the documentation.

     

    If you had already installed the fix my link points to, you only had to install CFIDE_901. My software configuration checker told me that that meant overwriting many files in CFIDE, that originated from the CF901 fix, with versions that had different file sizes and date-last-modified.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2012 3:36 PM   in reply to chiemen06

    Previously I find migration wizard not work so well.

     

    I personally prefer this method:

    -CF8admin Server Settings > Settings Summary > take a copy of details

    Server Information, Mail, JVM,  Tasks, Data & Services etc to text file.

    -remove CF8 webserver connections, uninstall CF8

    -install CF9 as per Adam list perhaps include CHF2 and subsequent security fixes

    -use CF9admin type / paste in settings using detail saved from CF8 Settings Summary

     

    Another method that has worked for me before is to:

    -save the CF8\lib\neo*.xml files

    -remove CF8 webserver connections, uninstall CF8

    -install CF9 update hotfix etc

    -stop CF9 service

    -copy neo*.xml files over

    -start CF9 and check settings

     

    HTH, Carl.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2012 3:37 PM   in reply to Adam Cameron.

    CF9.0.2 installer is much easier than CF9 + updater + CHF JAR then manual unZIP steps and you get a more recent Java (1.6.0_29 versa 1.6.0_17).

     

    Cheers, Carl.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2012 3:41 PM   in reply to carl type3

    I personally prefer this method:

     

    [etc]

     

    You wouldn't just archive all the settings from the CF8 install, and then deploy them on the CF9 install?

     

    --

    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2012 3:53 PM   in reply to Adam Cameron.

    Most of the CF8 I upgraded were Standard license so Packaging & Deployment > ColdFusion Archives option not available unless Dev or Enterprise.

    Adam sure doing the CAR file method worked when available.

    Cheers, Carl.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 7, 2012 12:07 AM   in reply to carl type3

    carl type3 wrote:

     

    Previously I find migration wizard not work so well.

     

    I personally prefer this method:

    -CF8admin Server Settings > Settings Summary > take a copy of details

    Server Information, Mail, JVM,  Tasks, Data & Services etc to text file.

    -remove CF8 webserver connections, uninstall CF8

    -install CF9 as per Adam list perhaps include CHF2 and subsequent security fixes

    -use CF9admin type / paste in settings using detail saved from CF8 Settings Summary

     

    Another method that has worked for me before is to:

    -save the CF8\lib\neo*.xml files

    -remove CF8 webserver connections, uninstall CF8

    -install CF9 update hotfix etc

    -stop CF9 service

    -copy neo*.xml files over

    -start CF9 and check settings

    Your second method is the one I use. I usually encounter one little snag. The neo-datasource.xml file only contains encrypted  passwords. You therefore have to reregister the password of each datasource in the administrator after the migration.

     

    The way I do it, the very first step is to go to the CF8 administrator and jot down the name and password of every datasource. The very last step will then be to go to the CF9 administrator, enter the password for each datasource in turn, and press Submit.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 7, 2012 1:08 AM   in reply to carl type3

    Most of the CF8 I upgraded were Standard license so Packaging & Deployment > ColdFusion Archives option not available unless Dev or Enterprise.

    Adam sure doing the CAR file method worked when available.

    Cheers, Carl.

     

    If it's not a mission critical server, you can temporarily downgrade the licence to be a dev licence, do the archive, re-apply the licence ;-)

     

    Obviously if you're in a situation where you have a single server which must be up, then this won't help you. Something to remember though.

     

    You could possibly go vote for 3035949, which is an attempt to get the archiving functionality added to the standard licence too.

     

    --

    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 7, 2012 1:33 AM   in reply to chiemen06

    the test cfm is working but it's still the same. Blank white page and same error. I'm on the verge of trying 9.0.2

     

    Suck.  Yeah, at this point it's perhaps the best thing to do.  Make sure that Verity conversion tool thing works first though, otherwise you might be stranded with no search collections.

     

    Have you read everything on Google about that error, and nothing helps?

     

    --

    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 7, 2012 4:59 AM   in reply to Adam Cameron.

    Adam Cameron. wrote:

     

    You could possibly go vote for 3035949, which is an attempt to get the archiving functionality added to the standard licence too.

    Thanks for the link, Adam. I, too, have voted.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 7, 2012 5:31 AM   in reply to chiemen06

    chiemen06 wrote:

     

    Adam Cameron. wrote:

     

    OK, well I'd perhaps deinstall CF9 altogher and try again.  This time:

     

    1. Install CF9.
    2. Verify that you can get into CFAdmin (which is part of the install process anyhow).
    3. Check that it can serve a helloWorld.cfm file from your web root.
    4. Do NOT import any settings from your CF8 install yet.
    5. Install CF9.0.1
    6. Repeat 2-3
    7. Deploy your settings archive once 9.0.1 is known to be working OK

     

    --

    Adam

     

     

    the test cfm is working but it's still the same. Blank white page and same error. I'm on the verge of trying 9.0.2

    I wouldn't if I were you. I do believe Adam's suggestion to be optimal in the circumstances. Given that you use Verity, you should aim for CF9.0.1. Be patient. You're almost there.

    I have not yet installed any 9.0.1 hot fixes and I have checked and verified that my CFIDE location is correct when I did the update.

    There! I can tell you right now that the hot fixes are vital to Updater 1. Like you, I encountered problems with CF 9.0.1 right out of the box. The hot fixes cured them.

     

    Follow the link Adam gave for the Cumulative Hot Fix 2 of CF9.0.1. Install the hot fixes CF901 and CFIDE-901 in that order, following the given instructions.

     

    While you're at it, you will notice that the instructions mention the word ESAPI. That word occurs in coldfusion.security.ESAPIUtils, which was the class involved in your error message. Mere coincidence? There's only one way to find out. Good luck.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 7, 2012 11:45 PM   in reply to chiemen06

    Ok, we're on. Please show us the error messages in full.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 8, 2012 12:23 AM   in reply to chiemen06

    Have you already migrated your Verity collections from CF8 to CF9.0.1? The fix by JF on 07-19-2010 at 8:05 AM in the Raymond Camden blog might help.

     
    |
    Mark as:
1 2 Previous Next

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points