Skip to main content
October 11, 2017
Question

Hotfix 5 on ColdFusion 2016: The specified directory is not valid

  • October 11, 2017
  • 2 replies
  • 715 views

I am working on getting ColdFusion 2016 up and having a problem installing hotfix 5.


No matter what value I put in as a response to the request:

Select the home directory of your  installation. For example, /Applications/

For J2EE installation, it is the WAR directory containing WEB-INF, CFIDE and

META-INF

Where is  located? (Default: /opt):

I get the response:

The specified directory is not valid.

I tried the top installation directory '/opt/coldfusion2016' and everything that I thought

possibly reasonable below that.

Help please? Any ideas on this?

    This topic has been closed for replies.

    2 replies

    pete_freitag
    Participating Frequently
    October 13, 2017

    Mark did you try just /opt it will then create the subdirectory for you. I think it might  be saying that /opt/coldfusion2016 is invalid because it does not exist, and it is expecting you to specify a directory that exists.

    Carl Von Stetten
    Brainiac
    October 11, 2017

    Mark,

    I saw your post on StackOverflow as well, and commented there too.  It's possible you need to update your Java JDK to the minimum supported version required by Update 5: JDK 8 u121 or higher.  Are you already on that version or higher?

    digicidal
    New Participant
    October 13, 2017

    Once again Adobe underwhelms in the documentation department.  If the lockdown guide is followed, then the JRE is updated in a separate directory and CF pointed to use that new directory in jvm.config.  The guide alludes to the need to keep the original bundled version present but not used.  This is the same as the instructions in the ColdFusion blog about updating the JVM

    For the update it specifies: "This security update requires ColdFusion to be on JDK 8u121 or higher"... and then, in the manual install instructions, it states the seemingly incompatible statement: "Ensure that the JRE bundled with ColdFusion is used for executing the downloaded JAR.  For standalone ColdFusion, this must be at, <cf_root>/jre/bin."

    So which is it?  The latest downloaded JRE, or the one *BUNDLED WITH COLDFUSION* - as these are not the same JRE and the one that came bundled with CF is u120 (at least in my case it was).

    I can say I'm delighted to have everything virtualized so I can at least take a snapshot before hand and not have a long night of recovery ahead of me.  I'm going to read between the lines and assume either will work for install but that the server must be updated to have the patch actually apply.  Definitely could be clearer.

    pete_freitag
    Participating Frequently
    October 13, 2017

    I think the reason why they say: Ensure that the JRE bundled with ColdFusion is used for executing the downloaded JAR. Is to avoid the potential that you have a really old version of Java installed on your server as the default. This exact statement was also included in the instructions for Update 4, it should have been updated/clarified this time around.

    I am not aware of any reasons that it is necessary to use the bundled JRE. I would expect it will work just fine if you use the latest JRE to execute the JAR.