Unofficial Updater 2 for Adobe Coldfusion - AWEsome
Published on
I finally had the chance to use the Unofficial Updater 2 (uu2) by David Epler. I must say it is pretty AWEsome. Being a user and not reading, I scanned the readme file in the github repository, then tried using it. Big mistake. Be sure to look at the revamped readme with a "How to Use" section and the wiki. That being said, it is pretty easy once I overcame two issue. The first big issue was I missed the wiki so was trying to run the jar by clicking on it which gave a tools.jar error. You need to run the jar via the command prompt with "java -jar Unofficial-Updator2.jar" if you get this error. Second issue, my scanning of readme wasn't good so be sure your Adobe ColdFusion (ACF) servers are at least 8.0.1 or 9.0.1. Once user-stupidity was overcame, I think uu2 is very useful. Check the wiki for screenshots. Below is a sample of the output for updating an ACF 9.0.1 war instance. ---------
Targets:preUpdateUnable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre7\lib\tools.jarBuildfile: C:\Users\mhenke\AppData\Local\Temp\antinstall0\build.xmlpreUpdate: Found ColdFusion version 9,0,1,274733update_901:backup: Creating backup files Creating backup of C:/JRun4/servers/rewrite2/Test-CF9.ear/Test-CF9.war/WEB-INF Building zip: C:\JRun4\servers\rewrite2\Test-CF9.ear\Test-CF9.war\WEB-INF-uu2-20120104-160930.zip Creating backup of C:/JRun4/servers/rewrite2/Test-CF9.ear/Test-CF9.war/CFIDE Building zip: C:\JRun4\servers\rewrite2\Test-CF9.ear\Test-CF9.war\CFIDE-uu2-20120104-160930.zipdirectoryPrep: Creating Downloads directory Created dir: C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads Created dir: C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf801 Created dir: C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf801\cpsid_52915 Created dir: C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf801\kb403597 Created dir: C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf801\kb403795 Created dir: C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf801\kb403411 Created dir: C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf801\cpsid_84585 Created dir: C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf801\cpsid_86589 Created dir: C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf801\cpsid_90784 Created dir: C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf801\cpsid_92512 Created dir: C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf801\APSB09-12 Created dir: C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf901 Created dir: C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf901\cpsid_91836 Created dir: C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf901\cpsid_92512 Clearing all existing Hot Fixes from C:/JRun4/servers/rewrite2/Test-CF9.ear/Test-CF9.war/WEB-INF/cfusion/lib/updatescpsid_91836: Cumulative Hot Fix 2 (CHF2) for ColdFusion 9.0.1 Getting: http://kb2.adobe.com/cps/918/cpsid_91836/attachments/CF901.zip To: C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf901\cpsid_91836\CF901.zip................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ last modified = Mon Nov 07 09:21:19 CST 2011 Getting: http://kb2.adobe.com/cps/918/cpsid_91836/attachments/CFIDE-901.zip To: C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf901\cpsid_91836\CFIDE-901.zip................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. last modified = Mon Nov 07 09:21:19 CST 2011 Unpacking CF901.zip Expanding: C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf901\cpsid_91836\CF901.zip into C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf901\cpsid_91836 Applying files to C:/JRun4/servers/rewrite2/Test-CF9.ear/Test-CF9.war/WEB-INF/cfusion/lib Copying 9 files to C:\JRun4\servers\rewrite2\Test-CF9.ear\Test-CF9.war\WEB-INF\cfusion\lib Copying C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf901\cpsid_91836\CF901\lib\ESAPI.properties to C:\JRun4\servers\rewrite2\Test-CF9.ear\Test-CF9.war\WEB-INF\cfusion\lib\ESAPI.properties Copying C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf901\cpsid_91836\CF901\lib\updates\chf9010002.jar to C:\JRun4\servers\rewrite2\Test-CF9.ear\Test-CF9.war\WEB-INF\cfusion\lib\updates\chf9010002.jar Copying C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf901\cpsid_91836\CF901\lib\esapi-2.0_rc10.jar to C:\JRun4\servers\rewrite2\Test-CF9.ear\Test-CF9.war\WEB-INF\cfusion\lib\esapi-2.0_rc10.jar Copying C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf901\cpsid_91836\CF901\lib\commons-fileupload-1.2.jar to C:\JRun4\servers\rewrite2\Test-CF9.ear\Test-CF9.war\WEB-INF\cfusion\lib\commons-fileupload-1.2.jar Copying C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf901\cpsid_91836\CF901\lib\validation.properties to C:\JRun4\servers\rewrite2\Test-CF9.ear\Test-CF9.war\WEB-INF\cfusion\lib\validation.properties Copying C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf901\cpsid_91836\CF901\lib\flex-messaging-common.jar to C:\JRun4\servers\rewrite2\Test-CF9.ear\Test-CF9.war\WEB-INF\cfusion\lib\flex-messaging-common.jar Copying C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf901\cpsid_91836\CF901\lib\jpedal.jar to C:\JRun4\servers\rewrite2\Test-CF9.ear\Test-CF9.war\WEB-INF\cfusion\lib\jpedal.jar Copying C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf901\cpsid_91836\CF901\lib\log4j.properties to C:\JRun4\servers\rewrite2\Test-CF9.ear\Test-CF9.war\WEB-INF\cfusion\lib\log4j.properties Copying C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf901\cpsid_91836\CF901\lib\flex-messaging-core.jar to C:\JRun4\servers\rewrite2\Test-CF9.ear\Test-CF9.war\WEB-INF\cfusion\lib\flex-messaging-core.jar Applying files to C:/JRun4/servers/rewrite2/Test-CF9.ear/Test-CF9.war/CFIDE Expanding: C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf901\cpsid_91836\CFIDE-901.zip into C:\JRun4\servers\rewrite2\Test-CF9.ear\Test-CF9.war Applying files to C:/JRun4/servers/rewrite2/Test-CF9.ear/Test-CF9.war/WEB-INF Expanding: C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf901\cpsid_91836\CF901\WEB-INF.zip into C:\JRun4\servers\rewrite2\Test-CF9.ear\Test-CF9.warcpsid_92512_cf901: Downloading Security update: Hotfix available for ColdFusion (APSB11-29) Getting: http://kb2.adobe.com/cps/925/cpsid_92512/attachments/CF901jar.zip To: C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf901\cpsid_92512\CF901jar.zip.................................................................................................................................................................................................................................................. last modified = Tue Dec 20 13:31:31 CST 2011 Expanding: C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf901\cpsid_92512\CF901jar.zip into C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf901\cpsid_92512 Applying files to C:/JRun4/servers/rewrite2/Test-CF9.ear/Test-CF9.war/WEB-INF/cfusion/lib Copying 1 file to C:\JRun4\servers\rewrite2\Test-CF9.ear\Test-CF9.war\WEB-INF\cfusion\lib\updates Copying C:\Users\mhenke\AppData\Local\Temp\antinstall0\downloads\cf901\cpsid_92512\CF901jar\hf901-00003.jar to C:\JRun4\servers\rewrite2\Test-CF9.ear\Test-CF9.war\WEB-INF\cfusion\lib\updates\hf901-00003.jarcleanup: Clearing all compiled code from C:/JRun4/servers/rewrite2/Test-CF9.ear/Test-CF9.war/WEB-INF/cfclassesBUILD SUCCESSFULTotal time: 3 minutes 24 seconds