Difference between revisions of "Installing the Messaging Server: DEPRECATED"
From AgileApps Support Wiki
imported>Aeric |
imported>Aeric |
||
Line 1: | Line 1: | ||
<includeonly>===Installing the Messaging Server===</includeonly> | <includeonly>===Installing the Messaging Server===</includeonly> | ||
====Installing HornetQ==== | ====Installing HornetQ==== | ||
HornetQ is the Message Queue engine used by the Messaging Server.<br> | |||
'''To install HornetQ | |||
# Download it from http://www.jboss.org/hornetq/downloads.html<br>(For the release to use, see the [[Software Requirements]].) | |||
# Unpack hornetq-2.2.14 to the desired location | |||
# Edit <tt>{hornetq-folder}/config/stand-alone/non-clustered/hornetq-users.xml</tt> | |||
# Create a new user by adding the following code to the <tt><configuration></tt> section: | |||
#:<syntaxhighlight lang="xml" enclose="div"> | |||
<user name="[USER_NAME]" password="[PASSWORD]"> | |||
<role name="admin"/> | |||
</user> | |||
</syntaxhighlight> | |||
# Edit <tt>{hornetq-folder}/config/stand-alone/non-clustered/hornetq-configuration.xml</tt> | |||
# Replace the <tt><security>...</security></tt> section with the following: | |||
#:<syntaxhighlight lang="xml" enclose="div"> | |||
<security-settings> | |||
<security-setting match="#"> | |||
<permission type="createNonDurableQueue" roles="guest, admin"/> | |||
<permission type="deleteNonDurableQueue" roles="guest, admin"/> | |||
<permission type="createDurableQueue" roles="admin"/> | |||
<permission type="deleteDurableQueue" roles="admin"/> | |||
<permission type="consume" roles="guest, admin"/> | |||
<permission type="send" roles="guest, admin"/> | |||
<permission type="manage" roles="admin"/> | |||
</security-setting> | |||
</security-settings> | |||
</syntaxhighlight> | |||
{{TBD|How does this relate to instructions in [[Managing the Messaging Server]]? | |||
:Startup HornetQ server by executing start.sh from [hornetq-folder]/bin/ directory.}} | |||
====Configuring the Platform's Service Provider Settings==== | ====Configuring the Platform's Service Provider Settings==== |
Revision as of 01:40, 24 January 2014
Installing HornetQ
HornetQ is the Message Queue engine used by the Messaging Server.
To install HornetQ
- Download it from http://www.jboss.org/hornetq/downloads.html
(For the release to use, see the Software Requirements.) - Unpack hornetq-2.2.14 to the desired location
- Edit {hornetq-folder}/config/stand-alone/non-clustered/hornetq-users.xml
- Create a new user by adding the following code to the <configuration> section:
- <syntaxhighlight lang="xml" enclose="div">
<user name="[USER_NAME]" password="[PASSWORD]">
<role name="admin"/>
</user> </syntaxhighlight>
- Edit {hornetq-folder}/config/stand-alone/non-clustered/hornetq-configuration.xml
- Replace the <security>...</security> section with the following:
- <syntaxhighlight lang="xml" enclose="div">
<security-settings>
<security-setting match="#"> <permission type="createNonDurableQueue" roles="guest, admin"/> <permission type="deleteNonDurableQueue" roles="guest, admin"/> <permission type="createDurableQueue" roles="admin"/> <permission type="deleteDurableQueue" roles="admin"/> <permission type="consume" roles="guest, admin"/> <permission type="send" roles="guest, admin"/> <permission type="manage" roles="admin"/> </security-setting>
</security-settings> </syntaxhighlight>
__TBD: How does this relate to instructions in Managing the Messaging Server?
- Startup HornetQ server by executing start.sh from [hornetq-folder]/bin/ directory.__