Project

General

Profile

Actions

Configuration » History » Revision 6

« Previous | Revision 6/14 (diff) | Next »
chin-yeh, 10/28/2010 11:03 AM


Configuration

Prerequisite:

This section describes how to configure the logging and settings on the application server. All of the configuration files can be found from SCM repository:

Production environment:

http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config/production

Development environment:

http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config/development

log4j (Jboss AS 5 + HornetQ)

Describes how to configure the log4j logging in Jboss AS 5.

Assumes that Jboss AS 5 is installed in:

/opt/jboss-5.1.0.GA

List of the configuration files needed: Steps:
  1. login as jboss user
  2. cd to /opt/jboss-5.1.0.GA/server/default-with-hornetq/conf
    $ cd /opt/jboss-5.1.0.GA/server/default-with-hornetq/conf
    
  3. open the jboss-log4j.xml
    $ vi jboss-log4j.xml
    
  4. append the content of log4j-appender.xml (see above) into the jboss-log4j.xml
  5. append the content of log4j-category.xml (see above) into the jboss-log4j.xml
  6. save the file, jboss-log4j.xml
  7. restart the jboss
  8. done

init script for Jboss AS 5

Describes how to configure the init script for Jboss AS in RHEL. Once configured, the server will start the Jboss AS process upon bootup. However, you may skip this section if you plan to start the Jboss AS manually.

Assumes that Jboss AS 5 is installed in:

/opt/jboss-5.1.0.GA

List of the configuration files needed: Steps:
  1. login as root
  2. upload the file, jboss5hq to /etc/init.d via ftp or sftp
  3. execute the following command to put the init into appropriate run level directory:
    # chkconfig --add jboss5hq
    

Updated by chin-yeh almost 14 years ago · 6 revisions