Replication does not work with JDK 11, below error is thrown.
#Master
2019-03-09 13:26:57,154 ERROR [org.apache.activemq.artemis.journal] (Thread-0 (ActiveMQ-IO-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$6@4d00113c)) AMQ144003: Error compacting: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.netty@4.1.25.Final-redhat-00003//io.netty.util.internal.CleanerJava9.freeDirectBuffer(CleanerJava9.java:77) at io.netty@4.1.25.Final-redhat-00003//io.netty.util.internal.PlatformDependent.freeDirectBuffer(PlatformDependent.java:388) at org.apache.activemq.artemis.journal@2.6.3.redhat-00014//org.apache.activemq.artemis.core.io.nio.NIOSequentialFileFactory.releaseBuffer(NIOSequentialFileFactory.java:177) at org.apache.activemq.artemis.journal@2.6.3.redhat-00014//org.apache.activemq.artemis.core.io.nio.NIOSequentialFile.doInternalWrite(NIOSequentialFile.java:312) at org.apache.activemq.artemis.journal@2.6.3.redhat-00014//org.apache.activemq.artemis.core.io.nio.NIOSequentialFile.internalWrite(NIOSequentialFile.java:282) at org.apache.activemq.artemis.journal@2.6.3.redhat-00014//org.apache.activemq.artemis.core.io.nio.NIOSequentialFile.writeDirect(NIOSequentialFile.java:255) at org.apache.activemq.artemis.journal@2.6.3.redhat-00014//org.apache.activemq.artemis.core.journal.impl.AbstractJournalUpdateTask.flush(AbstractJournalUpdateTask.java:217) at org.apache.activemq.artemis.journal@2.6.3.redhat-00014//org.apache.activemq.artemis.core.journal.impl.JournalImpl.compact(JournalImpl.java:1613) at org.apache.activemq.artemis.journal@2.6.3.redhat-00014//org.apache.activemq.artemis.core.journal.impl.JournalImpl$12.run(JournalImpl.java:1504) at org.apache.activemq.artemis.journal@2.6.3.redhat-00014//org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) at org.apache.activemq.artemis.journal@2.6.3.redhat-00014//org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) at org.apache.activemq.artemis.journal@2.6.3.redhat-00014//org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.activemq.artemis.journal@2.6.3.redhat-00014//org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) Caused by: java.lang.IllegalArgumentException: duplicate or slice at jdk.unsupported/sun.misc.Unsafe.invokeCleaner(Unsafe.java:1238) ... 19 more 2019-03-09 13:26:57,155 WARN [org.apache.activemq.artemis.core.server] (Thread-128) AMQ222013: Error when trying to start replication: java.lang.RuntimeException: Error during compact, look at the logs at org.apache.activemq.artemis.journal@2.6.3.redhat-00014//org.apache.activemq.artemis.core.journal.impl.JournalImpl.scheduleCompactAndBlock(JournalImpl.java:1519) at org.apache.activemq.artemis@2.6.3.redhat-00014//org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManager.startReplication(JournalStorageManager.java:583) at org.apache.activemq.artemis@2.6.3.redhat-00014//org.apache.activemq.artemis.core.server.impl.SharedNothingLiveActivation$2.run(SharedNothingLiveActivation.java:178) at java.base/java.lang.Thread.run(Thread.java:834)
#Slave
2019-03-09 13:26:57,200 ERROR [org.apache.activemq.artemis.core.server] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=null) AMQ224000: Failure in initialisation: ActiveMQIllegalStateException[errorType=ILLEGAL_STATE message=AMQ119026: Backup Server was not yet in sync with live] at org.apache.activemq.artemis@2.6.3.redhat-00014//org.apache.activemq.artemis.core.server.impl.SharedNothingBackupActivation.run(SharedNothingBackupActivation.java:316) at org.apache.activemq.artemis@2.6.3.redhat-00014//org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$ActivationThread.run(ActiveMQServerImpl.java:3140)
- is caused by
-
JBEAP-16563 Journal compacting doesn't work with JDK 11
- Closed
-
WFLY-11026 Journal compacting doesn't work with JDK 11
- Closed
- is incorporated by
-
JBEAP-15876 (7.2.z) Upgrade Artemis from 2.6.3.redhat-00014 to 2.6.3.redhat-00020
- Closed
- is related to
-
JBEAP-16569 (7.2.z) Revert artemis-2.6.3.redhat-00020 upgrade
- Closed