activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-254) Don't throw IllegalStateException from JMS producer implementation
Date Mon, 12 Oct 2015 16:22:06 GMT

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

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

GitHub user jbertram opened a pull request:

    https://github.com/apache/activemq-artemis/pull/194

    ARTEMIS-254 don't throw j.l.ISE from producer

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jbertram/activemq-artemis ARTEMIS-254

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/194.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #194
    
----
commit 566288a7f35978ea322fda43ccbb4917cb25cf98
Author: jbertram <jbertram@apache.org>
Date:   2015-10-12T16:20:04Z

    ARTEMIS-254 don't throw j.l.ISE from producer

----


> Don't throw IllegalStateException from JMS producer implementation
> ------------------------------------------------------------------
>
>                 Key: ARTEMIS-254
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-254
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>             Fix For: 1.1.1
>
>
> Sometimes during failback a JMS producer can get java.lang.IllegalStateException during
producer.send(message):
> {noformat}
> java.lang.IllegalStateException: Cannot send a packet while channel is doing failover
>         at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.send(ChannelImpl.java:242)
>         at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.send(ChannelImpl.java:201)
>         at org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQSessionContext.sendInitialChunkOnLargeMessage(ActiveMQSessionContext.java:358)
>         at org.apache.activemq.artemis.core.client.impl.ClientProducerImpl.sendInitialLargeMessageHeader(ClientProducerImpl.java:339)
>         at org.apache.activemq.artemis.core.client.impl.ClientProducerImpl.largeMessageSendStreamed(ClientProducerImpl.java:518)
>         at org.apache.activemq.artemis.core.client.impl.ClientProducerImpl.largeMessageSendBuffered(ClientProducerImpl.java:414)
>         at org.apache.activemq.artemis.core.client.impl.ClientProducerImpl.largeMessageSend(ClientProducerImpl.java:333)
>         at org.apache.activemq.artemis.core.client.impl.ClientProducerImpl.doSend(ClientProducerImpl.java:263)
>         at org.apache.activemq.artemis.core.client.impl.ClientProducerImpl.send(ClientProducerImpl.java:124)
>         at org.apache.activemq.artemis.jms.client.ActiveMQMessageProducer.doSendx(ActiveMQMessageProducer.java:476)
>         at org.apache.activemq.artemis.jms.client.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:172)
>         ...
> {noformat}
> IllegalStateException should be never thrown from producer.send().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message