Re: mkahadb with error: java.lang.IllegalStateException: PageFile is not loaded

2016-10-24 Thread RuralHunter
Nope, there was not any error message before it. -- View this message in context: http://activemq.2283324.n4.nabble.com/mkahadb-with-error-java-lang-IllegalStateException-PageFile-is-not-loaded-tp4718293p4718423.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Artemis Core XA Example

2016-10-24 Thread Clebert Suconic
- There is an “activemq-camel” component today, and since Artemis is slated to become the next “ActiveMQ”, I was looking for functional equivalents. This is actually what started the whole question for me, because I can do everything I need to do in core Artemis without muddying the waters with

Re: Activemq EOFException

2016-10-24 Thread FerSal
Did you get this resolved? I'm experiencing same EOFException and wondering if you might have any insights on this. Thank you -- View this message in context: http://activemq.2283324.n4.nabble.com/Activemq-EOFException-tp4681252p4718369.html Sent from the ActiveMQ - User mailing list archive

Re: Artemis Core XA Example

2016-10-24 Thread Quinn Stevenson
I can stick with JMS - I’ve used JMS servers for a long time, and I can get what I need done that way. There are a couple of reasons behind the question: - I try to keep my dependencies to a minimum. When I use JMS in camel currently, I use camel-sjms whenever I can (basically whenever I

Re: Avoid always creating a subscription to a topic when connecting as durable subscriber?

2016-10-24 Thread Justin Bertram
Which specific broker are you using (e.g. 5.x or Artemis)? Also, what kind of client are you using? Justin - Original Message - From: "KrisVH" To: users@activemq.apache.org Sent: Monday, October 24, 2016 11:05:05 AM Subject: Avoid always creating a

Avoid always creating a subscription to a topic when connecting as durable subscriber?

2016-10-24 Thread KrisVH
Hi, I want to have a thing where you can subscribe to a topic as a durable subscriber. Then afterwards you get the messages whenever, and when you don't want to get any more messages, you can unsubscribe. I have all this working fine, but if you then try to connect with the same subscription ID

Re: mkahadb with error: java.lang.IllegalStateException: PageFile is not loaded

2016-10-24 Thread Christopher Shannon
That's odd because the page file should be loaded right before the journal is loaded in that open() method. Did you see a log message about the index being corrupted? On Mon, Oct 24, 2016 at 3:11 AM, RuralHunter wrote: > I'm using 5.13.4 with mkahadb. Sometimes I saw

Re: Persistent messages and postgres backend

2016-10-24 Thread Tim Bain
I would expect the index to need to be on ID, CONTAINER for it to be used in this query. Tim On Oct 24, 2016 5:10 AM, "Lachezar Dobrev" wrote: Hm… That's weird. Did you do a VACUUM ANALYSE VERBOSE ACTIVEMQ_MSGS; Do you have autovacuum enabled in PostgreSQL? You can

Re: Persistent messages and postgres backend

2016-10-24 Thread Tim Bain
I would expect the index to need to be on ID, CONTAINER for it to be used in this query. Tim On Oct 24, 2016 5:10 AM, "Lachezar Dobrev" wrote: > Hm… That's weird. Did you do a > VACUUM ANALYSE VERBOSE ACTIVEMQ_MSGS; > Do you have autovacuum enabled in PostgreSQL? > >

Error when configuring activemq web console to use Active Directory

2016-10-24 Thread ldanster
Hi I'm getting the following error when configuring activemq web console to use ldap for authentication and authorization. java.lang.AbstractMethodError: org.eclipse.jetty.jaas.JAASLoginService.login(Ljava/lang/String;Ljava/lang/Object;)Lorg/eclipse/jetty/server/UserIdentity; at

Re: Persistent messages and postgres backend

2016-10-24 Thread Lachezar Dobrev
Hm… That's weird. Did you do a VACUUM ANALYSE VERBOSE ACTIVEMQ_MSGS; Do you have autovacuum enabled in PostgreSQL? You can try and execute the following: select pid, waiting, state, query from pg_stat_activity order by waiting desc, pid asc; this will show all running tasks, check if

AW: Persistent messages and postgres backend

2016-10-24 Thread Ulrich.Herbst
Thank you for your answer - we have tried this before with no success. Uli -Ursprüngliche Nachricht- Von: Lachezar Dobrev [mailto:l.dob...@gmail.com] Gesendet: Montag, 24. Oktober 2016 11:42 An: users@activemq.apache.org Betreff: Re: Persistent messages and postgres backend You might

Re: Persistent messages and postgres backend

2016-10-24 Thread Lachezar Dobrev
You might want to add an INDEX on CONTAINER column in ACTIVEMQ_MSGS table: CREATE INDEX ACTIVEMQ_MSGS_CONTAINER_INDEX ON ACTIVEMQ_MSGS(CONTAINER); 2016-10-24 12:14 GMT+03:00 : > Hi all, > > we need persistent messages with a postgres backend. > > We did some

Persistent messages and postgres backend

2016-10-24 Thread Ulrich.Herbst
Hi all, we need persistent messages with a postgres backend. We did some performance tests... and with about 70.000 Rows in ACTIVEMQ_MSGS we saw postgres log entries with: duration: 15439.610 ms execute : SELECT ID, MSG FROM ACTIVEMQ_MSGS WHERE CONTAINER=$1 ORDER BY ID DETAIL: parameters:

mkahadb with error: java.lang.IllegalStateException: PageFile is not loaded

2016-10-24 Thread RuralHunter
I'm using 5.13.4 with mkahadb. Sometimes I saw this error: java.lang.IllegalStateException: PageFile is not loaded at org.apache.activemq.store.kahadb.disk.page.PageFile.assertLoaded(PageFile.java:811)[activemq-kahadb-store-5.13.4.jar:5.13.4] at