Project

General

Profile

Configuration Guide » History » Version 7

chin-yeh, 12/28/2011 01:53 PM

1 2 chin-yeh
{{toc}}
2
3 1 chin-yeh
h1. Configuration Guide
4 2 chin-yeh
5 7 chin-yeh
This guide describes how to configure the following components:
6 3 chin-yeh
* Logging in Jboss AS
7 1 chin-yeh
* HornetQ
8 3 chin-yeh
* init script for Jboss AS
9
10 5 chin-yeh
All of the configuration files that mentioned in this guide can be found in:
11 4 chin-yeh
> [[wiki#connector-config|SCM - connector-config]]
12
13 3 chin-yeh
h2. Logging in Jboss AS
14
15
<pre>TODO</pre>
16
17
18 1 chin-yeh
h2. HornetQ
19 5 chin-yeh
20
Checkout the project [[wiki#connector-config|connector-config]] and prepare the following files:
21
* <code>.../hornetq/hornetq-configuration.xml</code>
22
* <code>.../hornetq/hornetq-jms.xml</code>
23
24
_Steps:_
25
# login as jboss user
26
# upload and overwrite the file */opt/jboss-5.1.0.GA/server/default-with-hornetq/deploy/hornetq.sar/hornetq-configuration.xml*
27
# upload and overwrite the file */opt/jboss-5.1.0.GA/server/default-with-hornetq/deploy/hornetq.sar/hornetq-jms.xml*
28
# restart jboss
29
# done
30 6 chin-yeh
31
h2. init script for Jboss AS
32
33
Checkout the project [[wiki#connector-config|connector-config]] and prepare the following files:
34
* <code>.../{server name}/jboss-init/jboss5hq</code>
35
** where _server name_ is the name of the target server
36
37
_Steps:_
38
# login as root 
39
# upload the file, *jboss5hq* to */etc/init.d* via ftp or sftp
40
# execute the following command to put the <code>init</code> into appropriate run level directory:
41
<pre>
42
# chkconfig --add jboss5hq
43
</pre>
44
# done