activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-1022) Artemis does not deliver large message to OpenWire consumer when it is sent from JMS
Date Thu, 21 Sep 2017 15:01:00 GMT

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

Timothy Bish commented on ARTEMIS-1022:
---------------------------------------

I would recommend testing against the latest 2.3.0 release and reporting against that 

> Artemis does not deliver large message to OpenWire consumer when it is sent from JMS
> ------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1022
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1022
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: OpenWire
>    Affects Versions: 1.5.3
>         Environment: Windows OS, Wildfly with Artemis 1.1 or standalone Artemis 1.1 -
1.5.3,
> producer - java spring boot app, consumer (durable) - NMS.ActiveMQ
>            Reporter: Oleg Kozakevych
>
> When sending message through a JMS which has size more than min-large-message-size, it
is not delivered to consumer. In standalone Artemis broker there is an exception in logs:
> 16:02:26,609 WARN  [org.apache.activemq.artemis.core.server] Error during message dispatch:
java.lang.NullPointerException
>         at org.apache.activemq.artemis.core.buffers.impl.ResetLimitWrappedActiveMQBuffer.<init>(ResetLimitWrappedActiveMQBuffer.java:49)
[artemis-core-client-1.5.3.jar:1.5.3]
>         at org.apache.activemq.artemis.core.message.impl.MessageImpl.getBodyBuffer(MessageImpl.java:252)
[artemis-core-client-1.5.3.jar:1.5.3]
>         at org.apache.activemq.artemis.core.message.impl.MessageImpl.getBodyBufferDuplicate(MessageImpl.java:281)
[artemis-core-client-1.5.3.jar:1.5.3]
>         at org.apache.activemq.artemis.core.protocol.openwire.OpenWireMessageConverter.toAMQMessage(OpenWireMessageConverter.java:478)
[artemis-openwire-protocol-1.5.3.jar:]
>         at org.apache.activemq.artemis.core.protocol.openwire.OpenWireMessageConverter.createMessageDispatch(OpenWireMessageConverter.java:419)
[artemis-openwire-protocol-1.5.3.jar:]
>         at org.apache.activemq.artemis.core.protocol.openwire.amq.AMQConsumer.handleDeliver(AMQConsumer.java:194)
[artemis-openwire-protocol-1.5.3.jar:]
>         at org.apache.activemq.artemis.core.protocol.openwire.amq.AMQSession.sendMessage(AMQSession.java:204)
[artemis-openwire-protocol-1.5.3.jar:]
>         at org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.deliverStandardMessage(ServerConsumerImpl.java:1019)
[artemis-server-1.5.3.jar:1.5.3]
>         at org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.proceedDeliver(ServerConsumerImpl.java:415)
[artemis-server-1.5.3.jar:1.5.3]
>         at org.apache.activemq.artemis.core.server.impl.QueueImpl.proceedDeliver(QueueImpl.java:2551)
[artemis-server-1.5.3.jar:1.5.3]
>         at org.apache.activemq.artemis.core.server.impl.QueueImpl.deliver(QueueImpl.java:2052)
[artemis-server-1.5.3.jar:1.5.3]
>         at org.apache.activemq.artemis.core.server.impl.QueueImpl.access$1700(QueueImpl.java:101)
[artemis-server-1.5.3.jar:1.5.3]
>         at org.apache.activemq.artemis.core.server.impl.QueueImpl$DeliverRunner.run(QueueImpl.java:2784)
[artemis-server-1.5.3.jar:1.5.3]
>         at org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$ExecutorTask.run(OrderedExecutorFactory.java:101)
[artemis-commons-1.5.3.jar:1.5.3]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[rt.jar:1.8.0_102]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[rt.jar:1.8.0_102]
>         at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_102]
> 16:02:26,609 WARN  [org.apache.activemq.artemis.core.server] Error during message dispatch:
java.lang.NullPointerException
>         at org.apache.activemq.artemis.core.buffers.impl.ResetLimitWrappedActiveMQBuffer.<init>(ResetLimitWrappedActiveMQBuffer.java:49)
[artemis-core-client-1.5.3.jar:1.5.3]
>         at org.apache.activemq.artemis.core.message.impl.MessageImpl.getBodyBuffer(MessageImpl.java:252)
[artemis-core-client-1.5.3.jar:1.5.3]
>         at org.apache.activemq.artemis.core.message.impl.MessageImpl.getBodyBufferDuplicate(MessageImpl.java:281)
[artemis-core-client-1.5.3.jar:1.5.3]
>         at org.apache.activemq.artemis.core.protocol.openwire.OpenWireMessageConverter.toAMQMessage(OpenWireMessageConverter.java:478)
[artemis-openwire-protocol-1.5.3.jar:]
>         at org.apache.activemq.artemis.core.protocol.openwire.OpenWireMessageConverter.createMessageDispatch(OpenWireMessageConverter.java:419)
[artemis-openwire-protocol-1.5.3.jar:]
>         at org.apache.activemq.artemis.core.protocol.openwire.amq.AMQConsumer.handleDeliver(AMQConsumer.java:194)
[artemis-openwire-protocol-1.5.3.jar:]
>         at org.apache.activemq.artemis.core.protocol.openwire.amq.AMQSession.sendMessage(AMQSession.java:204)
[artemis-openwire-protocol-1.5.3.jar:]
>         at org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.deliverStandardMessage(ServerConsumerImpl.java:1019)
[artemis-server-1.5.3.jar:1.5.3]
>         at org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.proceedDeliver(ServerConsumerImpl.java:415)
[artemis-server-1.5.3.jar:1.5.3]
>         at org.apache.activemq.artemis.core.server.impl.QueueImpl.proceedDeliver(QueueImpl.java:2551)
[artemis-server-1.5.3.jar:1.5.3]
>         at org.apache.activemq.artemis.core.server.impl.QueueImpl.deliver(QueueImpl.java:2052)
[artemis-server-1.5.3.jar:1.5.3]
>         at org.apache.activemq.artemis.core.server.impl.QueueImpl.access$1700(QueueImpl.java:101)
[artemis-server-1.5.3.jar:1.5.3]
>         at org.apache.activemq.artemis.core.server.impl.QueueImpl$DeliverRunner.run(QueueImpl.java:2784)
[artemis-server-1.5.3.jar:1.5.3]
>         at org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$ExecutorTask.run(OrderedExecutorFactory.java:101)
[artemis-commons-1.5.3.jar:1.5.3]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[rt.jar:1.8.0_102]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[rt.jar:1.8.0_102]
>         at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_102]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message