No problem, hopefully this helps someone use use a *nix based OS to run ColdFusion. I actually prefer GUI-less servers for hosting web apps, but I find some COTS software vendors tend to count those users as a minority when it comes to installers, etc. I was happy to find some documentation regarding this type of patch application.

On 12/6/2012 11:14 PM, Charlie Arehart wrote:

Ah, got it now. I missed that this was a silent install. Thanks for your patience with me, Mike. :-)

/charlie

*From:*[email protected] [mailto:[email protected]] *On Behalf Of *Mike Staver
*Sent:* Thursday, December 06, 2012 6:32 PM
*To:* [email protected]
*Subject:* Re: [ACFUG Discuss] ColdFusion 10 updates Offline

Ok, so two completely separate items really. Sorry to confuse the two. First, this:

java -jar hotfix_005.jar -i silent -f properties.txt

I have to do this because I need a way to update CF 10 with the appropriate hotfixes on Solaris. It's a DoD server under strict control. Could I use a remote X session to blow back the GUI to my desktop using Cygwin or something? I suppose, but it seems like overkill does it not? So double clicking on the jar file to execute it is out of the question. I can't remember where, but I found some Adobe documentation regarding the patching of CF 10. They did mention this java command above. Here is what I put in the properties.txt file BTW:

INSTALLER_UI=SILENT
USER_INSTALL_DIR=/web/cf10
DOC_ROOT=/web/cf10/cfusion/wwwroot

I'd be willing to bet $10 that is how the CF Administrator actually installs the hotfixes as well.

The second issue is the end of line character. *nix and Windows do it differently. I forget the specifics, but if I'm not mistaken, Windows uses two different characters and *nix uses one. So, I wrote the properties.txt file on my Windows 7 workstation in notepad and scp'd it over to the Solaris box. It borked the hotfix install because the installer wasn't applying the patches to the correct directories. It was adding what looked like a "space" character to the end of the path, so the actual path looked like:

/web/cf10 /cfusion/wwwroot

That was bad :) Running dos2unix on Solaris fixed it up and I'm now good to go.


-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink <http://www.fusionlink.com>
-------------------------------------------------------------




-------------------------------------------------------------
To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to