Shilpi created ARTEMIS-6054:
-------------------------------
Summary: Artemis broker fails with UnsupportedOperationException
on startup after upgrading to netty 4.2.9
Key: ARTEMIS-6054
URL: https://issues.apache.org/jira/browse/ARTEMIS-6054
Project: Artemis
Issue Type: Bug
Components: Broker
Affects Versions: 2.53.0
Reporter: Shilpi
We are migrating our application from spring 6 to spring 7 with java 25,
artemis 2.53.0 and netty 4.2.9.
We are using embedded Artemis broker which is falling on startup after upgarde.
Seems upgrading netty from 4.1.108 to 4.2.9 is causing this issue, as
NIOSequentialFileFactory is calling the deprecated methods.
*This is blocking our application upgrade.*
Artemis broker is falling with below exception:
{code:java}
java.lang.UnsupportedOperationException: Cannot clean arbitrary ByteBuffer
instancesat
io.netty.util.internal.CleanerJava24Linker.freeDirectBuffer(CleanerJava24Linker.java:203)at
io.netty.util.internal.PlatformDependent.freeDirectBuffer(PlatformDependent.java:613)at
org.apache.activemq.artemis.core.io.nio.NIOSequentialFileFactory.releaseDirectBuffer(NIOSequentialFileFactory.java:138)at
org.apache.activemq.artemis.core.journal.impl.JournalImpl.load(JournalImpl.java:2317)at
org.apache.activemq.artemis.core.journal.impl.JournalImpl.load(JournalImpl.java:1649)at
org.apache.activemq.artemis.core.journal.Journal.load(Journal.java:276)at
org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.loadBindingJournal(AbstractJournalStorageManager.java:1629)at
org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.loadJournals(ActiveMQServerImpl.java:3895)at
org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(ActiveMQServerImpl.java:3527)at
org.apache.activemq.artemis.core.server.impl.PrimaryOnlyActivation.run(PrimaryOnlyActivation.java:84)at
org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.internalStart(ActiveMQServerImpl.java:774)at
org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start(ActiveMQServerImpl.java:652)at
org.apache.activemq.artemis.core.server.embedded.EmbeddedActiveMQ.start(EmbeddedActiveMQ.java:124)
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]