Project

General

Profile

Configuration Guide » History » Revision 6

Revision 5 (chin-yeh, 12/28/2011 12:20 PM) → Revision 6/7 (chin-yeh, 12/28/2011 12:34 PM)

{{toc}} 

 h1. Configuration Guide 

 Configure the following components: 
 * Logging in Jboss AS 
 * HornetQ 
 * init script for Jboss AS 

 All of the configuration files that mentioned in this guide can be found in: 
 > [[wiki#connector-config|SCM - connector-config]] 

 h2. Logging in Jboss AS 

 <pre>TODO</pre> 


 h2. HornetQ 

 Checkout the project [[wiki#connector-config|connector-config]] and prepare the following files: 
 * <code>.../hornetq/hornetq-configuration.xml</code> 
 * <code>.../hornetq/hornetq-jms.xml</code> 

 _Steps:_ 
 # login as jboss user 
 # upload and overwrite the file */opt/jboss-5.1.0.GA/server/default-with-hornetq/deploy/hornetq.sar/hornetq-configuration.xml* 
 # upload and overwrite the file */opt/jboss-5.1.0.GA/server/default-with-hornetq/deploy/hornetq.sar/hornetq-jms.xml* 
 # restart jboss 
 # done 

 h2. init script for Jboss AS 

 Checkout the project [[wiki#connector-config|connector-config]] and prepare the following files: 
 * <code>.../{server name}/jboss-init/jboss5hq</code> 
 ** where _server name_ is the name of the target server 

 _Steps:_ 
 # login as root  
 # upload the file, *jboss5hq* to */etc/init.d* via ftp or sftp 
 # execute the following command to put the <code>init</code> into appropriate run level directory: 
 <pre> 
 # chkconfig --add jboss5hq 
 </pre> 
 # done