Could you please raise a jira so we can track this ? https://issues.apache.org/jira/browse/AMQ
On 28 Nov 2013, at 06:43, HellKnight <hellkni...@foxmail.com> wrote: > I installed activemq 5.9.0 as windows service under windows server 2008 r2 > and use leveldb persistence. My coworker stopped the service and restarted > it . Then I found that broker was running but no client could connect to it > . I read the broker log file and found the following errors. I have no idea > how to deal with this, thanks in advance for any help. > > 2013-11-27 19:54:05,897 | 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:543) > at > org.apache.activemq.leveldb.LevelDBClient.might_fail_using_index(LevelDBClient.scala:974) > at > org.apache.activemq.leveldb.LevelDBClient.collectionCursor(LevelDBClient.scala:1270) > at > org.apache.activemq.leveldb.LevelDBClient.queueCursor(LevelDBClient.scala:1194) > at > org.apache.activemq.leveldb.DBManager.cursorMessages(DBManager.scala:708) > at > org.apache.activemq.leveldb.LevelDBStore$LevelDBMessageStore.recoverNextMessages(LevelDBStore.scala:741) > at > org.apache.activemq.broker.region.cursors.QueueStorePrefetch.doFillBatch(QueueStorePrefetch.java:106) > at > org.apache.activemq.broker.region.cursors.AbstractStoreCursor.fillBatch(AbstractStoreCursor.java:258) > at > org.apache.activemq.broker.region.cursors.AbstractStoreCursor.reset(AbstractStoreCursor.java:108) > at > org.apache.activemq.broker.region.cursors.StoreQueueCursor.reset(StoreQueueCursor.java:157) > at > org.apache.activemq.broker.region.Queue.doPageInForDispatch(Queue.java:1875) > at > org.apache.activemq.broker.region.Queue.pageInMessages(Queue.java:2086) > at org.apache.activemq.broker.region.Queue.doBrowse(Queue.java:1096) > at > org.apache.activemq.broker.region.Queue.expireMessages(Queue.java:905) > at org.apache.activemq.broker.region.Queue.access$100(Queue.java:79) > at org.apache.activemq.broker.region.Queue$2.run(Queue.java:120) > 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:1198) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$queueCursor$1.apply(LevelDBClient.scala:1194) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1$$anonfun$apply$mcV$sp$12.apply(LevelDBClient.scala:1272) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1$$anonfun$apply$mcV$sp$12.apply(LevelDBClient.scala:1271) > at > org.apache.activemq.leveldb.LevelDBClient$RichDB.check$4(LevelDBClient.scala:315) > at > org.apache.activemq.leveldb.LevelDBClient$RichDB.cursorRange(LevelDBClient.scala:317) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1.apply$mcV$sp(LevelDBClient.scala:1271) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1.apply(LevelDBClient.scala:1271) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1.apply(LevelDBClient.scala:1271) > at > org.apache.activemq.leveldb.LevelDBClient.usingIndex(LevelDBClient.scala:968) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$might_fail_using_index$1.apply(LevelDBClient.scala:974) > at > org.apache.activemq.leveldb.LevelDBClient.might_fail(LevelDBClient.scala:540) > ... 18 more > 2013-11-27 19:54:05,897 | INFO | Apache ActiveMQ 5.9.0 (localhost, > ID:WIN-29-82-52786-1385553011442-0:7) is shutting down | > org.apache.activemq.broker.BrokerService | IOExceptionHandler: stopping > BrokerService[localhost] > 2013-11-27 19:54:05,913 | INFO | Stopped > LevelDB[D:\ActiveMQ-5.9.0-Win\apache-activemq-5.9.0\bin\win64\..\..\data\leveldb] > | org.apache.activemq.leveldb.LevelDBStore | LevelDB IOException handler. > 2013-11-27 19:54:05,959 | INFO | Connector openwire stopped | > org.apache.activemq.broker.TransportConnector | IOExceptionHandler: stopping > BrokerService[localhost] > 2013-11-27 19:54:06,006 | ERROR | > org.apache.activemq.broker.region.cursors.QueueStorePrefetch@1d977706:807,batchResetNeeded=false,storeHasMessages=true,size=68,cacheEnabled=false,maxBatchSize:68 > - Failed to fill batch | > org.apache.activemq.broker.region.cursors.AbstractStoreCursor | ActiveMQ > Broker[localhost] Scheduler > org.apache.activemq.broker.SuppressReplyException: ShutdownBrokerInitiated > at > org.apache.activemq.util.DefaultIOExceptionHandler.handle(DefaultIOExceptionHandler.java:134) > at > org.apache.activemq.broker.BrokerService.handleIOException(BrokerService.java:2526) > at > org.apache.activemq.leveldb.LevelDBClient$$anon$2.run(LevelDBClient.scala:521) > Caused by: java.io.IOException > at > org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:39) > at > org.apache.activemq.leveldb.LevelDBClient.might_fail(LevelDBClient.scala:543) > at > org.apache.activemq.leveldb.LevelDBClient.might_fail_using_index(LevelDBClient.scala:974) > at > org.apache.activemq.leveldb.LevelDBClient.collectionCursor(LevelDBClient.scala:1270) > at > org.apache.activemq.leveldb.LevelDBClient.queueCursor(LevelDBClient.scala:1194) > at > org.apache.activemq.leveldb.DBManager.cursorMessages(DBManager.scala:708) > at > org.apache.activemq.leveldb.LevelDBStore$LevelDBMessageStore.recoverNextMessages(LevelDBStore.scala:741) > at > org.apache.activemq.broker.region.cursors.QueueStorePrefetch.doFillBatch(QueueStorePrefetch.java:106) > at > org.apache.activemq.broker.region.cursors.AbstractStoreCursor.fillBatch(AbstractStoreCursor.java:258) > at > org.apache.activemq.broker.region.cursors.AbstractStoreCursor.reset(AbstractStoreCursor.java:108) > at > org.apache.activemq.broker.region.cursors.StoreQueueCursor.reset(StoreQueueCursor.java:157) > at > org.apache.activemq.broker.region.Queue.doPageInForDispatch(Queue.java:1875) > at > org.apache.activemq.broker.region.Queue.pageInMessages(Queue.java:2086) > at org.apache.activemq.broker.region.Queue.doBrowse(Queue.java:1096) > at > org.apache.activemq.broker.region.Queue.expireMessages(Queue.java:905) > at org.apache.activemq.broker.region.Queue.access$100(Queue.java:79) > at org.apache.activemq.broker.region.Queue$2.run(Queue.java:120) > 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:1198) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$queueCursor$1.apply(LevelDBClient.scala:1194) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1$$anonfun$apply$mcV$sp$12.apply(LevelDBClient.scala:1272) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1$$anonfun$apply$mcV$sp$12.apply(LevelDBClient.scala:1271) > at > org.apache.activemq.leveldb.LevelDBClient$RichDB.check$4(LevelDBClient.scala:315) > at > org.apache.activemq.leveldb.LevelDBClient$RichDB.cursorRange(LevelDBClient.scala:317) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1.apply$mcV$sp(LevelDBClient.scala:1271) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1.apply(LevelDBClient.scala:1271) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1.apply(LevelDBClient.scala:1271) > at > org.apache.activemq.leveldb.LevelDBClient.usingIndex(LevelDBClient.scala:968) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$might_fail_using_index$1.apply(LevelDBClient.scala:974) > at > org.apache.activemq.leveldb.LevelDBClient.might_fail(LevelDBClient.scala:540) > ... 18 more > 2013-11-27 19:54:06,038 | ERROR | > org.apache.activemq.broker.region.cursors.QueueStorePrefetch@1d977706:807,batchResetNeeded=false,storeHasMessages=true,size=68,cacheEnabled=false,maxBatchSize:68 > - Failed to fill batch | > org.apache.activemq.broker.region.cursors.AbstractStoreCursor | ActiveMQ > Broker[localhost] Scheduler > java.lang.RuntimeException: > org.apache.activemq.broker.SuppressReplyException: ShutdownBrokerInitiated > at > org.apache.activemq.broker.region.cursors.AbstractStoreCursor.fillBatch(AbstractStoreCursor.java:261) > at > org.apache.activemq.broker.region.cursors.AbstractStoreCursor.reset(AbstractStoreCursor.java:108) > at > org.apache.activemq.broker.region.cursors.StoreQueueCursor.reset(StoreQueueCursor.java:157) > at > org.apache.activemq.broker.region.Queue.doPageInForDispatch(Queue.java:1875) > at > org.apache.activemq.broker.region.Queue.pageInMessages(Queue.java:2086) > at org.apache.activemq.broker.region.Queue.doBrowse(Queue.java:1096) > at > org.apache.activemq.broker.region.Queue.expireMessages(Queue.java:905) > at org.apache.activemq.broker.region.Queue.access$100(Queue.java:79) > at org.apache.activemq.broker.region.Queue$2.run(Queue.java:120) > 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: org.apache.activemq.broker.SuppressReplyException: > ShutdownBrokerInitiated > at > org.apache.activemq.util.DefaultIOExceptionHandler.handle(DefaultIOExceptionHandler.java:134) > at > org.apache.activemq.broker.BrokerService.handleIOException(BrokerService.java:2526) > at > org.apache.activemq.leveldb.LevelDBClient$$anon$2.run(LevelDBClient.scala:521) > Caused by: java.io.IOException > at > org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:39) > at > org.apache.activemq.leveldb.LevelDBClient.might_fail(LevelDBClient.scala:543) > at > org.apache.activemq.leveldb.LevelDBClient.might_fail_using_index(LevelDBClient.scala:974) > at > org.apache.activemq.leveldb.LevelDBClient.collectionCursor(LevelDBClient.scala:1270) > at > org.apache.activemq.leveldb.LevelDBClient.queueCursor(LevelDBClient.scala:1194) > at > org.apache.activemq.leveldb.DBManager.cursorMessages(DBManager.scala:708) > at > org.apache.activemq.leveldb.LevelDBStore$LevelDBMessageStore.recoverNextMessages(LevelDBStore.scala:741) > at > org.apache.activemq.broker.region.cursors.QueueStorePrefetch.doFillBatch(QueueStorePrefetch.java:106) > at > org.apache.activemq.broker.region.cursors.AbstractStoreCursor.fillBatch(AbstractStoreCursor.java:258) > at > org.apache.activemq.broker.region.cursors.AbstractStoreCursor.reset(AbstractStoreCursor.java:108) > at > org.apache.activemq.broker.region.cursors.StoreQueueCursor.reset(StoreQueueCursor.java:157) > at > org.apache.activemq.broker.region.Queue.doPageInForDispatch(Queue.java:1875) > at > org.apache.activemq.broker.region.Queue.pageInMessages(Queue.java:2086) > at org.apache.activemq.broker.region.Queue.doBrowse(Queue.java:1096) > at > org.apache.activemq.broker.region.Queue.expireMessages(Queue.java:905) > at org.apache.activemq.broker.region.Queue.access$100(Queue.java:79) > at org.apache.activemq.broker.region.Queue$2.run(Queue.java:120) > 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:1198) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$queueCursor$1.apply(LevelDBClient.scala:1194) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1$$anonfun$apply$mcV$sp$12.apply(LevelDBClient.scala:1272) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1$$anonfun$apply$mcV$sp$12.apply(LevelDBClient.scala:1271) > at > org.apache.activemq.leveldb.LevelDBClient$RichDB.check$4(LevelDBClient.scala:315) > at > org.apache.activemq.leveldb.LevelDBClient$RichDB.cursorRange(LevelDBClient.scala:317) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1.apply$mcV$sp(LevelDBClient.scala:1271) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1.apply(LevelDBClient.scala:1271) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1.apply(LevelDBClient.scala:1271) > at > org.apache.activemq.leveldb.LevelDBClient.usingIndex(LevelDBClient.scala:968) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$might_fail_using_index$1.apply(LevelDBClient.scala:974) > at > org.apache.activemq.leveldb.LevelDBClient.might_fail(LevelDBClient.scala:540) > ... 18 more > 2013-11-27 19:54:06,131 | ERROR | Problem retrieving message for browse | > org.apache.activemq.broker.region.Queue | ActiveMQ Broker[localhost] > Scheduler > java.lang.RuntimeException: java.lang.RuntimeException: > org.apache.activemq.broker.SuppressReplyException: ShutdownBrokerInitiated > at > org.apache.activemq.broker.region.cursors.AbstractStoreCursor.reset(AbstractStoreCursor.java:111) > at > org.apache.activemq.broker.region.cursors.StoreQueueCursor.reset(StoreQueueCursor.java:157) > at > org.apache.activemq.broker.region.Queue.doPageInForDispatch(Queue.java:1875) > at > org.apache.activemq.broker.region.Queue.pageInMessages(Queue.java:2086) > at org.apache.activemq.broker.region.Queue.doBrowse(Queue.java:1096) > at > org.apache.activemq.broker.region.Queue.expireMessages(Queue.java:905) > at org.apache.activemq.broker.region.Queue.access$100(Queue.java:79) > at org.apache.activemq.broker.region.Queue$2.run(Queue.java:120) > 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.RuntimeException: > org.apache.activemq.broker.SuppressReplyException: ShutdownBrokerInitiated > at > org.apache.activemq.broker.region.cursors.AbstractStoreCursor.fillBatch(AbstractStoreCursor.java:261) > at > org.apache.activemq.broker.region.cursors.AbstractStoreCursor.reset(AbstractStoreCursor.java:108) > ... 10 more > Caused by: org.apache.activemq.broker.SuppressReplyException: > ShutdownBrokerInitiated > at > org.apache.activemq.util.DefaultIOExceptionHandler.handle(DefaultIOExceptionHandler.java:134) > at > org.apache.activemq.broker.BrokerService.handleIOException(BrokerService.java:2526) > at > org.apache.activemq.leveldb.LevelDBClient$$anon$2.run(LevelDBClient.scala:521) > Caused by: java.io.IOException > at > org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:39) > at > org.apache.activemq.leveldb.LevelDBClient.might_fail(LevelDBClient.scala:543) > at > org.apache.activemq.leveldb.LevelDBClient.might_fail_using_index(LevelDBClient.scala:974) > at > org.apache.activemq.leveldb.LevelDBClient.collectionCursor(LevelDBClient.scala:1270) > at > org.apache.activemq.leveldb.LevelDBClient.queueCursor(LevelDBClient.scala:1194) > at > org.apache.activemq.leveldb.DBManager.cursorMessages(DBManager.scala:708) > at > org.apache.activemq.leveldb.LevelDBStore$LevelDBMessageStore.recoverNextMessages(LevelDBStore.scala:741) > at > org.apache.activemq.broker.region.cursors.QueueStorePrefetch.doFillBatch(QueueStorePrefetch.java:106) > at > org.apache.activemq.broker.region.cursors.AbstractStoreCursor.fillBatch(AbstractStoreCursor.java:258) > at > org.apache.activemq.broker.region.cursors.AbstractStoreCursor.reset(AbstractStoreCursor.java:108) > at > org.apache.activemq.broker.region.cursors.StoreQueueCursor.reset(StoreQueueCursor.java:157) > at > org.apache.activemq.broker.region.Queue.doPageInForDispatch(Queue.java:1875) > at > org.apache.activemq.broker.region.Queue.pageInMessages(Queue.java:2086) > at org.apache.activemq.broker.region.Queue.doBrowse(Queue.java:1096) > at > org.apache.activemq.broker.region.Queue.expireMessages(Queue.java:905) > at org.apache.activemq.broker.region.Queue.access$100(Queue.java:79) > at org.apache.activemq.broker.region.Queue$2.run(Queue.java:120) > 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:1198) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$queueCursor$1.apply(LevelDBClient.scala:1194) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1$$anonfun$apply$mcV$sp$12.apply(LevelDBClient.scala:1272) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1$$anonfun$apply$mcV$sp$12.apply(LevelDBClient.scala:1271) > at > org.apache.activemq.leveldb.LevelDBClient$RichDB.check$4(LevelDBClient.scala:315) > at > org.apache.activemq.leveldb.LevelDBClient$RichDB.cursorRange(LevelDBClient.scala:317) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1.apply$mcV$sp(LevelDBClient.scala:1271) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1.apply(LevelDBClient.scala:1271) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1.apply(LevelDBClient.scala:1271) > at > org.apache.activemq.leveldb.LevelDBClient.usingIndex(LevelDBClient.scala:968) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$might_fail_using_index$1.apply(LevelDBClient.scala:974) > at > org.apache.activemq.leveldb.LevelDBClient.might_fail(LevelDBClient.scala:540) > ... 18 more > 2013-11-27 19:54:07,959 | INFO | Connector amqp stopped | > org.apache.activemq.broker.TransportConnector | IOExceptionHandler: stopping > BrokerService[localhost] > 2013-11-27 19:54:07,975 | INFO | Connector stomp stopped | > org.apache.activemq.broker.TransportConnector | IOExceptionHandler: stopping > BrokerService[localhost] > 2013-11-27 19:54:07,991 | INFO | Connector mqtt stopped | > org.apache.activemq.broker.TransportConnector | IOExceptionHandler: stopping > BrokerService[localhost] > 2013-11-27 19:54:08,058 | INFO | Connector ws stopped | > org.apache.activemq.broker.TransportConnector | IOExceptionHandler: stopping > BrokerService[localhost] > 2013-11-27 19:54:08,074 | INFO | Apache ActiveMQ 5.9.0 (localhost, > ID:WIN-29-82-52786-1385553011442-0:7) uptime 32.365 seconds | > org.apache.activemq.broker.BrokerService | IOExceptionHandler: stopping > BrokerService[localhost] > 2013-11-27 19:54:08,074 | INFO | Apache ActiveMQ 5.9.0 (localhost, > ID:WIN-29-82-52786-1385553011442-0:7) is shutdown | > org.apache.activemq.broker.BrokerService | IOExceptionHandler: stopping > BrokerService[localhost] > 2013-11-27 19:54:08,074 | INFO | Closing > org.apache.activemq.xbean.XBeanBrokerFactory$1@4f01e04c: startup date [Wed > Nov 27 19:53:35 CST 2013]; root of context hierarchy | > org.apache.activemq.xbean.XBeanBrokerFactory$1 | IOExceptionHandler: > stopping BrokerService[localhost] > 2013-11-27 19:54:08,105 | INFO | Destroying Spring FrameworkServlet > 'dispatcher' | /admin | IOExceptionHandler: stopping > BrokerService[localhost] > 2013-11-27 19:54:08,121 | INFO | Destroying hawtio authentication filter | > io.hawt.web.AuthenticationFilter | IOExceptionHandler: stopping > BrokerService[localhost] > 2013-11-27 19:54:08,175 | INFO | Refreshing > org.apache.activemq.xbean.XBeanBrokerFactory$1@69c2d428: startup date [Wed > Nov 27 19:54:08 CST 2013]; root of context hierarchy | > org.apache.activemq.xbean.XBeanBrokerFactory$1 | WrapperSimpleAppMain > 2013-11-27 19:54:08,300 | INFO | Using Persistence Adapter: > LevelDB[D:\ActiveMQ-5.9.0-Win\apache-activemq-5.9.0\bin\win64\..\..\data\leveldb] > | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain > 2013-11-27 19:54:08,300 | INFO | Using the pure java LevelDB > implementation. | org.apache.activemq.leveldb.LevelDBClient | > WrapperSimpleAppMain > 2013-11-27 19:54:08,457 | INFO | Apache ActiveMQ 5.9.0 (localhost, > ID:WIN-29-82-52786-1385553011442-0:8) is starting | > org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain > 2013-11-27 19:54:08,535 | INFO | Listening for connections at: > tcp://WIN-29-82:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600 > | org.apache.activemq.transport.TransportServerThreadSupport | > WrapperSimpleAppMain > 2013-11-27 19:54:08,550 | INFO | Connector openwire started | > org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain > 2013-11-27 19:54:08,550 | INFO | Listening for connections at: > amqp://WIN-29-82:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600 > | org.apache.activemq.transport.TransportServerThreadSupport | > WrapperSimpleAppMain > 2013-11-27 19:54:08,550 | INFO | Connector amqp started | > org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain > 2013-11-27 19:54:08,566 | INFO | Listening for connections at: > stomp://WIN-29-82:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600 > | org.apache.activemq.transport.TransportServerThreadSupport | > WrapperSimpleAppMain > 2013-11-27 19:54:08,566 | INFO | Connector stomp started | > org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain > 2013-11-27 19:54:08,582 | INFO | Listening for connections at: > mqtt://WIN-29-82:1883?maximumConnections=1000&wireFormat.maxFrameSize=104857600 > | org.apache.activemq.transport.TransportServerThreadSupport | > WrapperSimpleAppMain > 2013-11-27 19:54:08,582 | INFO | Connector mqtt started | > org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain > 2013-11-27 19:54:08,597 | INFO | Listening for connections at > ws://WIN-29-82:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600 > | org.apache.activemq.transport.ws.WSTransportServer | WrapperSimpleAppMain > 2013-11-27 19:54:08,597 | INFO | Connector ws started | > org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain > 2013-11-27 19:54:08,597 | INFO | Apache ActiveMQ 5.9.0 (localhost, > ID:WIN-29-82-52786-1385553011442-0:8) started | > org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain > 2013-11-27 19:54:08,613 | INFO | For help or more information please see: > http://activemq.apache.org | org.apache.activemq.broker.BrokerService | > WrapperSimpleAppMain > 2013-11-27 19:54:08,613 | WARN | Store limit is 15360 mb, whilst the data > directory: > D:\ActiveMQ-5.9.0-Win\apache-activemq-5.9.0\bin\win64\..\..\data\leveldb > only has 6379 mb of usable space - resetting to maximum available disk > space: 6379 mb | org.apache.activemq.broker.BrokerService | > WrapperSimpleAppMain > 2013-11-27 19:54:08,769 | INFO | Welcome to hawtio 1.2-M23 : > http://hawt.io/ : Don't cha wish your console was hawt like me? ;-) | > io.hawt.jmx.JmxTreeWatcher | WrapperSimpleAppMain > 2013-11-27 19:54:08,769 | INFO | Starting hawtio authentication filter, > JAAS realm: "activemq" authorized role: "admins" role principal classes: > "org.apache.activemq.jaas.GroupPrincipal" | io.hawt.web.AuthenticationFilter > | WrapperSimpleAppMain > 2013-11-27 19:54:08,785 | INFO | Using file upload directory: > C:\Windows\system32\config\systemprofile\AppData\Local\Temp\\uploads | > io.hawt.web.UploadServlet | WrapperSimpleAppMain > 2013-11-27 19:54:08,800 | INFO | jolokia-agent: Using access restrictor > classpath:/jolokia-access.xml | /hawtio | WrapperSimpleAppMain > 2013-11-27 19:54:08,925 | INFO | ActiveMQ WebConsole available at > http://localhost:8161/ | org.apache.activemq.web.WebConsoleStarter | > WrapperSimpleAppMain > 2013-11-27 19:54:08,925 | INFO | Initializing Spring FrameworkServlet > 'dispatcher' | /admin | WrapperSimpleAppMain > 2013-11-27 19:54:38,472 | 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:543) > at > org.apache.activemq.leveldb.LevelDBClient.might_fail_using_index(LevelDBClient.scala:974) > at > org.apache.activemq.leveldb.LevelDBClient.collectionCursor(LevelDBClient.scala:1270) > at > org.apache.activemq.leveldb.LevelDBClient.queueCursor(LevelDBClient.scala:1194) > at > org.apache.activemq.leveldb.DBManager.cursorMessages(DBManager.scala:708) > at > org.apache.activemq.leveldb.LevelDBStore$LevelDBMessageStore.recoverNextMessages(LevelDBStore.scala:741) > at > org.apache.activemq.broker.region.cursors.QueueStorePrefetch.doFillBatch(QueueStorePrefetch.java:106) > at > org.apache.activemq.broker.region.cursors.AbstractStoreCursor.fillBatch(AbstractStoreCursor.java:258) > at > org.apache.activemq.broker.region.cursors.AbstractStoreCursor.reset(AbstractStoreCursor.java:108) > at > org.apache.activemq.broker.region.cursors.StoreQueueCursor.reset(StoreQueueCursor.java:157) > at > org.apache.activemq.broker.region.Queue.doPageInForDispatch(Queue.java:1875) > at > org.apache.activemq.broker.region.Queue.pageInMessages(Queue.java:2086) > at org.apache.activemq.broker.region.Queue.doBrowse(Queue.java:1096) > at > org.apache.activemq.broker.region.Queue.expireMessages(Queue.java:905) > at org.apache.activemq.broker.region.Queue.access$100(Queue.java:79) > at org.apache.activemq.broker.region.Queue$2.run(Queue.java:120) > 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:1198) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$queueCursor$1.apply(LevelDBClient.scala:1194) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1$$anonfun$apply$mcV$sp$12.apply(LevelDBClient.scala:1272) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1$$anonfun$apply$mcV$sp$12.apply(LevelDBClient.scala:1271) > at > org.apache.activemq.leveldb.LevelDBClient$RichDB.check$4(LevelDBClient.scala:315) > at > org.apache.activemq.leveldb.LevelDBClient$RichDB.cursorRange(LevelDBClient.scala:317) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1.apply$mcV$sp(LevelDBClient.scala:1271) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1.apply(LevelDBClient.scala:1271) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$collectionCursor$1.apply(LevelDBClient.scala:1271) > at > org.apache.activemq.leveldb.LevelDBClient.usingIndex(LevelDBClient.scala:968) > at > org.apache.activemq.leveldb.LevelDBClient$$anonfun$might_fail_using_index$1.apply(LevelDBClient.scala:974) > at > org.apache.activemq.leveldb.LevelDBClient.might_fail(LevelDBClient.scala:540) > ... 18 more > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/It-seems-that-leveldb-encounter-some-error-and-broker-could-not-work-normally-tp4674900.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. Rob Davies ----------------- Red Hat, Inc Twitter: rajdavies Blog: http://rajdavies.blogspot.com ActiveMQ in Action: http://www.manning.com/snyder/