2 Replies Latest reply on Nov 15, 2006 1:21 AM by venkatt_shankar

    Creating User Ids and Roles Using JMX

    jpace

      The 3.2.6 documentation talks about creating user ids and roles via JMX by using the org.jboss.mq.sm.file.DynamicStateManager's MBean. However, it appears that by default the org.jboss.mq.sm.jdbc.JDBCStateManager MBean is used. This MBean does not have the addUser, addRole, etc, operations.

      If I want to create user ids and roles at runtime, do I have to reconfigure JBossMQ to use the org.jboss.mq.sm.file.DynamicStateManager's MBean?

        • 1. Re: Creating User Ids and Roles Using JMX
          genman


          Perhaps you add roles directly through the database?

          • 2. Re: Creating User Ids and Roles Using JMX
            venkatt_shankar

            Hi,
            I am Venkatesh.
            Being a JBoss User, i thought i would throw some light on this question.
            First of all, it is not feasible to add user and role value in Jbossmq-state.xml , everytime when we need to add user.
            Also it may be required that userId and role need to be created at runtime.In that case we have to use DynamicStateManager mbean only.
            So, i would request some JBoss specialist to clearly tell the way of how to get the creation implemented?

            Regards,
            Venkatesh S