aboutwebllc / unofficial-updater2 Goto Github PK
View Code? Open in Web Editor NEWAnt script to update ColdFusion 8.0.1 or 9.0.x with all published patches
Ant script to update ColdFusion 8.0.1 or 9.0.x with all published patches
Had an error on windows running uu2. To fix, I deleted stuff in the temp folder like C:\DOCUME1\mhenke\LOCALS1\Temp\3\ and then created a new folder on my desktop called uu2-backup and pointed the backup there.
Worked fine after this.
Solution might be to wipe the temp\3 folder when running uu2.
Love the tool, it saved so much time!
I tried running the Updater on my production server and it failed. Message I got said to 'examine the error log for details' however, it does not state what log file.
I am running CentOS Linux 5.6
I ran UU2 recently to one 8.0.1 server and it worked great (HackMyCF reported all up to snuff). I applied it to another 8.0.1 server (which, interestingly, started life as a tar'd backup of the other server) and HackMyCF reports that Hotfix APSB11-14 is not Installed.
Any ideas? I'm happy to check a specific file or something to help debug?
I've got a rather large development team. Rather than have everyone download the hot fixes from Adobe.com, would it be possible to add a "local hot fix folder" option so that we can create a hot fix folder on the network and have devs copy everything locally to run the update?
Is there a way to skip the backup for us crazy guys? Looking though the ant.install I see java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
Logger initialized
Ant basedir:C:\Users\mike.henke\AppData\Local\Temp\1\antinstall
Filter: org.tp23.antinstaller.runtime.exe.LoadConfigFilter
Config loaded
Filter: org.tp23.antinstaller.runtime.exe.CreateUIFilter
Creating UI classes
Setting look and feel:com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Can not correctly set Look And Feel:com.sun.java.swing.plaf.windows.WindowsLookAndFeel.setAntiAliased(boolean)
java.lang.NoSuchMethodException: com.sun.java.swing.plaf.windows.WindowsLookAndFeel.setAntiAliased(boolean)
at java.lang.Class.getMethod(Class.java:1605)
at org.tp23.antinstaller.renderer.swing.plaf.LookAndFeelFactory.setLAF(LookAndFeelFactory.java:63)
at org.tp23.antinstaller.runtime.exe.CreateUIFilter.getRunner(CreateUIFilter.java:116)
at org.tp23.antinstaller.runtime.exe.CreateUIFilter.exec(CreateUIFilter.java:47)
at org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:85)
at org.tp23.antinstaller.selfextract.SelfExtractor.main(SelfExtractor.java:370)
Created UI classes
Filter: org.tp23.antinstaller.runtime.exe.PropertyLoaderFilter
loadDefaults attribute:false
Not loading defaults
Filter: org.tp23.antinstaller.runtime.exe.ExecuteRunnerFilter
Starting UI Screens
Install screens rendered
Filter: org.tp23.antinstaller.runtime.exe.PropertyPrinterFilter
auto build supported: false
Properties printed:C:\Users\MIKE~1.HEN\AppData\Local\Temp\1\antinstall\ant.install.properties
Filter: org.tp23.antinstaller.runtime.exe.AntLauncherFilter
Starting Ant Launcher
Running targets:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at org.tp23.antinstaller.renderer.swing.ProgressPanel.targetStarted(ProgressPanel.java:86)
at org.tp23.antinstaller.renderer.swing.SwingInstallerContext$TargetStarted.run(SwingInstallerContext.java:140)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at org.tp23.antinstaller.renderer.swing.ProgressPanel.targetStarted(ProgressPanel.java:86)
at org.tp23.antinstaller.renderer.swing.SwingInstallerContext$TargetStarted.run(SwingInstallerContext.java:140)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at org.tp23.antinstaller.renderer.swing.ProgressPanel.targetStarted(ProgressPanel.java:86)
at org.tp23.antinstaller.renderer.swing.SwingInstallerContext$TargetStarted.run(SwingInstallerContext.java:140)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:998)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1320)
at org.tp23.antinstaller.renderer.swing.SwingInstallerContext.targetFinished(SwingInstallerContext.java:103)
at org.tp23.antinstaller.antmod.FeedbackListener.targetFinished(FeedbackListener.java:78)
at org.apache.tools.ant.Project.fireTargetFinished(Project.java:2084)
at org.apache.tools.ant.Target.performTasks(Target.java:390)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:217)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:134)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.tp23.antinstaller.antmod.Main.runBuild(Main.java:704)
at org.tp23.antinstaller.antmod.Main.startAnt(Main.java:216)
at org.tp23.antinstaller.antmod.Launcher.run(Launcher.java:242)
at org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:76)
at org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:85)
at org.tp23.antinstaller.selfextract.SelfExtractor.main(SelfExtractor.java:370)
Caused by: java.lang.NullPointerException
at org.tp23.antinstaller.renderer.swing.ProgressPanel.targetFinished(ProgressPanel.java:115)
at org.tp23.antinstaller.renderer.swing.SwingInstallerContext$3.run(SwingInstallerContext.java:106)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at org.tp23.antinstaller.renderer.swing.ProgressPanel.targetStarted(ProgressPanel.java:86)
at org.tp23.antinstaller.renderer.swing.SwingInstallerContext$TargetStarted.run(SwingInstallerContext.java:140)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
v
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at org.tp23.antinstaller.renderer.swing.ProgressPanel.targetStarted(ProgressPanel.java:86)
at org.tp23.antinstaller.renderer.swing.SwingInstallerContext$TargetStarted.run(SwingInstallerContext.java:140)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Abort called
Output from run:
[echo] Found ColdFusion version Error occurred during initialization of VM
[echo] Could not reserve enough space for object heap
It might be nice to be able to save the output tab via gui. Or even a copy button.
Just a suggestion, you could use github pages for the uu2 site. http://pages.github.com/
Still keep the domain name too. Plus its free :-)
Version 9,0,1,274733
BUILD FAILED
C:\DOCUME1\rhughes\LOCALS1\Temp\antinstall\build.xml:57: The following error occurred while executing this line:
C:\DOCUME1\rhughes\LOCALS1\Temp\antinstall\build.xml:91: The following error occurred while executing this line:
C:\DOCUME1\rhughes\LOCALS1\Temp\antinstall\build.xml:97: The following error occurred while executing this line:
C:\DOCUME1\rhughes\LOCALS1\Temp\antinstall\build.xml:99: java.net.ConnectException: Connection timed out: connect
Total time: 21 seconds
org.tp23.antinstaller.InstallException: Error running the install, Ant run failed - examine the error logs for details
at org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:88)
at org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:85)
at org.tp23.antinstaller.selfextract.SelfExtractor.main(SelfExtractor.java:370)
Caused by: org.tp23.antinstaller.InstallException: Ant run failed - examine the error logs for details
at org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:78)
... 2 more
--- Nested Exception ---
org.tp23.antinstaller.InstallException: Ant run failed - examine the error logs for details
at org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:78)
at org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:85)
at org.tp23.antinstaller.selfextract.SelfExtractor.main(SelfExtractor.java:370)
Targets:preUpdate
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\lib\tools.jar
Buildfile: C:\DOCUME1\rhughes\LOCALS1\Temp\antinstall\build.xml
preUpdate:
download_hotfixes:
[mkdir] Created dir: C:\DOCUME1\rhughes\LOCALS1\Temp\antinstall\downloads
[mkdir] Created dir: C:\DOCUME1\rhughes\LOCALS1\Temp\antinstall\downloads\kb403411
[echo] Downloading: Patch for CFImage and Image functions in ColdFusion 8.0.1 (hf801-71557)
[get] Getting: http://www.adobe.com/support/coldfusion/ts/documents/kb403411/hf801-71557.zip
[get] To: C:\DOCUME1\rhughes\LOCALS1\Temp\antinstall\downloads\kb403411\hf801-71557.zip
[get] Error getting http://www.adobe.com/support/coldfusion/ts/documents/kb403411/hf801-71557.zip to C:\DOCUME1\rhughes\LOCALS1\Temp\antinstall\downloads\kb403411\hf801-71557.zip
removed
When running the updater for multi-instance install, at the screen that asks for the JRun, WEB-INF and CFIDE directories, the button labeled 'Select Folder' for the CFIDE directory (3rd button from top) does not do anything when you click it. I had assumed that it would have opened some kind of explorer window to allow me to choose the folder location.
@carehart @mikehenke yes. Files changed/added/deleted are listed on github. #uu2
@mikehenke @dcepler but hang on: that's saying what it does NOT update. whole point is that recent complex hotfixes are in many dirs... :-)
on failure allow back, not force exit
might be nice to know how to restore from uu2 backups. also stress to have other backup ready in case something goes wrong
Targets:preUpdate
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre7\lib\tools.jar
Buildfile: C:\Users\mhenke\AppData\Local\Temp\antinstall\build.xml
preUpdate:
[echo] Found ColdFusion version 9,0,0,251028
I have JAVA_HOME set a system variable called JAVA_HOME to C:\Program Files\Java\jdk1.6.0_23
If I go into the command prompt and run "ant -version", there is no tools.jar warning. It seems UU2 is using another setting for java location.
I ran the updater on a dev server with no problem. Just tried it on a prod server (ColdFusion 9.0.1, Windows Server 2008)and got
Targets:
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\lib\tools.jar
Buildfile: C:\Users\username\AppData\Local\Temp\2\antinstall0\build.xml
runType:
[echo] Starting UU2 on Thursday, August 02, 2012 at 15:46:14 PDT
preUpdate:
[echo] UU2 running as user: username
[echo] UU2 running on OS: Windows Server 2008 6.0
[echo] Found ColdFusion version 9,0,1,274733
update_901:
backup:
[echo] Creating backup of C:\ColdFusion9/lib
[zip] Building zip: C:\Data\backup\updater\lib-uu2-20120802-154614.zip
[echo] Creating backup of C:\ColdFusion9\wwwroot\WEB-INF
[zip] Building zip: C:\Data\backup\updater\WEB-INF-uu2-20120802-154614.zip
[echo] Creating backup of C:\ColdFusion9\wwwroot\CFIDE
[zip] Building zip: C:\Data\backup\updater\CFIDE-uu2-20120802-154614.zip
directoryPrep:
[echo] Clearing all existing Hot Fixes from C:\ColdFusion9/lib/updates
[delete] Deleting: C:\ColdFusion9\lib\updates\empty.txt
BUILD FAILED
C:\Users\username\AppData\Local\Temp\2\antinstall0\build.xml:60: The following error occurred while executing this line:
C:\Users\username\AppData\Local\Temp\2\antinstall0\build.xml:187: The following error occurred while executing this line:
C:\Users\username\AppData\Local\Temp\2\antinstall0\build.xml:715: The following error occurred while executing this line:
C:\Users\username\AppData\Local\Temp\2\antinstall0\build.xml:309: Unable to delete file C:\ColdFusion9\lib\updates\empty.txt
Total time: 1 minute 29 seconds
org.tp23.antinstaller.InstallException: Error running the install, Ant run failed - examine the error logs for details
at org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:88)
at org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:85)
at org.tp23.antinstaller.selfextract.SelfExtractor.main(SelfExtractor.java:370)
Caused by: org.tp23.antinstaller.InstallException: Ant run failed - examine the error logs for details
at org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:78)
... 2 more
--- Nested Exception ---
org.tp23.antinstaller.InstallException: Ant run failed - examine the error logs for details
at org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:78)
at org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:85)
at org.tp23.antinstaller.selfextract.SelfExtractor.main(SelfExtractor.java:370)
So, now what? Did it update? Run it again?
Can UU2 set a default backup location? I am on windows 7 and it defaults to c:
Maybe put it inside antinstaller like where the hotfixes are downloaded:
C:\Users\mhenke\AppData\Local\Temp\antinstall\backup
Thanks,
On Windows using a multi server config with JRrun and CFusion 9.0.1 everything appears to be working as expected and the jar files is applied.
The last line is say it's successful but the log file shows a lot of
[echo] Applying files to C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF
[unzip] Expanding: C:\DOCUME1\lcbadmin\LOCALS1\Temp\2\antinstall\downloads\apsb12-15\CF901\WEB-INF.zip into C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war
[unzip] Unable to expand to file C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\exception\coldfusion\runtime\ComplexObjectException.cfm
{...}
At the time, to remove access right from the equation, I had given "Everyone" full permission to C:\JRun4\servers\cfusion\ and child objects.
Is that normal behavior if some patch had been previously installed or are my instances not patched and I need to look into this further?
Amazing project by the way!
not sure if I can bypass this, as I am running this on a 9.0.1 install, and that is a 8.0.1 hot fix.
here is my output/errors log from the gUI
http://pastebin.com/cyM8sFSc
Noticed the readme changes. Disclaimer 5. "will need to be run again". For my clarification, should it be "will need to be downloaded, and run again" or does UU2 handle new updates and only needs to be run? I was thinking the first, but if the second that is very cool.
Readme is looking good!
When I run this from the windows command line using the text option, the updater does not release control when it finishes. It just hangs there at the command line after it says Finished.
Ran UU2 against my two-instance multi-server install last night and it looked like everything worked right... but today I notice that neo-runtime.xml only has the new postParametersLimit in one of my two instances. It looks like it didn't apply equally to both instances?
Here's some details:
[root@ewhserver1002 servers]# cat INSTANCE1/cfusion.ear/cfusion.war/WEB-INF/cfusion/lib/updates/unofficial-updater2.txt
Unofficial Updater 2 was run on Tuesday, April 17, 2012 at 00:10:39 PDT
Using files downloaded on Monday, April 16, 2012 at 20:27:37 PDT
[root@ewhserver1002 servers]# cat INSTANCE2/cfusion.ear/cfusion.war/WEB-INF/cfusion/lib/updates/unofficial-updater2.txt
Unofficial Updater 2 was run on Tuesday, April 17, 2012 at 00:11:09 PDT
Using files downloaded on Monday, April 16, 2012 at 20:27:37 PDT
Here's the updates folder:
[root@ewhserver1002 servers]# ls -al INSTANCE1/cfusion.ear/cfusion.war/WEB-INF/cfusion/lib/updates/
total 1212
drwxr-xr-x 2 cfaccount root 4096 Apr 17 00:12 .
drwxr-xr-x 5 cfaccount root 12288 Apr 17 08:57 ..
-rw-r--r-- 1 cfaccount cfaccount 648997 Nov 17 2009 chf8010004.jar
-rw-r--r-- 1 cfaccount cfaccount 514027 Mar 21 14:42 hf801-00005.jar
-rw-r--r-- 1 cfaccount cfaccount 36169 Aug 12 2008 hf801-71557.jar
-rw-r--r-- 1 cfaccount cfaccount 7119 Aug 9 2010 hf801-76563.jar
-rw-r--r-- 1 cfaccount cfaccount 140 Apr 17 00:12 unofficial-updater2.txt
[root@ewhserver1002 servers]# ls -al INSTANCE2/cfusion.ear/cfusion.war/WEB-INF/cfusion/lib/updates/
total 1212
drwxr-xr-x 2 cfaccount root 4096 Apr 17 00:12 .
drwxr-xr-x 5 cfaccount root 12288 Apr 17 08:57 ..
-rw-r--r-- 1 cfaccount cfaccount 648997 Nov 17 2009 chf8010004.jar
-rw-r--r-- 1 cfaccount cfaccount 514027 Mar 21 14:42 hf801-00005.jar
-rw-r--r-- 1 cfaccount cfaccount 36169 Aug 12 2008 hf801-71557.jar
-rw-r--r-- 1 cfaccount cfaccount 7119 Aug 9 2010 hf801-76563.jar
-rw-r--r-- 1 cfaccount cfaccount 140 Apr 17 00:12 unofficial-updater2.txt
And here's the neo-runtime.xml which contains the new parameter per ABSP12-06:
[root@ewhserver1002 servers]# ls -al INSTANCE1/cfusion.ear/cfusion.war/WEB-INF/cfusion/lib/neo-runtime.*
-rw-r--r-- 1 cfaccount root 5328 Feb 9 21:40 INSTANCE1/cfusion.ear/cfusion.war/WEB-INF/cfusion/lib/neo-runtime.bak
-rw-r--r-- 1 cfaccount cfaccount 5389 Apr 17 08:56 INSTANCE1/cfusion.ear/cfusion.war/WEB-INF/cfusion/lib/neo-runtime.xml
[root@ewhserver1002 servers]# ls -al INSTANCE2/cfusion.ear/cfusion.war/WEB-INF/cfusion/lib/neo-runtime.*
-rw-r--r-- 1 cfaccount root 5329 Mar 15 13:06 INSTANCE2/cfusion.ear/cfusion.war/WEB-INF/cfusion/lib/neo-runtime.bak
-rw-r--r-- 1 cfaccount root 5328 Mar 15 13:07 INSTANCE2/cfusion.ear/cfusion.war/WEB-INF/cfusion/lib/neo-runtime.xml
Note that neo-runtime.xml in the INSTANCE2 folder did not get updated last night and it does not have the new param in it.
Anything else I can provide to check?
per @carehart request
@mikehenke just suggesting you may want to make it clear on the site that it is just a 1-time thing, and does not do further updates.
@mikehenke along those lines, some may wonder: if it's updated itself, would one drop it over top of previous one?
This clarification would occur in readme and wiki
Failed run since WEB-INf/cfclasses didn't exist
BUILD FAILED
C:\Users\ADMINI1\AppData1\AppData\Local\Temp\3\antinstall0\build.xml:544: The following error occurred while executing this line:
Local\Temp\3\antinstall0\build.xml:76: The following error occurred while executing this line:
C:\Users\ADMINI
C:\Users\ADMINI~1\AppData\Local\Temp\3\antinstall0\build.xml:178: Directory does not exist:C:\ColdFusion9\wwwroot\WEB-INF\cfclasses
When the updater is run, it backs up the WEB-INF folder. That's fine. However, the /WEB-INF/cfclasses/ folder is part of the included ZIP file. If you have a ton of compiled CF files in there, the backup file can be huge (over 1GB) and the update can take forever (over two hours). This has happened to more than a few of my developers. Can this folder, or rather, the contents of this folder be excluded from the backup ZIP file?
Adobe has published an update to APSB12-06 that fixes a file upload issue that the original hotfix introduced to CF801
http://forums.adobe.com/message/4304046
http://blogs.coldfusion.com/post.cfm/march-2012-security-hot-fix-is-updated-for-coldfusion-801
Hi, this project is great. Any idea on when you might be able to roll in the latest hot fixes?
Specifically: http://helpx.adobe.com/coldfusion/kb/cumulative-hotfix-1-coldfusion-902.html
The link to update the JVM titled Oracle Security Alert CVE-2010-4476 | ColdFusion leads to a 404 page on Oracle's website.
Seems like Adobe is really getting on to the quarterly schedule. Released new security hotfix APSB12-06 on March 13th.
Security Bulletin:
http://www.adobe.com/support/security/bulletins/apsb12-06.html
KB Solution:
http://helpx.adobe.com/coldfusion/kb/coldfusion-security-hotfix.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.