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

david galloway updated ARTEMIS-687:
-----------------------------------
    Description: 
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.

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}

  was:
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.


> 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
>            Priority: Minor
>              Labels: failover, logging, reliability
>
> 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.
> 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)

Reply via email to