Skip to main content
Inspiring
July 25, 2022
Question

coldfusion 2021 update 4: no directory for update 4, use the current Java or bundled Java

  • July 25, 2022
  • 2 replies
  • 2067 views

Three questions.

I am attempting to install update 4 on ColdFusion 2021 running on Windows Server 2019, but it fails and I have roll it back with Java and the uninstaller.jar.  Is it correct that the update should be installed using the Java which was bundled with CF in jre/bin, rather than the current version of Java which CF is using?  The manual update says to "Update "packagesurl" in cfusion/lib/neo_updates.xml of cfusion and all its child instances to point to <InstallerReposityUnzippedPath>/bundles/bundlesdependency.json present inside the downloaded folder.", however update 4 is only a jar file in bundles/updateinstallers, so to which bundlesdependency.json should be used in neo_updates.xml?  Also, as of update 3, is CF2021 now able to function with a current version of Java and have sandbox security enabled?

This topic has been closed for replies.

2 replies

Charlie Arehart
Community Expert
Community Expert
August 4, 2022

Michael, I know you are working directly with Adobe support now, but going back to your first message, you say the update failed--but the log you showed indicates that it worked, with zero errors. What led you to feel it had failed?

 

Also, as for the docs suggesting you use the jvm cf came with (when doing the command line update), the point there is more to keep people from running it with a JVM that Cf does not support. Since cf2021 currently supports Java 11 only, that would mean any other later or earlier jvm one might have installed.

 

To be clear, as long as the jvm you use is 11, it doesn't matter where it's installed or if cf is using that EXACT one.

 

As for the confusion over the manual steps since update 2, and the whole packages url thing, that is indeed unfortunate and Adobe could considerably improve the technote discussion of that.

 

Finally, to your last question in the first note: "as of update 3, is CF2021 now able to function with a current version of Java and have sandbox security enabled?"

 

First, no cf update for cf2021 has changed anything about the jvm version supported: it's only Java 11. Perhaps the next update could add support for the newest LTS Java version, 17. Only time will tell.

 

But you seem to be suggesting that some Java version kept cf from working with the cf sandbox feature. I'm not aware of any such connection. I will say that recent Java versions are marking the java security manager feature as "deprecated", and the sandbox feature does rely on that. So SOME day the sandbox feature will no longer work with some future jvm version (some are speculating Java 21, the next LTS release, due Sept 2023). Again, only time will tell. I sure hope Adobe is attending to that potentiality.

 

Hope something above is helpful. 

 

If you may see this only after you meet with Adobe and perhaps you solve things, I hope you'll be sure to offer an update, even if only in that thread with Ravi. But either way, if you could confirm you see this and what I've shared (especially on these other matters you raised), it would be appreciated. 

/Charlie (troubleshooter, carehart. org)
Inspiring
August 9, 2022

The log indicated that the installation of update 4 was successful, but when I tried to go to the CFadmin login page, I got a NullPointer error, and no opportunity to log in.

 

About a year ago Adobe provided me with a custom update file to allow CF2021 to run with sandbox security and a Java version higher than 11.0.10.

 

Charlie Arehart
Community Expert
Community Expert
August 9, 2022

Michael, about your inability to login to the admin, I'd assert that there must be something else you did (beside the cf update) that led to that. Are you perhaps fiddling with CF config files for some reason? Like the server.xml? Or neo*.xml files? Or removing log4j files you think "aren't needed", for instance?

 

As for the custom update file, that's interesting. I assume you mean a jar, that you're to drop into the lib/updates folder. I'd be curious: after your doing the cf update, of course any jars you'd added there would be removed. Are you adding them back? If you take them out, does the null pointer go away? (If not, or if this does not apply, I still strongly recommend you consider the first points in my comment here.)

 

And as for the need of a fix for using the CF sandbox feature beyond 11.0.10, again I'd not heard of that. Can you share the name of the fix file, so that others interested could ask Adobe for it (or to find it in tracker)? Thanks. 

/Charlie (troubleshooter, carehart. org)
RaviShankar Chagnur
Adobe Employee
Adobe Employee
July 26, 2022

You need to run the update with the java that ColdFusion is using, if your ColdFusion is pointed to java which is installed in the Program Files directory, you need to run the update using that Java.

If you do not have internet connectivity then you need to follow the manual steps for applying the update.

Let us know whether you have launched Command prompt as admin, also can you share the Coldfusion update log while applying the update

 

 

 

 

Inspiring
July 26, 2022

I ran the update manually most recently from the command prompt, after opening the command prompt as the administrator.  The Java which is used by ColdFusion 2021 in the path and so that was the Java used.  I had previously tried running the install from within CF but that also failed.  The log of the manual installation is attached.  I would still like to know what instance of bundlesdependency.json should be referenced in neo-updates.xml.

RaviShankar Chagnur
Adobe Employee
Adobe Employee
July 26, 2022

You should not reference the bundledependency.json of any existing ColdFusion instance. It would be like applying the ColdFusion update with the existing version of packages that are already installed.

You need to download the zip file of repository from the Adobe site , extract it and then point the neo-updates.xml with the bundledependency.json that you have downloaded.

 

For Coldfusion 2021 update 4 you can download repository from below link

https://cfdownload.adobe.com/pub/adobe/coldfusion/2021/packages/hotfix-packages-cf2021-002-328618.zip