activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <tb...@alumni.duke.edu>
Subject Re: KahaDB being used even though I have memoryPersistenceAdapter?
Date Mon, 06 Apr 2015 04:45:18 GMT
Any chance it's using KahaDB to persist scheduled messages (which I think
you've said you use) even though it's using memory to persist the actual
messages?  I have a vague memory of a thread in the past few months where
someone said that when using LevelDB, KahaDB is still used for scheduled
messages, so I wonder if the same might be true when using memory
persistence.

Tim
On Apr 5, 2015 8:33 PM, "Kevin Burton" <burton@spinn3r.com> wrote:

> This is interesting. I’m using a memory persistence adapter.  I can can
> confirm that via logs:
>
> > BrokerService Using Persistence Adapter: MemoryPersistenceAdapter
>
> .. This is using a servlet to fetch the queues on the box that I wrote.
>
> No idea why it’s insisting on using KahaDB…
>
> javax.servlet.ServletException:
> com.spinn3r.artemis.activemq.rest.components.BrokerInteractionException:
> java.io.IOException:
> org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter
> at
>
> com.spinn3r.artemis.activemq.rest.servlets.QueuesServlet.doGet(QueuesServlet.java:66)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:769)
> at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
> at
>
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
> at
>
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125)
> at
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
> at
>
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
> at
>
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059)
> at
>
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
> at
>
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
> at
>
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
> at org.eclipse.jetty.server.Server.handle(Server.java:485)
> at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:290)
> at
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:248)
> at
> org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
> at
>
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:606)
> at
>
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:535)
> at java.lang.Thread.run(Thread.java:745)
> Caused by:
> com.spinn3r.artemis.activemq.rest.components.BrokerInteractionException:
> java.io.IOException:
> org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter
> at
>
> com.spinn3r.artemis.activemq.rest.components.queues.DefaultQueueMetaReader.read(DefaultQueueMetaReader.java:40)
> at
>
> com.spinn3r.artemis.activemq.rest.servlets.QueuesServlet.doGet(QueuesServlet.java:56)
> ... 19 more
> Caused by: java.io.IOException:
> org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter
> at
>
> org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:39)
> at
>
> org.apache.activemq.broker.BrokerService.createPersistenceAdapter(BrokerService.java:2327)
> at
>
> org.apache.activemq.broker.BrokerService.getPersistenceAdapter(BrokerService.java:1171)
> at
>
> org.apache.activemq.broker.BrokerService.createRegionBroker(BrokerService.java:2209)
> at
>
> org.apache.activemq.broker.BrokerService.createBroker(BrokerService.java:2168)
> at
> org.apache.activemq.broker.BrokerService.getBroker(BrokerService.java:950)
> at
>
> org.apache.activemq.broker.BrokerService.getAdminView(BrokerService.java:963)
> at
>
> com.spinn3r.artemis.activemq.rest.components.queues.DefaultQueueMetaReader.read(DefaultQueueMetaReader.java:30)
> ... 20 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter
> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> at
>
> org.apache.activemq.broker.BrokerService.createPersistenceAdapter(BrokerService.java:2322)
> ... 26 more
>
>
>
>
> --
>
> Founder/CEO Spinn3r.com
> Location: *San Francisco, CA*
> blog: http://burtonator.wordpress.com
> … or check out my Google+ profile
> <https://plus.google.com/102718274791889610666/posts>
> <http://spinn3r.com>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message