Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-5149

Configuring JBM ( JBoss Messaging) suckerPassword is missing in EAP 5.x's "Administration and configuration guide"

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Obsolete
    • Icon: Major Major
    • TBD EAP 5
    • EAP_EWP 5.1.0_CR3
    • Documentation
    • Jboss EAP 5.1.0_CR3
      Linux Redhat RHEL 5.1

    • Documentation (Ref Guide, User Guide, etc.)
    • Medium
    • Not Required
    • ASSIGNED

      In Section 6.1.1.17 of the "Administration and configuration guide",
      (http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/5.0/html-single/JBoss_Messaging_User_Guide/index.html#conf.serverpeer.attributes )
      there is :
      (a) no information on how to configure JBM SuckerPassword.

      I found several forum post and Jira ticket but no documentation that explain how to do this task in Jboss wiki.

      After this text
      " 6.1.1.17. SuckerPassword
      JBoss Messaging internally creates connections between nodes to redistribute messages between clustered destinations. These connections are created with a special, reserved username. This attribute defines the password to use when creating these connections.
      For versions of JBoss Messaging later than 1.4.1.GA, you must define the SuckerPassword on the SecurityMetadataStore.
      Warning
      The SuckerPassword must be changed at install time, or the default password will be used, giving any user who knows the default password access to any destination on the server. "

      Can you add the following lines in "Administration and configuration guide" :
      If you want to configure JBM ( JBoss Messaging) suckerPassword,

      edit the file jboss-as/server/PROFILE/deploy/messaging/messaging-jboss-beans.xml
      and
      replace the line
      <!-- <property name="suckerPassword">CHANGE ME!!</property> -->
      by
      <property name="suckerPassword">YOUR_PASSWORD</property>

      and
      edit the file jboss-as/server/PROFILE/deploy/messaging/messaging-service.xml
      and uncomment the line
      <attribute name="SuckerPassword"></attribute>
      and
      replace this line by
      <attribute name="SuckerPassword">YOUR_PASSWORD</attribute>

      where YOUR_PASSWORD parameter is the password that you choose for your Jboss server
      and where PROFIL is the profile name for your Jboss server as all, production, default or standard.

      Note : works fine with Jboss EAP 5.0.1 , but there is maybe some problem with Jboss EAP 5.1.0 :
      Configuring JBM ( JBoss Messaging) suckerPassword do not work with Jboss EAP 5.1.x ( https://jira.jboss.org/browse/JBPAPP-5147)

        1. teste.gliffy
          50 kB
        2. teste.png
          teste.png
          55 kB

            eapdocslead EAP 5 Docs Lead (Inactive)
            yannick92 Yannick LE NY (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 10 minutes
                10m
                Remaining:
                Remaining Estimate - 10 minutes
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified