Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-865

JMSSecurityException is thrown when sending a message to a queue/topic in hawtio in ActiveMQ section

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • jboss-fuse-6.1
    • jboss-fuse-6.1
    • Hawtio
    • None
    • jboss-fuse-6.1.0.redhat-054, Firefox 19.0

      Steps to reproduce:

      1. Uncomment line
      admin=admin,admin
      in the file jboss-fuse-6.1.0.redhat-054/etc/user.properties
      2.Run jboss-fuse-6.1.0.redhat-054
      3. Run the following command:
      features:install hawtio
      4. Open hawt.io console in browser - http://localhost:8181/hawtio/index.html
      5. Open Active MQ tab.
      6. Press +Create(Create a new destination) button.
      7. Type queue name: testQueue amd press Create Queue button.
      8. In the left menu select Queue and press testQueue.
      9. Press Send button and enter 'test message' into text area. Press Send Message button.
      10. the following exception is thrown:

      Operation failed due to: javax.jms.JMSSecurityException: User name [null] or password is invalid. at
       org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:52) at 
      org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1391) at
       org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1496) at 
      org.apache.activemq.ActiveMQConnection.createSession(ActiveMQConnection.java:325) at
       org.apache.activemq.broker.jmx.DestinationView.sendTextMessage(DestinationView.java:347) at 
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
       sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at 
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at
       java.lang.reflect.Method.invoke(Method.java:601) at 
      com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:111) at
       com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:45) at 
      com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:235) at
       com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138) at
       com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252) at 
      javax.management.StandardMBean.invoke(StandardMBean.java:405) at
       org.apache.activemq.broker.jmx.AnnotatedMBean.invoke(AnnotatedMBean.java:198) at 
      com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at 
      

              stlewis_2 Stan Lewis
              emedvede Elena Medvedeva (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: