sample running artemis configs

2016-06-24 Thread Christopher Wood
I've been digging into the artemis docs and example broker.xml in the binary distribution. So far I think I understand most of what I would do to migrate from activemq to artemis. I'm not entirely clear on what would replace the activemq destinationPolicy, though. Or other elements like authori

Re: How to update activemq.xml config in distributed topology?

2016-05-08 Thread Christopher Wood
On Sun, May 08, 2016 at 07:54:50AM -0700, Raffi wrote: > Looking for advice on how to update activemq.xml in a distributed topology > that uses M/S pairs and NoB. > > Some ideas we're considering... > > Option A: *Custom Startup Bean* > On startup (before activemq.xml is read), a custom class que

Re: prefetch limit and clustering

2016-04-27 Thread Christopher Wood
fter these disconnections. Any hints are very much welcome, this is almost certainly self-inflicted. > And yes, in the case of a network partition, a broker in a given partition > should be able to service the clients in that partition, though not > necessarily the clients in another p

prefetch limit and clustering

2016-04-25 Thread Christopher Wood
As background, there is an activemq cluster (5.13.2 on CentOS 6.7, star topology) here to support mcollective. One datacenter is on the other side of the Atlantic and every time inter-datacenter connectivity is interrupted we see this prefetch log fragment and the clustering to that activemq ins

Re: Transport Connection EOFException

2013-01-04 Thread Christopher Wood
Slightly off topic, but given that there are a number of reasons why you can open a tcp socket but not have a usable daemon behind it, you probably want an application monitor in your load balancer rather than just a tcp monitor. You could use the same code in your monitoring system to implement

Re: periodic 5.6.0 ldap permission issues, solved by restart?

2012-06-22 Thread Christopher Wood
; > > Regards > -- > Dejan Bosanac > Senior Software Engineer | FuseSource Corp. > dej...@fusesource.com | fusesource.com > skype: dejan.bosanac | twitter: @dejanb > blog: http://www.nighttale.net > ActiveMQ in Action: http://www.manning.com/snyder/ > > > On Thu, Ju

periodic 5.6.0 ldap permission issues, solved by restart?

2012-06-21 Thread Christopher Wood
I upgraded our lab ActiveMQ to 5.6.0 and am using the cached ldap auth module. I appear to be having a problem where at times ActiveMQ loses its authorization data cache and does not refresh this from ldap. Is there any way of forcing a retry if it has a connection issue, or otherwise further di

Re: ldap, system user can't create a topic

2012-06-19 Thread Christopher Wood
5.6.0 and ldap authentication/authorization works better for me than 5.5.1. I was denied read/write to unpermitted queues. Dejan: Thank you for the pointer, very much appreciated. On Tue, Jun 19, 2012 at 02:36:43PM -0400, Christopher Wood wrote: > Unfortunately the blog post didn't

Re: ldap, system user can't create a topic

2012-06-19 Thread Christopher Wood
/www.manning.com/snyder/ > > > On Mon, Jun 18, 2012 at 11:55 PM, Christopher Wood > wrote: > > What gives the "system" user permission to create > > topic://ActiveMQ.Advisory.Connection? Without this ActiveMQ will not start. > > (Working with 5.5.1 since

ldap, system user can't create a topic

2012-06-18 Thread Christopher Wood
What gives the "system" user permission to create topic://ActiveMQ.Advisory.Connection? Without this ActiveMQ will not start. (Working with 5.5.1 since 5.6.0 is a jump requiring further testing.) I'm getting this error (all pasted text munged slightly to obfuscate things): 2012-06-18 17:35:46,9

Re: ActiveMQ 5 - Specifying a broker's destinations in an external file

2012-06-11 Thread Christopher Wood
I cribbed from here: http://activemq.apache.org/security.html#Security-LDAPAuthenticationUsingtheJAASPlugin And my login.config file looks like this: LdapConfiguration { org.apache.activemq.jaas.LDAPLoginModule required debug=true initialContextFactory=com.sun.jndi.ldap.LdapC

Re: ActiveMQ 5 - Specifying a broker's destinations in an external file

2012-06-11 Thread Christopher Wood
On Mon, Jun 11, 2012 at 07:26:43AM -0700, ndipiazza wrote: > We want to specify our destinations in a separate file, so that activemq.xml > file. > > So something like: > > http://activemq.apache.org/schema/core";> > > > Is there any such thing? Or any equivalent? I've found that rel

Re: dlq handling stops activemq from starting?

2012-05-29 Thread Christopher Wood
s. > > > Torsten Mielke > tors...@fusesource.com > tmie...@blogspot.com > > > On May 29, 2012, at 5:19 AM, Christopher Wood wrote: > > > I've read this about DLQ: > > > > http://activemq.apache.org/message-redelivery-and-dlq-handling.html > >

dlq handling stops activemq from starting?

2012-05-28 Thread Christopher Wood
I've read this about DLQ: http://activemq.apache.org/message-redelivery-and-dlq-handling.html But when I try to use it as in the example (queue=">") ActiveMQ doesn't start (5.5.1, although similar behaviour with 5.6.0). If I take the attached activemq.xml and use it as is, I get a working Activ

server-side stomp timeout?

2012-04-23 Thread Christopher Wood
My ActiveMQ daemon is not disconnecting dead stomp consumers. Is there a server-side timeout setting that I can use somewhere? I'm having difficulty finding one. I have a chaos monkey intermittently killing processes on my consumer hosts, and if this happens when the consumer is slurping down m

php ack problem

2012-01-04 Thread Christopher Wood
I have a problem with ActiveMQ not removing messages from a queue when the ack is received from PHP. Do you list denizens possibly know what's going on? As background, it appears that Net::STOMP::Client adds a content-length header to a message, whereas PHP's Stomp doesn't. When Net::STOMP::Clie