activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Bertram (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ARTEMIS-687) AMQ222114: Unable to delete group binding info <groupid.messageId>: java.lang.IllegalStateException: Cannot find tx with id -1
Date Fri, 02 Sep 2016 13:49:20 GMT

     [ https://issues.apache.org/jira/browse/ARTEMIS-687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Justin Bertram resolved ARTEMIS-687.
------------------------------------
    Resolution: Duplicate

> AMQ222114: Unable to delete group binding info <groupid.messageId>: java.lang.IllegalStateException:
Cannot find tx with id -1
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-687
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-687
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 1.3.0
>         Environment: artemis running inside an ubuntu docker container
>            Reporter: david galloway
>            Assignee: Justin Bertram
>            Priority: Minor
>              Labels: failover, logging, reliability
>             Fix For: 1.4.0
>
>
> This error is intermittently generated by artemis
> {code}
> 2016-08-18 09:42:27,376 WARN  [org.apache.activemq.artemis.core.server] AMQ222114: Unable
to delete group binding info 1bd53269-76bb-43a7-8024-bb8e70273c14494.ed051cbd-b410-493d-8c93-0af844264fa6:
java.lang.IllegalStateException: Cannot find tx with id -1
> 	at org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JournalImpl.java:1013)
[artemis-journal-1.3.0.jar:1.3.0]
> 	at org.apache.activemq.artemis.core.journal.impl.JournalBase.appendCommitRecord(JournalBase.java:112)
[artemis-journal-1.3.0.jar:1.3.0]
> 	at org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendCommitRecord(JournalImpl.java:79)
[artemis-journal-1.3.0.jar:1.3.0]
> 	at org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.commitBindings(AbstractJournalStorageManager.java:650)
[artemis-server-1.3.0.jar:1.3.0]
> 	at org.apache.activemq.artemis.core.server.group.impl.LocalGroupingHandler$GroupIdReaper.run(LocalGroupingHandler.java:449)
[artemis-server-1.3.0.jar:1.3.0]
> 	at org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$ExecutorTask.run(OrderedExecutorFactory.java:103)
[artemis-core-client-1.3.0.jar:1.3.0]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_66]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_66]
> 	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_66]
> {code}
> this is artemis running as a single node
> does not affect sending of message, but looks like some poorly implemented cleanup inside
artemis.
> When artmis is restarted, we see these warnings (1 for each of the above IllegalStateExceptions)
> {code}
> 2016-08-18 14:10:16,554 WARN  [org.apache.activemq.artemis.journal] AMQ142015: Uncommitted
transaction with id 4,295,204,073 found and discarded
> 2016-08-18 14:10:16,556 WARN  [org.apache.activemq.artemis.journal] AMQ142015: Uncommitted
transaction with id 4,295,205,074 found and discarded
> 2016-08-18 14:10:16,558 WARN  [org.apache.activemq.artemis.journal] AMQ142015: Uncommitted
transaction with id 4,295,206,075 found and discarded
> 2016-08-18 14:10:16,564 WARN  [org.apache.activemq.artemis.journal] AMQ142015: Uncommitted
transaction with id 4,295,207,076 found and discarded
> 2016-08-18 14:10:16,565 WARN  [org.apache.activemq.artemis.journal] AMQ142015: Uncommitted
transaction with id 4,295,208,077 found and discarded
> {code}
> Here is our broker.xml (nothing up our sleeves.., not real ips, ports or topic names
etc.)
> {code:title=broker.xml}
> <?xml version="1.0" encoding="UTF-8" ?>
> <configuration xmlns="urn:activemq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:activemq /schema/artemis-configuration.xsd">
>   <jms xmlns="urn:activemq:jms">
>     <queue name="DLQ"/>
>     <queue name="ExpiryQueue"/>
>     <topic name="organisation.internal.systemTopic"/>
>   </jms>
>   <core xmlns="urn:activemq:core">
>     <name>192.168.56.101</name>
>     <persistence-enabled>true</persistence-enabled>
>     <journal-type>ASYNCIO</journal-type>
>     <paging-directory>/var/lib/artemis/data/paging</paging-directory>
>     <bindings-directory>/var/lib/artemis/data/bindings</bindings-directory>
>     <journal-directory>/var/lib/artemis/data/journal</journal-directory>
>     <large-messages-directory>/var/lib/artemis/data/large-messages</large-messages-directory>
>     <connectors>
>       <connector name="invm-connector">vm://0</connector>
>       <connector name="server0-connector">tcp://10.10.10.100:345467</connector>
>     </connectors>
>     <acceptors>
>       <acceptor name="invm-acceptor">vm://0</acceptor>
>       <acceptor name="artemis">tcp://0.0.0.0:345467</acceptor>
>     </acceptors>
>     <mask-password>true</mask-password>
>     <password-codec>com.organisation.artemis.MaskedPasswordDecoder</password-codec>
>     <security-settings>
>       <security-setting match="jms.*.organisation.internal.*">
>         <permission type="createNonDurableQueue" roles="admin, client"/>
>         <permission type="deleteNonDurableQueue" roles="admin"/>
>         <permission type="createDurableQueue" roles="admin, client"/>
>         <permission type="deleteDurableQueue" roles="admin"/>
>         <permission type="consume" roles="admin, client"/>
>         <permission type="send" roles="admin, client"/>
>         <!-- we need this otherwise ./artemis data imp wouldn't work -->
>         <permission type="manage" roles="admin"/>
>       </security-setting>
>     </security-settings>
>     <address-settings>
>       <!--default for catch all-->
>       <address-setting match="#">
>         <dead-letter-address>jms.queue.DLQ</dead-letter-address>
>         <expiry-address>jms.queue.ExpiryQueue</expiry-address>
>         <redelivery-delay>0</redelivery-delay>
>         <max-size-bytes>10485760</max-size-bytes>
>         <message-counter-history-day-limit>10</message-counter-history-day-limit>
>         <address-full-policy>BLOCK</address-full-policy>
>         <auto-create-jms-queues>false</auto-create-jms-queues>
>         <auto-delete-jms-queues>false</auto-delete-jms-queues>
>         <auto-create-jms-topics>false</auto-create-jms-topics>
>         <auto-delete-jms-topics>false</auto-delete-jms-topics>
>       </address-setting>
>     </address-settings>
>   </core>
> </configuration>
> {code}



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

Mime
View raw message