[ 
https://issues.apache.org/jira/browse/ARTEMIS-1444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16197287#comment-16197287
 ] 

ASF GitHub Bot commented on ARTEMIS-1444:
-----------------------------------------

Github user clebertsuconic commented on the issue:

    https://github.com/apache/activemq-artemis/pull/1574
  
    @mtaylor I am merging with my commit in top of yours.. feel free to add a 
new commit if you find a better way.


> 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)

Reply via email to