Java updates on Server/Portal etc. installs

897
4
04-06-2022 11:47 AM
DavidPike
MVP Frequent Contributor

Hi all,

Has anyone had any experience or advice on security updates/version updates to Java in-place as part of the Enterprise installs?

It looks pretty baked-in to <portal><server><datastore>\framework\runtime\jre\bin with quite a few configs etc.

I'm guessing a java version update is not recommended if not part of the install, however can anyone offer any astute technical reasoning or advice as to why, or potential workarounds, other than an entire server/portal version upgrade?

Many thanks for anything you can suggest.

0 Kudos
4 Replies
Scott_Tansley
MVP Regular Contributor

Putting the technology discussion aside.  I strongly believe you’d invalidate your support.  

Secondly, I had a client, with a very early release of Portal (pre-Enterprise) who did something similar and they couldn’t upgrade over the top and started again.

Personally I wouldn’t even consider touching the internal libraries.  We’ve seen recently, with the usage of Log4J and now the Spring framework (as examples) that there are many libraries with multiple interdependencies.  Without knowing all of those, it could cause many issues.

Scott Tansley
https://www.linkedin.com/in/scotttansley/
JonEmch
Esri Regular Contributor

Underlining Scott's point here: ArcGIS Enterprise relies on specific versions of Java and other internal libraries to run its internal processes. Updating these will cause many internal issues, not to mention rendering your deployment unsupported. As for work arounds. you may be able to install secondary versions of certain libraries (think installing two python libraries) and using the one you require for your use cases.

   Hope this helps David!

Keep on keeping on!
DavidPike
MVP Frequent Contributor

Thanks Jon, I can see so many unknown fallouts from it. 

0 Kudos
DavidPike
MVP Frequent Contributor

Thanks Scott, appreciate the experience.