Uploaded image for project: 'Blacktie'
  1. Blacktie
  2. BLACKTIE-195

tpcall ADMIN service inside blacktie-rhq-plugin failed with security problem

    Details

      Description

      currently we use rhq plugin to support monitoring and management of blacktie servers.

      1. update to the latest blacktie-rhq-plugin
      2. mvn install and copy it to admin-console.war/plugin
      3. restart jboss
      4. start a example/xatmi/fooapp server
      5. open http://localhost:8080/admin-console and navigate to "Blacktie Domains" -> "fooapp" -> "Servers" -> "default", you can click "Control"
      there is a operation named 'shutdown', click the button
      you should type in server id which used to start example server, e.g
      if you start example server with command 'server -c linux -i 1' , and you should type in '1'

      shutdown operation would tpcall 'default_ADMIN_1' service to send 'serverdone' command, but now failed with
      2009-08-27 18:03:47,044 ERROR [org.jboss.messaging.util.ExceptionUtil] (ResourceContainer.invoker.nonDaemon-1) ConnectionFactoryEndpoint[jboss.messaging.connectionfactory:service=ConnectionFactory] createFailoverConnectionDelegate [0c-rauubvyf-1-gywsbvyf-g0s1ip-100j3]
      javax.jms.JMSSecurityException: User guest is NOT authenticated
      at org.jboss.jms.server.jbosssx.JBossASSecurityMetadataStore.authenticate(JBossASSecurityMetadataStore.java:223)
      ... ...

      when uncomment StompConnectUsr and StompConnectPwd in JBOSS/server/all/conf/Environment.xml, it looks like null user get work.
      but user 'guest' meet with 'NOT authenticated'

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                zhfeng Zheng Feng
                Reporter:
                zhfeng Zheng Feng
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: