You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Happy User <ha...@gmail.com> on 2014/06/01 08:28:31 UTC

Hawtio - ActiveMQ Issue

Could someone help me with the below issue?

1. I gave credentials in preferences for ActiveMQ.
2. I created Queue in the default broker and it was successful.
3. I selected the queue and clicked on the Send button in the top menu. The
message was sent successful and I was able to even see my message when I
clicked on Browse.
4. But weird stuff is, I clicked on the Operations menu and selected the
'Send text message(java.lang.string)' and gave the body as 'Hi' and clicked
on Execute. But unfortunately, I got javax.jms.JMSSecurityException: User
name [null] or password is invalid. For topic also, when I select send
menu, message was sent successful. But getting same JMS exception when
trying to send message through Operations menu.

-Thanks

Re: Hawtio - ActiveMQ Issue

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

You should not use  the JMX operations to send messages to the broker,
but the activemq plugin itself, as you do in step #3.

The JMX plugin is like use jconsole to call direct on MBeans. So if
you do the same in jconsole you get same error about username etc.

I cannot remember if there is a JMX send operation that takes in
username/password. If so you can use that.

On Sun, Jun 1, 2014 at 8:28 AM, Happy User <ha...@gmail.com> wrote:
> Could someone help me with the below issue?
>
> 1. I gave credentials in preferences for ActiveMQ.
> 2. I created Queue in the default broker and it was successful.
> 3. I selected the queue and clicked on the Send button in the top menu. The
> message was sent successful and I was able to even see my message when I
> clicked on Browse.
> 4. But weird stuff is, I clicked on the Operations menu and selected the
> 'Send text message(java.lang.string)' and gave the body as 'Hi' and clicked
> on Execute. But unfortunately, I got javax.jms.JMSSecurityException: User
> name [null] or password is invalid. For topic also, when I select send
> menu, message was sent successful. But getting same JMS exception when
> trying to send message through Operations menu.
>
> -Thanks



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Re: Hawtio - ActiveMQ Issue

Posted by boday <be...@initekconsulting.com>.
you should direct this to the hawtio forum instead: http://hawt.io/community/


Happy User wrote
> Could someone help me with the below issue?
> 
> 1. I gave credentials in preferences for ActiveMQ.
> 2. I created Queue in the default broker and it was successful.
> 3. I selected the queue and clicked on the Send button in the top menu.
> The
> message was sent successful and I was able to even see my message when I
> clicked on Browse.
> 4. But weird stuff is, I clicked on the Operations menu and selected the
> 'Send text message(java.lang.string)' and gave the body as 'Hi' and
> clicked
> on Execute. But unfortunately, I got javax.jms.JMSSecurityException: User
> name [null] or password is invalid. For topic also, when I select send
> menu, message was sent successful. But getting same JMS exception when
> trying to send message through Operations menu.
> 
> -Thanks





-----
Ben O'Day
IT Consultant -http://consulting-notes.com

--
View this message in context: http://camel.465427.n5.nabble.com/Hawtio-ActiveMQ-Issue-tp5751790p5751862.html
Sent from the Camel - Users mailing list archive at Nabble.com.