Re: Held Messages in ActiveMQ broker

2014-02-03 Thread khandelwalanuj
please respond !! -- View this message in context: http://activemq.2283324.n4.nabble.com/Held-Messages-in-ActiveMQ-broker-tp4677298p4677374.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: KahaDb cleanUp interval

2014-02-03 Thread khandelwalanuj
Ping !! What is the impact of increasing this value to 60 sec. ? -- View this message in context: http://activemq.2283324.n4.nabble.com/KahaDb-cleanUp-interval-tp4676946p4677373.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

I want to use replicated-leveldb-store for MQTT

2014-02-03 Thread rafael
I trying to configure activemq(ActiveMQ 5.9.0) server for HA(High Availability). I found that replicated leveldb store( http://activemq.apache.org/replicated-leveldb-store.html ). So I tried to use above features for mqtt. But I realized t

Re: Update Initial Configuration Page

2014-02-03 Thread artnaseef
Good catch. That is worthy of a jira entry. Sent from my iPhone > On Feb 3, 2014, at 2:08 PM, "javaguy410 [via ActiveMQ]" > wrote: > > It appears the initial configuration page > (http://activemq.apache.org/initial-configuration.html) is out of date. > > It says "activemq-core.jar" is a re

Re: Activemq 5.8.0 - SSL networkConnector fails with certificate_unknown but HTTPs works?

2014-02-03 Thread artnaseef
That's awesome. I need to remember that link. Sent from my iPhone > On Feb 3, 2014, at 6:16 PM, "Noel OConnor [via ActiveMQ]" > wrote: > > Try turning on SSL debugging as well... > > http://docs.oracle.com/javase/1.5.0/docs/guide/security/jsse/ReadDebug.html > > > On Tue, Feb 4, 2014 at 1

Re: Purge Kahadb

2014-02-03 Thread artnaseef
This is also possible from the webconsole or via JMX. In the webconsole, navigate to the queue in the Queue page and click delete or purge. Via JMX, navigate to the Queue MBean and use the purge or delete operation. Delete may fail if there are active consumers. Not sure about purge. Sent

Re: Purge Kahadb

2014-02-03 Thread Noel OConnor
You could either embed a camel route to consume from the queue or if you're considering deleting the underlying kahadb persistence store maybe separate it out from other stores using the mkahadb directive. See http://blog.garytully.com/2011/11/activemq-multiple-kahadb-instances.html On Tue, Fe

Re: Activemq 5.8.0 - SSL networkConnector fails with certificate_unknown but HTTPs works?

2014-02-03 Thread Noel OConnor
Try turning on SSL debugging as well... http://docs.oracle.com/javase/1.5.0/docs/guide/security/jsse/ReadDebug.html On Tue, Feb 4, 2014 at 11:58 AM, artnaseef wrote: > What does the TransportConnector configuration look like? > > The error, if I'm reading it right, is from the Broker accepting

Re: Activemq 5.8.0 - SSL networkConnector fails with certificate_unknown but HTTPs works?

2014-02-03 Thread artnaseef
What does the TransportConnector configuration look like? The error, if I'm reading it right, is from the Broker accepting the connection. The broker is not rejecting its own certificate, so I suspect that client-side certificates are required. If that's the case, make sure the CA signing the cl

Re: Is there anyway to set the brokers trustManager via configuration?

2014-02-03 Thread artnaseef
You can always set the default SSL trust store using the standard sun properties. As long as nothing else in the JVM sets them. Note that changing those properties is meaningless after the first use of an SSL socket factory, so generally defining them on the JVM command-line is the best way to go

Re: MQTT and JMS/NMS: ActiveMQ vs. Apollo

2014-02-03 Thread vatsal12
Hi Christian and Maarten, Can you please post the plugin or patch ? Thanks -- View this message in context: http://activemq.2283324.n4.nabble.com/MQTT-and-JMS-NMS-ActiveMQ-vs-Apollo-tp4660081p4677348.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Is there anyway to set the brokers trustManager via configuration?

2014-02-03 Thread jeffrey
I know that as part of the ActiveMQSslConnectionFactory class you are able to set the trust manager though the function void setKeyAndTrustManagers(KeyManager[] km, TrustManager[] tm, SecureRandom random) Is there any way to do the same thing with some configuration for the broker itself? Thanks

Activemq 5.8.0 - SSL networkConnector fails with certificate_unknown but HTTPs works?

2014-02-03 Thread David Laube
Hi All, We have run into an interesting issue while attempting to connect two ActiveMQ clusters over SSL and/or NIO+SSL. We receive "certificate_unknown" exceptions when attempting to use SSL or NIO+SSL, but not when using HTTPs. Preferably, we would like to use the former. For the sake of this

Expired messages specific DQL queue

2014-02-03 Thread pollotek
When a message expires it gets placed in DLQ. Is there a way to place expired messages in a different DLQ than transacted queue messages that failed to be delivered too many times? I'd like to be able to differentiate these two different causes for a message to end up in the DLQ. I'm currently usin

Purge Kahadb

2014-02-03 Thread Rodrigo Ramos
Hello I want to purge all messages into a only one queue, even, if it has stored messages. How can I do it that without affect other queues in the same broker? Regards

Re: Async Error occured

2014-02-03 Thread Chirag Pujara
I also see following exception after few successful message processing. Exception: 2014-02-03 13:10:26,543 | INFO | The connection to 'tcp://xx.xxx.xxx.xxx:48772' is taking a long time to shutdown. | org.apache.activemq.broker.TransportConnection | ActiveMQ Transport: tcp:///xx.xxx.xxx.xxx:42472@

Re: Accessing the hawtio console

2014-02-03 Thread John D. Ament
I'm not sure what happened. I deleted my activemq install, unzipped again and was able to login that time. I'm willing to chalk it up to the goblins in the machine... Thanks guys. John On Mon, Feb 3, 2014 at 12:20 PM, Dejan Bosanac wrote: > Hi John, > > you can remove hawtio security by using

Async Error occured

2014-02-03 Thread Chirag Pujara
I have activemq setup with replicated leveldb and zookeeper. I see these exception in activemq. 2014-02-03 10:55:47,673 | WARN | Async error occurred: | org.apache.activemq.broker.TransportConnection.Service | ActiveMQ Transport: tcp:///[ip-address]:37297@61616 javax.jms.JMSException: Unmatche

Re: Accessing the hawtio console

2014-02-03 Thread Dejan Bosanac
Hi John, you can remove hawtio security by using -Dhawtio.authenticationEnabled=false system property in bin/activemq (instead of currently used options). If you keep the default config, it will use config from users.properties Regards -- Dejan Bosanac -- Red Hat, Inc. Fu

Re: Accessing the hawtio console

2014-02-03 Thread John D. Ament
Hi, I'm using ActiveMQ 5.9, which seems to come bundled with hawtio. I'm able to disable the security constraint and access the old broker, but not the hawtio console. I do see this in the logs, which seems about right: 2014-02-03 11:58:06,273 | INFO | Starting hawtio authentication filter, JA

Re: Accessing the hawtio console

2014-02-03 Thread Dejan Bosanac
Hi John, how are you starting your broker and what version are you using? Try setting some hawtio system properties like -Dhawtio.realm=activemq -Dhawtio.role=admins -Dhawtio.rolePrincipalClasses=org.apache.activemq.jaas.GroupPrincipal -Djava.security.auth.login.config=$ACTIVEMQ_CONF/login.config

Re: Adding/removing brokers from a static broker network

2014-02-03 Thread Noel OConnor
I haven't used this but how about having the list of nodes stored in a ldap store See http://activemq.apache.org/ldap-broker-discovery-mechanism.html To be honest most production deployments I've seen have pretty static cluster configurations. On Sun, Feb 2, 2014 at 8:05 AM, 1gnition wrote: