1. Introduction 1.1. Overview of This Release ..................... 1 1.2. Installation Prerequisites ....................1 1.3. Package-specific Notes ....................1 2. Configuring the Java Environment 2.1. Install a supported SDK ....................3 2.1.1. Installing a BEA, IBM or Sun SDK ..............3 2.2.
Chapter 1. Introduction 1.1. Overview of This Release Red Hat Application Stack is a set of software components that have been tested and certified to work together in an integrated fashion. Red Hat Application Stack is designed for dynamic web applications for both the LAMP and Java (TM) platforms.
Chapter 2. Configuring the Java Environment JBoss Application Server relies on an installed JVM, such as those by Sun, or BEA. Both JVMs are available from the Red Hat Enterprise Linux 5 Supplementary channels. THIS RELEASE HAS BEEN CERTIFIED WITH THE SUN AND BEA JVMS.
Chapter 2. Configuring the Java Environment Make sure you do the same for javac and java_sdk_1.5.0. We recommend that all point to the same manufacturer and version. 2.2. Install the jbossas package 2.2.1. Using yum / RHN (Preferred Method) 1. Update your Red Hat Enterprise Linux 5 installation and install the JVM as described above. 2.
Chapter 3. Installing Red Hat Application Stack To install Red Hat Application Stack V.2.2: 1. If you have an existing database, back up your data and shut down the database: • If you are using PostgreSQL: Back-up your database. For example, run: su - rm -rf /tmp/pg.backup su - postgres...
Page 10
Chapter 3. Installing Red Hat Application Stack • Option 2. To install from RPMs on Disk: Section 2.2.2, “Using yum / DVD” Follow the instructions in to mount the DVD and set up the local RHN channel (steps 1-3). Then as root run: yum update Followed by: yum groupinstall stacks...
Page 11
• Move (or remove) the database directory: mv /var/lib/pgsql/data /var/lib/pgsql/data.backup • Initialize the database: /sbin/service postgresql initdb • Start the new PostgreSQL service: /sbin/service postgresql start • Restore your data from back-up psql -U username < /tmp/pg.backup • Start the http daemon: /sbin/service httpd start •...
Where $JBOSS_HOME is the install directory (/var/lib/jbossas) and $CONFIG is the server configuration you are using. http://kbase.redhat.com/faq/FAQ_107_9963.shtm Please see for more information JBoss Application Server is configured with its internal servlet engine to listen for HTTP traffic on port 8080.
Chapter 4. Using JBoss Application Server http://localhost:8080/web-console You can use the Web Console to administer JBoss Application Server. The entire JBoss Application Server suite runs under a new jboss system user. It may be necessary to use the 'su -s /bin/bash jboss' system command to deposit .ear / .war / .jar files under the JBoss Application Server deployment directory, due to file system permissions.
Creating copies of JBOSS_HOME If you wish to use a different JVM than the one that alternatives points to, you will need to set JAVA_HOME first. JAVA_HOME can be set system-wide in /etc/profile. But beware, some users may not want to have JAVA_HOME set to this same SDK. Also, some may prefer to use the alternatives-selected one instead.
Chapter 4. Using JBoss Application Server To run multiple servers simultaneously you will need to adjust the configuration to avoid port conflicts, Section 4.5, “ Running multiple as described in the JBoss Application Server documentation. Refer to instances of JBoss Application Server ” for more information.
Running multiple instances of JBoss Application Server using different sets of ports Note The original init script log files are created under /var/log/jbossas in directories that correspond to the configuration used (like 'default') with the usual server.log name. For instance: /var/log/jbossas/default/server.log In general, each log file is created by the SysV script as /var/log/service-name/$JBOSSCONF/server.log...
Chapter 4. Using JBoss Application Server ln -s /etc/init.d/jbossas /etc/init.d/jbossas-ports-01 2. Create a new config file for service-name, /etc/sysconfig/service-name. The contents of this file should be similar to /etc/sysconfig/jbossas, except with instance specific values uncommented and updated, e.g: cp /etc/sysconfig/jbossas /etc/sysconfig/jbossas-ports-01. Uncomment and update JBOSSCONF to ports-01 in /etc/sysconfig/jbossas-ports-01.
Chapter 5. Export Control As required by U.S. law, you represent and warrant that you: a. Understand that certain parts of the software are subject to export controls under the U.S. Commerce Departments Export Administration Regulations (EAR) b. Are not located in a prohibited destination country under the EAR or U.S. sanctions regulations (currently Cuba, Iran, Iraq, Libya, North Korea, Sudan, and Syria) c.
Need help?
Do you have a question about the APPLICATION STACK 2.2 - RELEASE NOTES and is the answer not in the manual?
Questions and answers