Re: AMQ 5.5.0 - queues having persistent messages dropped on restart

2013-04-03 Thread arjun
Hi, Can you please confirm whether i can go ahead with my proposed solution? It doesn't look to be a very neat solution, but we have a production release coming up this weekend, so appreciate if you can confirm that it should not have any negative impacts. Willing to explore any alternate options

ldap authentication failed

2013-04-03 Thread visionala9
Hi, I am trying to authenticate activemq using ldap.But I am getting this error.Does anyone have idea about this error? Error: INFO | Started SelectChannelConnector@0.0.0.0:8161 INFO | Searching for users with filter: '(&(objectClass={0})({1}={2}))' from base dn: ou=User,ou=ActiveMQ,ou=system INF

Unable to access object org.apache.activemq from JBoss JMX management Console

2013-04-03 Thread deepak_a
Hi, I am running activeMQ broker + JBoss in an integrated environment. I notice that I do not see Object name filer: org.apache.activemq from JBoss jmx-console Can some one point out if there is any config change needed to enable this? Note: I do see object name: activemq.queue and this lists ou

Re: AMQ 5.5.0 - queues having persistent messages dropped on restart

2013-04-03 Thread arjun
No, deletion of inactive destinations is not enabled. The only option I can think of is creation of the DLQ's on restart by adding an entry for each dlq in . Is that fine? or do you see any better options?

AMQ 5.6 network of broker -- temp destinations don't propagate

2013-04-03 Thread Oleg Dulin
I am operating a cluster of brokers. Each broker connects to its neighbors as follows (configuration from one of them): I use a request/response pattern like this: final Queue responseQueue = this.queueSession.createTemporaryQueue(); requestM

Re: Question regaring maximumRedeliveries and ActiveMQMessageConsumer.java

2013-04-03 Thread Gary Tully
redelivery is managed client side, the broker typically just fires out the message to a consumer and it is either acked or not. If there is a restart and the message was not acked it will be redelivered. There is an option to have kahadb rewrite the message to persist the delivery count https://is

Re: AMQ 5.5.0 - queues having persistent messages dropped on restart

2013-04-03 Thread Gary Tully
any chance that deletion of inactive destinations is enabled? http://activemq.apache.org/delete-inactive-destinations.html On 3 April 2013 17:08, arjun wrote: > Hi, > > We notice that if a queue is not defined in of > activemq.xml, it does not get created when the broker is restarted. > > Our

Re: Messages lost when a broker forward messages to another broker

2013-04-03 Thread Gary Tully
In 5.8 there is a sync send for all messages across the bridge, so they wait for an send reply before acking. Prior to that non persistent messages were sent async. On 28 March 2013 12:16, miguelhenley wrote: > I have configurated two brokers in a Wide Area Network: Brokers A and B. > All > mes

Re: AMQ 5.5.0 - queues having persistent messages dropped on restart

2013-04-03 Thread arjun
We dont want to consume messages from the DLQ. We have a monitoring set up that monitors the DLQ'susing jmx and the monitoring is no longer able to alert us regarding DLQ messages because the queues are dropped after a restart. -- View this message in context: http://activemq.2283324.n4.nabble.

Re: AMQ 5.5.0 - queues having persistent messages dropped on restart

2013-04-03 Thread Christian Posta
You can start consuming from the DQL (without creating) and get the messages. On Wed, Apr 3, 2013 at 9:08 AM, arjun wrote: > Hi, > > We notice that if a queue is not defined in of > activemq.xml, it does not get created when the broker is restarted. > > Our actual problem is that DLQ's do not

Re: 100% CPU

2013-04-03 Thread nielsbaloe
Hi, Yes, I will surely give these. Note that I am not talking about just a spike. I am talking about 100% CPU all the time. On both the broker (with KahaDb) and the worker (only 10 consumers). There must be something trivial wrong. Thanks again, Niels > > > Hi, > > The only thing that can shed

Re: 100% CPU

2013-04-03 Thread Raul Kripalani
Hi, The only thing that can shed light in the right direction is a series of thread dumps taken during the 100% CPU spike, with a space of 3-8 seconds each. Could you please attach those? Thanks, *Raúl Kripalani* Enterprise Architect, Open Source Integration specialist, Program Manager | Apache

Re: 100% CPU

2013-04-03 Thread nielsbaloe
Hi, Thanks for your thoughts. What do you mean with an activeMQ pool? Can you point out a reference? And why do you think that with only a few events an hour the process would go to 100% immediately after startup? We'll check out the load without kahaDb, but note that the worker/consumer machine

Re: 100% CPU

