why activeMQ use "world" schema to create zNodes in zooKeeper

2015-04-07 Thread nix.huang
when I use replicated levelDB as persistence media. I find activeMQ create zNodes in zooKeeper with schema "world:anyone:acdrw" . but auth-info is "digest:fabric:password", password can be configurate through zkPssword properties in activemq.xml, 1)why not use "digest:fabric:password" to create zN

Re: SecurityException: User is not authenticated

2015-04-07 Thread Scammell
Tim Bain wrote > My jetty.xml file has only your second bean, not the first one (and our > users list in jetty-realm.properties includes only admin users), and > authentication works, so commenting out your entire securityConstraint > bean > seems like an easy way to simplify your config and see if

Re: SecurityException: User is not authenticated

2015-04-07 Thread Tim Bain
My jetty.xml file has only your second bean, not the first one (and our users list in jetty-realm.properties includes only admin users), and authentication works, so commenting out your entire securityConstraint bean seems like an easy way to simplify your config and see if authentication works in

Re: SecurityException: User is not authenticated

2015-04-07 Thread Scammell
Tim Bain wrote > Those are IDs (and I'm positive they have to be unique); I was referring > to > > in each bean. Maybe Spring doesn't > mind that, I don't remember (I mainly use annotations these days), but it > seemed like an easy thing for you to check. > > More generally, I'd simplify your c

MQTTSocket and StompSocket doStart() method not being called

2015-04-07 Thread lukas83
Hi I try to run activeMQ as an MQTT broker over websockets, but I struggle. It accepts connects but then waits for StompSocket being propertly started. It would be properly started once doStart() would have been called, but it never gets called. What am I missing? Details: http://stackoverflow.com

Re: ActiveMQ message dequeuing hangs

2015-04-07 Thread mattmadhavan
Hi James, Yes I did yesterday and facing the same issue as I did with KahaDB. Problem is no errors, warnings nothing! Not sure whats happening! Any insight into this will be appreciated. Thanks Matt'M -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-message-deq

Re: Configuration with embedded ActoveMQ

2015-04-07 Thread MopSop
I would like to change memoryUsage, storeUsage, tempUsage but I don't know how to use broker URI with Spring Boot. Thanks, Stéphane James Carman wrote > You can configure quite a bit on the broker URI > > http://activemq.apache.org/broker-uri.html > > What are you looking to tweak? -- Vi

Clients connected vs number of consumers

2015-04-07 Thread ALi
Hello We have a server that has four queues and there is only one client connected. However every queue says that there are Cero consumers for each queue. What does this mean?? Can someone explain this? Perhaps the client is not listening to any queue? Or that client can receive from any queue an

Re: Does MessageStore.getMessage need to be fast?

2015-04-07 Thread Gary Tully
peek at org.apache.activemq.broker.region.cursors.VMPendingMessageCursor and the use of PrioritizedPendingList On 6 April 2015 at 22:57, Kevin Burton wrote: > How are messages served now.. I *think* they’re served based on message ID > and sequence and served with the lowest ID first. Which is

Re: SecurityException: User is not authenticated

2015-04-07 Thread Tim Bain
Those are IDs (and I'm positive they have to be unique); I was referring to in each bean. Maybe Spring doesn't mind that, I don't remember (I mainly use annotations these days), but it seemed like an easy thing for you to check. More generally, I'd simplify your config till it works and then you

Re: Configuration with embedded ActoveMQ

2015-04-07 Thread James Carman
You can configure quite a bit on the broker URI http://activemq.apache.org/broker-uri.html What are you looking to tweak? On Tuesday, April 7, 2015, MopSop wrote: > Hi All, > > I run ActiveMQ as Embedded with Spring Boot, do you know how can I > configure > it ? I tried an activemq.xml file in

Re: ActiveMQ message dequeuing hangs

2015-04-07 Thread jameshome
Hi Matt, The previous issue (AMQ-5125) was specifically an issue when using LevelDB, so if you're using KahaDB it won't be exactly the same issue, despite the similarity of the symptoms. Out of interest, have you tried using LevelDB? Do you get the same issue? James -- View this message in co

Configuration with embedded ActoveMQ

2015-04-07 Thread MopSop
Hi All, I run ActiveMQ as Embedded with Spring Boot, do you know how can I configure it ? I tried an activemq.xml file in root class path or in conf folder, it seems the configuratin is not loaded :( Do you know where to put the configuration file or how I can configure the broker using code ? Th