Ultimo aggiornamento il
May 03, 2021 11:31:50 AM GMT
Problema
CQ5.x o AEM6.0 è in esecuzione su Java 1.7 e il processo java si blocca. Un file hs_err* viene generato nella cartella di installazione di AEM. Il file contiene un messaggio simile a questo:
# # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f5cb8d9e2ee, pid=21988, tid=140030416733952 # # JRE version: Java(TM) SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18) # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode linux-amd64 compressed oops) # Problematic frame: # J org.apache.http.impl.cookie.BestMatchSpec.formatCookies(Ljava/util/List;)Ljava/util/List; # # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # If you would like to submit a bug report, please visit: # http://bugreport.sun.com/bugreport/crash.jsp #
Ambiente
CQ5.x o AEM6.0 in esecuzione su Java 1.7
Causa
Questo è causato da un bug nella JVM Oracle - JDK-8021898
Risoluzione
Il bug è stato risolto in Java 1.7 u60 e 1.8. Assicurati che se aggiorni a Java 1.8 sia compatibile con la tua versione di AEM. Nota che 1.8 non è compatibile con CQ5.x. In alternativa, questa opzione JVM può essere aggiunta invece di aggiornare la versione Java:
-XX:-LoopUnswitching
Il parametro JVM può essere aggiunto alla variabile CQ_JVM_OPTS nello script di avvio.
Accedi al tuo account