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

Hiram Chirino updated AMQ-4917:
-------------------------------

    Description: 
Tenzin giatso  original reported this issue 

Hi,
the broker stopped 3 times this night after about 6h50min, then 6h50 min then 
50min.
The error sounds to be the saùme (except the line number in class) but the 
broker restart automaticly with the snapshot.
2013-11-19 05:27:43,671 | INFO | Stopping BrokerService[localhost] due to 
exception, java.io.IOException | 
org.apache.activemq.util.DefaultIOExceptionHandler | LevelDB IOException 
handler.
java.io.IOException
at 
org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:39)
at org.apache.activemq.leveldb.LevelDBClient.might_fail(LevelDBClient.scala:554)
at 
org.apache.activemq.leveldb.LevelDBClient.might_fail_using_index(LevelDBClient.scala:1021)
at 
org.apache.activemq.leveldb.LevelDBClient.collectionCursor(LevelDBClient.scala:1320)
at 
org.apache.activemq.leveldb.LevelDBClient.queueCursor(LevelDBClient.scala:1244)
at org.apache.activemq.leveldb.DBManager.cursorMessages(DBManager.scala:708)
at 
org.apache.activemq.leveldb.LevelDBStore$LevelDBMessageStore.recover(LevelDBStore.scala:747)
at org.apache.activemq.broker.region.Topic.doBrowse(Topic.java:588)
at org.apache.activemq.broker.region.Topic.access$100(Topic.java:65)
at org.apache.activemq.broker.region.Topic$6.run(Topic.java:721)
at org.apache.activemq.thread.SchedulerTimerTask.run(SchedulerTimerTask.java:33)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at 
org.apache.activemq.leveldb.LevelDBClient$$anonfun$queueCursor$1.apply(LevelDBClient.scala:1248)
It's not easy to reproduce. It's better with the snapshot but i can't say that 
no messages are lost with leveldb.

> LevelDB store can fail when using durable subs
> ----------------------------------------------
>
>                 Key: AMQ-4917
>                 URL: https://issues.apache.org/jira/browse/AMQ-4917
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.9.0
>            Reporter: Hiram Chirino
>            Assignee: Hiram Chirino
>             Fix For: 5.10.0
>
>
> Tenzin giatso  original reported this issue 
> Hi,
> the broker stopped 3 times this night after about 6h50min, then 6h50 min then 
> 50min.
> The error sounds to be the saùme (except the line number in class) but the 
> broker restart automaticly with the snapshot.
> 2013-11-19 05:27:43,671 | INFO | Stopping BrokerService[localhost] due to 
> exception, java.io.IOException | 
> org.apache.activemq.util.DefaultIOExceptionHandler | LevelDB IOException 
> handler.
> java.io.IOException
> at 
> org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:39)
> at 
> org.apache.activemq.leveldb.LevelDBClient.might_fail(LevelDBClient.scala:554)
> at 
> org.apache.activemq.leveldb.LevelDBClient.might_fail_using_index(LevelDBClient.scala:1021)
> at 
> org.apache.activemq.leveldb.LevelDBClient.collectionCursor(LevelDBClient.scala:1320)
> at 
> org.apache.activemq.leveldb.LevelDBClient.queueCursor(LevelDBClient.scala:1244)
> at org.apache.activemq.leveldb.DBManager.cursorMessages(DBManager.scala:708)
> at 
> org.apache.activemq.leveldb.LevelDBStore$LevelDBMessageStore.recover(LevelDBStore.scala:747)
> at org.apache.activemq.broker.region.Topic.doBrowse(Topic.java:588)
> at org.apache.activemq.broker.region.Topic.access$100(Topic.java:65)
> at org.apache.activemq.broker.region.Topic$6.run(Topic.java:721)
> at 
> org.apache.activemq.thread.SchedulerTimerTask.run(SchedulerTimerTask.java:33)
> at java.util.TimerThread.mainLoop(Unknown Source)
> at java.util.TimerThread.run(Unknown Source)
> Caused by: java.lang.NullPointerException
> at 
> org.apache.activemq.leveldb.LevelDBClient$$anonfun$queueCursor$1.apply(LevelDBClient.scala:1248)
> It's not easy to reproduce. It's better with the snapshot but i can't say 
> that no messages are lost with leveldb.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to