2013-04-03 Thread nielsbaloe
Hi, Well, these values are used everywhere. We fiddled a bit around with them some time ago, but it doesn't has any effect at all. This is just the wrong direction anyway, memory is not the issue here. Well, a leakage perhaps, but not the available memory. The broker runs within 1MB of memory but

Re: 100% CPU

2013-04-03 Thread Howard W. Smith, Jr.
On Wed, Apr 3, 2013 at 10:09 AM, nielsbaloe wrote: > Hi, > > -Xms512m -Xmx1500m > > Is this all the java options you have? There are more GC java options available; are you using any of them? Please provide them as well. Earlier I asked for the java options specified on developer and production m

Re: Any recommendation G1GC vmargs for activemq

2013-04-03 Thread Gaurav Sharma
I'd be interested in discussing this, as well though we're not there yet but going to be in the next month or so. You do all have the basic args, yes - start/max heap (same values), print gc logs, tstamps, dump on oom, compressed oops might be on by default, etc? Sent from my iPhone On Apr 2,

Re: 100% CPU

2013-04-03 Thread Gaurav Sharma
So, here're a few of my observations and suggestions based on the provided info: 1. use a newer java than v1.7.0_03 2. switch to amq v5.7 or v5.8 3. keep xmx and xms the same and preferably a multiple of 512 megs 4. where are you getting server grade machines with 2 and 15 gig ram 5. when you notic

AMQ 5.5.0 - queues having persistent messages dropped on restart

2013-04-03 Thread arjun
Hi, We notice that if a queue is not defined in of activemq.xml, it does not get created when the broker is restarted. Our actual problem is that DLQ's do not get created on restart of the broker although the messages are there in our persistent data store(oracle DB). I checked this with normal

ANN: Habari Client for ActiveMQ 3.4 - Delphi and Free Pascal client library

2013-04-03 Thread Michael Justin
April 2, 2013 - Habarisoft released version 3.4 of Habari Client for ActiveMQ, a Delphi and Free Pascal client library for the ActiveMQ message broker. New features in this release include improved support for heart-beating (STOMP 1.1), a new connection parameter to request broker receipts for

Cluster high availability.

2013-04-03 Thread saulo3k
I'm developing a cluster that messages must treat non persistence But the master slave when the master fails the cluster and have to restart the cluster Losing all messages in memory. What can I use? how? -- View this message in context: http://activemq.2283324.n4.nabble.com/Cluster-high-ava

Any recommendation G1GC vmargs for activemq

2013-04-03 Thread eureka
Hi, Have any of you have used G1GC with ActiveMQ. If so, Please share G1GC vmargs recommendation. Thanks for the Help! -- View this message in context: http://activemq.2283324.n4.nabble.com/Any-recommendation-G1GC-vmargs-for-activemq-tp4665383.html Sent from the ActiveMQ - User mailing list arc

Re: 100% CPU

2013-04-03 Thread nielsbaloe
Hi, -Xms512m -Xmx1500m but before we've set anything, it went wrong as well, and setting it higher also doesn't help. Note that there are only a few messages going through every hour, this is not yet fully production, so it should not even hit the 1% continuously... Thanks!, Niels > > Niels, >

Re: 100% CPU

2013-04-03 Thread Howard W. Smith, Jr.
Niels, I am not one of the experts here, but I am a new user of ActiveMQ via TomEE, and I like to listen in on the mail topics/questions/responses here. Since I listen in on Tomcat user list as well, I would say that this sounds like a GC (garbage collection) issue, but I might be mistaking. Can

100% CPU

2013-04-03 Thread nielsbaloe
Hi all, We are using activeMQ successfully for two projects now, but we accidentely discovered that both the broker and the worker/consumer machines are hitting 100% CPU continuously. We do not have this issue on our developers machines (all Windows 7 laptops). This occurs even when no events are

Re: Failover URIs with commas

2013-04-03 Thread Christoffer Sawicki
OK, I figured it out: The solution is to join the cipher names with "%2C" instead of ",", like this: failover:(ssl://…?socket.enabledCipherSuites=TLS_RSA_WITH_AES_256_CBC_SHA%2CTLS_DHE_RSA_WITH_AES_256_CBC_SHA…) Obvious in hindsight. :) -- View this message in context: http://activemq.228332

Re: Setting enabled SSL cipher suites in ActiveMQ clients

2013-04-03 Thread Christoffer Sawicki
Found the answer: "ssl://…?socket.enabledCipherSuites=…" Note: "socket" for the client, "transport" for the server/broker. -- View this message in context: http://activemq.2283324.n4.nabble.com/Setting-enabled-SSL-cipher-suites-in-ActiveMQ-clients-tp4665378p4665401.html Sent from the ActiveMQ