Re: ActiveMQ losing durable topic messages when JournalledJDBCPersistence enabled

2017-11-08 Thread jasons
Tim, we appreciate any and all help the community can offer and we'll do what we can to help ourselves. You are correct in that a repeat of the test with only DC1 results in the same behaviour and outcome. Pending messages for DC1 are lost/deleted after messages arrive on the same topic but whi

Re: Why is the index inconsistent with the journal files in KahaDB?

2017-11-08 Thread Tim Bain
To be clear, you're not running the optimizer from that project, only the reader, right? What is the behavior if you delete the index file and start the broker with only the journal files (which will cause the index to be rebuilt)? I'm trying to determine whether 1) the index is invalid, or 2) the

Re: NPE when using a file based cursor with durable topic subscriptions

2017-11-08 Thread Tim Bain
Tomas, This does appear to be a bug, and I concur with your assessment of how the null reference is getting passed in. Can you please submit a bug in JIRA? Thanks, Tim On Wed, Nov 1, 2017 at 5:58 AM, tpavelka wrote: > I am using a file based cursor with durable topic subscriptions because in >

Re: Some questions about ActiveMQ JMX MBeans

2017-11-08 Thread Tim Bain
On Tue, Nov 7, 2017 at 10:20 PM, Shobhana wrote: > I want to monitor my broker using JMX MBeans; useJmx is set to true. I use > AMQ v 5.14.5. I have a few questions: > > a) How can I get current connections count? I see TotalConnectionsCount > but I think this gives a count of all connections sin

Re: Log files not being cleaned up

2017-11-08 Thread Tim Bain
The broker does already have a variety of checks that attempt to warn you defensively about certain potential problems and to prevent you from running into them (producer flow control, for example), but I'm not aware of a check specifically on the number of live KahaDB log files. In part, I'm not a

Re: [++SPAM++]: RE: : Re: WARNING log message to be removed

2017-11-08 Thread Tim Bain
On Wed, Nov 8, 2017 at 7:29 AM, COURTAULT Francois < francois.courta...@gemalto.com> wrote: > Hello Tim, > > Understood for the temp store: it looks like a swap mechanism in case > there is no more room in memory, right ? > Just to clarify: it's a swap mechanism in case there is no more room in *

Re: ActiveMQ Broker creation failing no matching editors or conversion strategy found

2017-11-08 Thread Tim Bain
I don't have direct experience using ActiveMQ via SSL so I don't have a recommended solution at the moment, but I notice that the error message says that the expected class is org.apache.activemq.broker.SslContext, and I doubt that that's the package for the SslContext class that SpringSslContext e

Re: ApacheMQ Artemis and Support for JGroups 4.x

2017-11-08 Thread Justin Bertram
Please open a JIRA [1] describing the upgrade you want and why. Thanks! Justin [1] https://issues.apache.org/jira/browse/ARTEMIS On Wed, Nov 1, 2017 at 11:48 AM, erie14 wrote: > Yes absolutely, besides the obvious (upgrade to most supported version of > JGroups), i run artemis in a kubernet

RE: [++SPAM++]: RE: : Re: WARNING log message to be removed

2017-11-08 Thread COURTAULT Francois
Hello Tim, Understood for the temp store: it looks like a swap mechanism in case there is no more room in memory, right ? Let's say that, in our configuration, we only set the memoryUsage limit without specifying any storeUsage and tempUsage limit . In such case, does it exist a formula to ca

ActiveMQ Broker creation failing no matching editors or conversion strategy found

2017-11-08 Thread nmalli....@gmail.com
We are upgrading servicemix 4.4.1 to 5.6.0,ActiveMQ 5.5.1 to 5.12.2. Existing bean creation xml is failing with Cannot convert value of type [com.myproduct.transport.bean.JcsSslContext] to required type [org.apache.activemq.broker.SslContext] for property 'sslContext': no matching editors or conv

Re: ActiveMQ losing durable topic messages when JournalledJDBCPersistence enabled

2017-11-08 Thread Tim Bain
Yes, I think it's our bug, but we need to figure out where. I'm hoping that you can help narrow down the symptoms to make it easier to find and fix (which increases the odds of it getting fixed, and is therefore in your best interest). Tim On Nov 7, 2017 7:29 PM, "jasons" wrote: > I missed the

RE: : Re: WARNING log message to be removed

2017-11-08 Thread Tim Bain
The quick summary is that the temp store is used when the memory store is full and more messages need to be added to it; if you don't over-fill the memory store, the temp store will not be used. The messages that are written to the memory store are non-persistent messages and spooled-in persistent

Re: [Artemis] Howto authenticate against LDAP with a local authorization?

2017-11-08 Thread Justin Bertram
I don't think Artemis supports the functionality you're looking for. Roles come from whatever JAAS login module you're using. There's no way to lump users into an arbitrary role. You can arbitrarily map one role to another using the in , but that doesn't sound like what you're looking for. Ju

[Artemis] Howto authenticate against LDAP with a local authorization?

2017-11-08 Thread ben
I successfully configured the integration of ActiveMQ Artemis 2.4 with an ActiveDirectory used just for authentication of the users. Integration is done over JAAS with the org.apache.activemq.artemis.spi.core.security.jaas.LDAPLoginModule. Now I would like to restrict access to the queues for the