3 Replies Latest reply on Mar 18, 2010 8:35 AM by Thomas Chang

    A question about setting SuckerPassword

    Thomas Chang Apprentice

      I read from the document from RedHat that it should better to set the SuckerPassword. This password could be set in file "jboss-messaging.sar/messaging-service.xml.". I open this file and take out the commment and it looks as follow:

       

            <!-- The password used by the message sucker connections to create connections.
                 THIS SHOULD ALWAYS BE CHANGED AT INSTALL TIME TO SECURE SYSTEM
            -->
            <attribute name="SuckerPassword"></attribute>

      I wonder if this is enough. Where is the password? Or the password is embadded anywhere?

        • 1. Re: A question about setting SuckerPassword
          Kamil Maslowski Newbie

          You should set unique password for all instances. To do that set it like this:

          <attribute name="SuckerPassword">INSTANCE_PASSWORD</attribute>

           

          Regards

          • 2. Re: A question about setting SuckerPassword
            Thomas Chang Apprentice

            I check the configuration of our all Jboss server instances and find there is only "<attribute  name="SuckerPassword"></attribute>"  there. What does this mean? No password or default password?

             

            If I set the SuckerPassword as you wrotem, for exampel:

             

            <attribute  name="SuckerPassword">HelloWorld</attribute>

             

            Should I restart the JBoss instance and what an influce will happend to the applications which deployted on it? I hope there should be no any influence.

            • 3. Re: A question about setting SuckerPassword
              Thomas Chang Apprentice

              Besdies, I read fomr the document from RedHat that

               

              "JBoss Messaging internally makes connections between nodes in order to  redistribute messages between clustered destinations. These connections  are made with the user name of a special reserved user. On this  parameter you define the password used as these connections are made.  After JBossMessaging 1.4.1.GA you will need to define the Sucker  Password on the ServerPeer and on the SecurityMetadataStore."

               

              I wonder what is this special reserved user?