활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
Hi,
We have an on-prem AEM 6.3 installation running with Oracle Java 8.
We are now performing in-place upgrade to AEM 6.5. For the upgrade procedure we use the same java version 8.
Once the in-place upgrade is done, we want to restart our AEM 6.5 instance with Java 11.
This does not seem to work as we are getting a lot of errors related to "(java.lang.NoClassDefFoundError: jdk/internal/reflect/MethodAccessorImpl)". Reverting back to Java 8 also doesn't work anymore. It seems that when we try to boot the AEM 6.5 instance with Java 11, it corrupts the launchpad.
My question is: how to upgrade Java version after an AEM in-place upgrade? Is this a supported flow or will AEM 6.5 only work with Java 11 when it was initially installed with Java 11? So not in case of an in-place upgrade?
Secondly, in this announcement https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/adobe-announcement-oracle-..., it is mentioned that we can download an Adobe licensed Java 11 from package share. But we can't find that package back on package share.
It is also very unfortunate that we can't use OpenJDK11. Or has Adobe changed their opinion on this?
Thanks for your answers.
해결되었습니다! 솔루션으로 이동.
토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.
조회 수
답글
좋아요 수
The JDK Downloads are hosted on the Adobe Software Distribution page
https://experience.adobe.com/#/downloads/content/software-distribution/en/general.html
OpenJDK is still not supported.
Generally you'd do the upgrade from 6.3 to 6.5 on JDK8.
Then it's start AEM with Java11.
If you're running into an issue please log a Daycare ticket and provide the logs as well as the everything under /crx-quickstart/conf
The sling.properties file could have some weird things going on that prevents start up.
Again generally, there's something amiss with the org.osgi.framework.bootdelegation value in the sling.properties.
Try :
org.osgi.framework.bootdelegation=sun.,com.sun.,jdk.internal.reflect,jdk.internal.reflect.*
That should clean up these :
java.lang.NoClassDefFoundError: jdk/internal/reflect/ConstructorAccessorImpl
java.lang.NoClassDefFoundError: jdk/internal/reflect/MethodAccessorImpl
조회 수
답글
좋아요 수
The JDK Downloads are hosted on the Adobe Software Distribution page
https://experience.adobe.com/#/downloads/content/software-distribution/en/general.html
OpenJDK is still not supported.
Generally you'd do the upgrade from 6.3 to 6.5 on JDK8.
Then it's start AEM with Java11.
If you're running into an issue please log a Daycare ticket and provide the logs as well as the everything under /crx-quickstart/conf
The sling.properties file could have some weird things going on that prevents start up.
Again generally, there's something amiss with the org.osgi.framework.bootdelegation value in the sling.properties.
Try :
org.osgi.framework.bootdelegation=sun.,com.sun.,jdk.internal.reflect,jdk.internal.reflect.*
That should clean up these :
java.lang.NoClassDefFoundError: jdk/internal/reflect/ConstructorAccessorImpl
java.lang.NoClassDefFoundError: jdk/internal/reflect/MethodAccessorImpl
조회 수
답글
좋아요 수
We are also having the same scenario of AEM6.3 and Java1.8.
Thinking to go for In-Place upgrade with same Java version i.e. 1.8. Is it mandatory to upgrade JDK version also for AEM6.5. Can't we live with JDK1.8?
Kindly suggest....
조회 수
답글
좋아요 수
You can run AEM 6.5 on either Java 11 or Java 8.
The merit of the post was to ensure that you're not trying to do the upgrade with Java 11, as that won't work. The in-place upgrade needs to happen with Java 8. Then, post-upgrade, you can determine whether to change to Java 11 or stay on Java 8.
조회 수
답글
좋아요 수