Re: ArrayIndexOutOfBoundsException in ActiveMQ v5.11.1

2016-08-09 Thread Martin Herrman
Hi Xabhi, I'm really a noob in ActiveMQ, but reading your mails, I would do the following: 1. create a script that reads the log file and automates the repair actions when the issue happens 2. upgrade to the latest release (5.11.1 is dated february 2015) 3. because I do see openwire in your err

Re: ArrayIndexOutOfBoundsException in ActiveMQ v5.11.1

2016-08-09 Thread xabhi
Hi, What do these exceptions indicate? I saw below exceptions along with the ArrayIndexOutOfBounds exception but without the stack strace i an not able to figure out anything? Has anyone else encountered these exceptions before? Exceptions: org.apache.activemq.broker.TransportConnection#serviceT

Re: Ack,Redelivery,sessionTransacted--- Consumer Slowly!!!

2016-08-09 Thread Tim Bain
I'm sorry, but I have no idea what question you're asking. Could you explain in more detail? A few things to start with: - What do you mean by "So there is a problem here :"? - What do you mean by "sessionTransacted must set the value true. if not Redelivery Invalid"? - What do you m

Re: Monitor ActiveMQ Brokers

2016-08-09 Thread khokhani
I think you can explore the Jolokia REST API bundled with ActiveMQ base installation. Your monitoring system can make REST calls to get various matrices to alert support groups. -- View this message in context: http://activemq.2283324.n4.nabble.com/Monitor-ActiveMQ-Brokers-tp4715114p4715269.h

Re: Issue with ActiveMQ 5.13.0 - Jetty(9.2.13.v20150730.jar)

2016-08-09 Thread khokhani
I think many developers choose to use Jetty for web console and Jolokia REST API while security it with JAAS plug-in. What is way forward to security of ActiveMQ web console and Jolokia REST API? Isn't it devops problem to maintain right version and add those jars to activemq installation? Plea

Performance issue when selecting messages over 3000+

2016-08-09 Thread methodho
Here is the scenario: 1. Start a standalone activemq server (memory persistence) 2. Enqueue 3000+ message to a queue 3. Dequeue by selector (JMSCorrelationID='...'), and the performance is REALLY bad. It seems like MessageConsumer is waiting MessageDispatchChannel to get all the messages from serv

Ack,Redelivery,sessionTransacted--- Consumer Slowly!!!

2016-08-09 Thread jacky.wang
hi all. Rqurement Case: Consumer consumed message until logic method called successful. Flow Chart:1.Producer send message - > 2.MessageListner - onMessage() -> 3.call logic method successfully -> 4.then Ack() -> 5.message consumed or dequeued DefaultMessageListener Container config:

Re: Artemis as multiprotocol broker

2016-08-09 Thread Martyn Taylor
Hi Luca, The feature is supported. The issue was how you were configuring your client. There are two versions of MQTT that are supported in Artemis: 3.1 and 3.1.1. In 3.1.1 the protocol handshake (or ID), the first couple of bytes sent by the client changed. So, you must specify the correspond

Re: Artemis as multiprotocol broker

2016-08-09 Thread Luca Capra
Hi Martyn, all sorry for taking on from such an old thread, but as of today with 1.4-SNAPSHOT I've not been able to have MQTT over websocket to work I continue to receive a debug notice like this - Requested subprotocol(s) not supported: MQTT - Requested subprotocol(s) not supported: mqttv3.1.1

RE: Problems using Qpid Proton-J with Artemis Core [solved]

2016-08-09 Thread Andy Redhead
Hi, Martyn has just explained that proton-j is used by the artemis amqp support server side (and looking on maven, proton-j is listed as a dependency of artemis-amqp-protocol, which would explain why it came back when I just did a clean build without including it as an explicit dependency). Fo

Re: Messages piling up in FailoverTranport

2016-08-09 Thread pdudits
I concluded that it is a bug and filed https://issues.apache.org/jira/browse/AMQ-6391. - --- Patrik Dudits -- View this message in context: http://activemq.2283324.n4.nabble.com/Messages-piling-up-in-FailoverTranport-tp4715072p4715258.html Sent from the ActiveMQ - User mailing list archive

Re: Problems using Qpid Proton-J with Artemis Core

2016-08-09 Thread Martyn Taylor
Apologies I hit the "reply" and not "reply list". Posting to list for others. Thanks. On Tue, Aug 9, 2016 at 2:47 PM, Martyn Taylor wrote: > > > On Tue, Aug 9, 2016 at 2:24 PM, Andy Redhead > wrote: > >> Hi, >> >> Thanks for that, with both “artemis-amqp-protocol” and >> “artemis-proton-plug”

Re: Problems using Qpid Proton-J with Artemis Core

2016-08-09 Thread John D. Ament
Andy, Sorry, maybe missed a step here. What does your client look like? What are its maven dependencies? FWIW, I would expect amqp to work regardless of underlying impl. May be something is missing from your side, or you're using the artemis client under the hood? John On Tue, Aug 9, 2016 at

RE: Problems using Qpid Proton-J with Artemis Core

2016-08-09 Thread Andy Redhead
Hi, Thanks for that, with both “artemis-amqp-protocol” and “artemis-proton-plug” included in the server and making sure that the producer and consumer were using the address “amqp://localhost:5672/ctest” it all works ☺ Out of interest, if qpid proton is a server agnostic AMQP client, why does t

Re: ArrayIndexOutOfBoundsException in ActiveMQ v5.11.1

2016-08-09 Thread xabhi
Is this something I should worry about happening again? What scenarios can cause the ArrayIndexOutOfBoundsException exception (in the first post)? Thanks, Abhi -- View this message in context: http://activemq.2283324.n4.nabble.com/ArrayIndexOutOfBoundsException-in-ActiveMQ-v5-11-1-tp4715139p

RE: Problems using Qpid Proton-J with Artemis Core

2016-08-09 Thread Andy Redhead
Hi, In an attempt to answer my own question, it seems that I was missing the dependency: compile group: 'org.apache.activemq', name: 'artemis-amqp-protocol', version: '1.3.0' With that included in my build, when the server starts I now see the line: Protocol module found: [artemis-amqp-protoc

RE: Problems using Qpid Proton-J with Artemis Core

2016-08-09 Thread Andy Redhead
Hi, I've attached all the files, hopefully they will go through this time (I think I sent the email to users-help rather than users the first time by mistake and didn't re-attach the files when I tried again). Well spotted on the doc version number, though the same reference to proton-j is ref

Re: Problems using Qpid Proton-J with Artemis Core

2016-08-09 Thread Martyn Taylor
Hi Andy, The attachments don't seem to have come through for me? Could you please send over the broker.xml and your log out put and I will take a look. I noticed you referred to the docs from 1.0.0, we're up to 1.3.0 now I would use the latest version of the broker and docs. Thanks Martyn On

Problems using Qpid Proton-J with Artemis Core

2016-08-09 Thread Andy Redhead
Hi, I'm new to Artemis and AMQP so it's quite likely I'm doing something stupid... I'd like to be able to send messages from an AMQP client through Artemis to a Java client (running in the same JVM as Artemis, using an in-VM connector). For now, the remote client is written in Java using the Ap