how to find out what version of java is running on cloud AEM? | Community
Skip to main content
Level 8
March 28, 2022

how to find out what version of java is running on cloud AEM?

  • March 28, 2022
  • 3 replies
  • 5586 views

Since launching our sites a year ago, we have suffered constant issues with calling APIs and 3rd parties from servlets.  This includes GOAWAY being randomly received, to invalid headers being appended and different Envs having different java http request characteristics with the same code.

 

Is there any way to find out what version of Java is running on a particular env?  There doesn't seem to be anything in cloud manager or dev console. 

 

We have seen for example that openjdk 11.0.14 has some issues with http2 for example.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

Anmol_Bhardwaj
Community Advisor
Community Advisor
March 29, 2022

AEM as a Cloud Service only supports Java 11+.

And if you try to deploy code with, say Java 8, it won't work. It will throw error an bundles will not get resolved.

TB3dockAuthor
Level 8
March 29, 2022

Hi, thanks for the reply, but we need to know exactly which version 11 is being used. e.g. oracle or openjdk.  11.0.10 or 11.0.14 etc.

 

This is because our site went down for some time, and the only explanation is that Adobe are using 11.0.14 openJDK, which has a known bug. However, Adobe should be using Oracle JAva, which is more reliable.

 

 

joerghoh
Adobe Employee
Adobe Employee
March 29, 2022

Do you have a link for that bug you are referring to?

TB3dockAuthor
Level 8
April 5, 2022

Adobe admitted that they updated production to oracle java 11.0.14 which has a well documented and already fixed P1 bug.   This took down our sites for around 10 hours as we did not know where the problem came from.  We hotfixed our prod env by downgrading http requests to http 1.1.  We could not reproduce in our dev cloud envs as adobe updated prod before they updated dev. They updated dev 2 days later to the same broken version of java.

 

In our industry, 10 hours of down time can cost anything from  £100k to £1m

 

AEM cloud is now looking like not an option for enterprise commerce systems.

 

We have now created a servlet which reports the java version, and we will setup a external system to check this every 5 minutes.  When Adobe change the production java version without telling us, at least we will get an alert so can get a standby team woken up to do an emergency smoke test, and get developers out of bed if it breaks the sites like this one did.

 

If only Adobe would send out a warning with detailed change info to its partners and customers when it's going to make major untested infrastructure changes, or at the very least, do non prod before it does prod.

kautuk_sahni
Community Manager
Community Manager
May 30, 2022

@tb3dock 

[Webinar | AEM GEMs] Looking under the hood - Cloud Manager 2022 | Register: https://adobe.ly/3t4jfgp  & Ask Questions related to this Webinar: https://adobe.ly/3O0rdzd 

Date &Time: Wednesday, June 15, 2022 - 8 am PDT OR 5 pm CET OR 8.30 pm IST
Speakers: Remus Stratulat & Shankari Panchapakesan

Share this within your Organisation and with your AEM peers!!

Kautuk Sahni