[
https://issues.apache.org/jira/browse/ARTEMIS-1444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16197292#comment-16197292
]
ASF subversion and git services commented on ARTEMIS-1444:
----------------------------------------------------------
Commit 988c91557da7124fed1a30fcd4c1c708aac6b8d2 in activemq-artemis's branch
refs/heads/master from [~martyntaylor]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=988c915 ]
ARTEMIS-1444 Support Messages > JournalBufferSize in all Protocols
> Large messages are not working with OpenWire protocol
> -----------------------------------------------------
>
> Key: ARTEMIS-1444
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1444
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.3.0
> Reporter: Martyn Taylor
>
> Sending a message of 4mb causes the broker to throw an exception:
> 11:32:39,593 ERROR
> [org.apache.activemq.artemis.core.journal.impl.JournalImpl]
> appendAddRecord::java.lang.IllegalArgumentException: Record is too large to
> store 11360234: java.lang.IllegalArgumentException: Record is too large to
> store 11360234
> at
> org.apache.activemq.artemis.core.journal.impl.JournalImpl.switchFileIfNecessary(JournalImpl.java:2872)
> [artemis-journal-2.2.0.jar:2.2.0]
> at
> org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendRecord(JournalImpl.java:2597)
> [artemis-journal-2.2.0.jar:2.2.0]
> at
> org.apache.activemq.artemis.core.journal.impl.JournalImpl.access$200(JournalImpl.java:88)
> [artemis-journal-2.2.0.jar:2.2.0]
> at
> org.apache.activemq.artemis.core.journal.impl.JournalImpl$1.run(JournalImpl.java:744)
> [artemis-journal-2.2.0.jar:2.2.0]
> at
> org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42)
> [artemis-commons-2.2.0.jar:2.2.0]
> at
> org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31)
> [artemis-commons-2.2.0.jar:2.2.0]
> at
> org.apache.activemq.artemis.utils.actors.ProcessorBase$ExecutorTask.run(ProcessorBase.java:53)
> [artemis-commons-2.2.0.jar:2.2.0]
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> [rt.jar:1.8.0_141]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> [rt.jar:1.8.0_141]
> at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_141]
>
> 11:32:39,594 WARN [org.apache.activemq.artemis.core.server] AMQ222057: It
> was not possible to add references due to an IO error code 6 message = null
> 11:32:39,595 ERROR
> [org.apache.activemq.artemis.core.journal.impl.JournalImpl]
> appendUpdateRecord:java.lang.NullPointerException:
> java.lang.NullPointerException
> at
> org.apache.activemq.artemis.core.journal.impl.JournalImpl$2.run(JournalImpl.java:809)
> [artemis-journal-2.2.0.jar:2.2.0]
> at
> org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42)
> [artemis-commons-2.2.0.jar:2.2.0]
> at
> org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31)
> [artemis-commons-2.2.0.jar:2.2.0]
> at
> org.apache.activemq.artemis.utils.actors.ProcessorBase$ExecutorTask.run(ProcessorBase.java:53)
> [artemis-commons-2.2.0.jar:2.2.0]
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> [rt.jar:1.8.0_141]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> [rt.jar:1.8.0_141]
> at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_141]
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)