Red Hat APPLICATION STACK 2.1 - RELEASE NOTES Release Note

Advertisement

Quick Links

Red Hat Application Stack V.2.1 Release
Notes
2.1
ISBN: N/A
Publication date:

Advertisement

Table of Contents
loading

Summary of Contents for Red Hat APPLICATION STACK 2.1 - RELEASE NOTES

  • Page 1 Red Hat Application Stack V.2.1 Release Notes ISBN: N/A Publication date:...
  • Page 2 Red Hat Application Stack V.2.1 Release Notes...
  • Page 3 Red Hat Application Stack V.2.1 Release Notes Copyright © 2008 Red Hat, Inc.
  • Page 4 Red Hat Application Stack V.2.1 Release Notes...
  • Page 5: Table Of Contents

    1. Introduction ......................1 1. Overview of This Release ................1 2. Installation Prerequisites ................. 1 3. Package-specific Notes .................. 1 2. Configuring the Java Environment ................3 1. Install a supported SDK .................. 3 1.1. Installing a BEA, IBM or Sun SDK ............3 2.
  • Page 7: Introduction

    Chapter 1. Introduction 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. 2.
  • Page 9: Configuring The Java Environment

    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.
  • Page 10: Install The Package

    Chapter 2. Configuring the Java Environment As root, issue the following command: /usr/sbin/alternatives --config java and make sure the desired one is selected (marked with a '+'), or select it by entering its number as prompted. Make sure you do the same for We recommend that all point to javac java_sdk_1.5.0.
  • Page 11 Using / DVD 4. Install JBoss Application Server: • For the Application Server (which includes an embedded Tomcat), run: yum install jbossas 5. After the installation is complete, remove the file you added in in Step 3 /etc/yum.repos.d/ (or set enabled=0 in that file). Failure to do this will result in exiting with an error whenever it is run again without mounting the Red Hat Application Stack V.2.1 DVD.
  • Page 13: Installing Red Hat Application Stack

    Chapter 3. Installing Red Hat Application Stack To install Red Hat Application Stack V.2.1: 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 14 Chapter 3. Installing Red Hat Application Stack e.g: jbappplatform-4-i386-as-5-rpm jbappplatform-4-x86_64-as-5-rpm • Run as root: yum update • Run as root: yum groupinstall stacks • Option 2. To install from RPMs on Disk: Follow the instructions in Section 2.2, “Using / DVD” to mount the DVD and set up the local RHN channel (steps 1-3).
  • Page 15 - Installs httpd, postgresql, php and all components related to postgresql lapp - Installs documentation for various components docs When using the directive, you can specify multiple groups at the groupinstall same time (even if they share packages). Analogous to , you can use the directive to groupinstall...
  • Page 16 Chapter 3. Installing Red Hat Application Stack • Update MySQL: mysql_upgrade • Restore your data: mysql -p < /tmp/mysqldumpfile.sql 5. Start the remaining daemons: • Start the http daemon: /sbin/service httpd start The installation is now complete.
  • Page 17: Using Jboss Application Server

    Chapter 4. Using JBoss Application Server 1. Using the Linux service (production) JBoss Application Server can be started, stopped, and configured to start automatically at boot time either from the command line or using a graphical tool. You can start and stop the service using the command as root on a console jbossas...
  • Page 18 Chapter 4. Using JBoss Application Server Please see http://kbase.redhat.com/faq/FAQ_107_9963.shtm for more information JBoss Application Server is configured with its internal servlet engine to listen for HTTP traffic on port 8080. Once the jbossas service has been started, you can verify that it is running by...
  • Page 19: Using Run.sh (Development)

    Using run.sh (development) Note Please note that automated updating of configurations created using method above is not supported. If you create custom configurations, you will manually have to port files / changes from a new update to that configuration. 2. Using run.sh (development) For development, you can activate the JBoss Application Server with the familiar run.sh command as usual.
  • Page 20: Using The Jbossas-* Commands From Any Directory

    Chapter 4. Using JBoss Application Server 'production', 'minimal' and 'all', you must create a new directory for your configuration as follows (note the switches given to the command): JBOSS_BASE=/var/lib/jbossas cd $JBOSS_HOME cp -pL -R server/default server/myownconfig You can then change the configuration and request it to be used by specifying it in the flag to , as usual.
  • Page 21: Running Multiple Instances Of Jboss Application Server

    Running multiple instances of JBoss export JAVA_HOME=/usr/lib/jvm/java where the value you give for is the location of your installed Java VM. JAVA_HOME 5. Running multiple instances of JBoss Application Server Note Please note that automated updating of instances created using methods below is not supported.
  • Page 22: Running Multiple Instances Of Jboss Application Server Using Different Sets Of Ports

    Chapter 4. Using JBoss Application Server so no file conflicts shall exist. For more flexibility in the configuration of the different servers, you may want to create full copies of . This is described in Creating copies of JBOSS_HOME above -- make JBOSS_HOME sure you use the command's...
  • Page 23: Running Multiple Instances Of Jboss Application Server Binding To Different Local Ip Addresses

    Application Server e.g: ln -s /etc/init.d/jbossas /etc/init.d/jbossas-ports-01 2. Create a new config file for . The contents of service-name /etc/sysconfig/service-name this file should be similar to , except with instance specific values /etc/sysconfig/jbossas uncommented and updated, e.g: . Uncomment and cp /etc/sysconfig/jbossas /etc/sysconfig/jbossas-ports-01 update JBOSSCONF...
  • Page 24: More Information

    Chapter 4. Using JBoss Application Server 6. More Information More general documentation for JBoss Application Server is available under /usr/share/doc/jbossas-4.2.0...
  • Page 25: Export Control

    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.

This manual is also suitable for:

Application stack v.2.1

Table of Contents