background image

Red Hat Application Stack V.2.1 Release

Notes

2.1

ISBN: N/A

Publication date:

Summary of Contents for APPLICATION STACK 2.1 RELEASE

Page 1: ...Red Hat Application Stack V 2 1 Release Notes 2 1 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: ... Hat Application Stack 7 4 Using JBoss Application Server 11 1 Using the Linux service production 11 2 Using run sh development 13 3 Creating copies of JBOSS_HOME 14 4 Using the jbossas commands from any directory 14 5 Running multiple instances of JBoss Application Server 15 5 1 Running multiple instances of JBoss Application Server using different sets of ports 16 5 2 Running multiple instances ...

Page 6: ...vi ...

Page 7: ...ddleware environment Note that the JBoss Enterprise Application Platform uses an embedded Tomcat and does not require a stand alone Tomcat Before installing and running the JBoss Application Server the application server component of JBoss Enterprise Application Platform 4 2 you will require a working installation of Java 1 5 Currently Red Hat Application Stack is certified with the Sun JVM 1 5 0 ...

Page 8: ...2 ...

Page 9: ...cy 1 Install a supported SDK 1 1 Installing a BEA IBM or Sun SDK 1 Install a Java SDK from RHN Java SDKs are provided by the Red Hat Enterprise Linux 5 Supplementary channel for your Linux variant and architecture Depending on the architecture the channel names are rhel i386 server supplementary 5 and rhel x86_64 server supplementary 5 The java 1 5 0 bea java 1 5 0 ibm and java 1 5 0 sun SDKs are ...

Page 10: ...e Application Platform child channel e g jbappplatform 4 i386 as 5 rpm or jbappplatform 4 x86_64 as 5 rpm 3 Install JBoss Application Server For the Application Server which includes an embedded Tomcat run yum install jbossas Refer also to Chapter 4 Using JBoss Application Server below 2 2 Using yum DVD To install using yum DVD 1 Update your installation and install the JVM as described above 2 Mo...

Page 11: ...he installation is complete remove the file you added in etc yum repos d in Step 3 or set enabled 0 in that file Failure to do this will result in yum exiting with an error whenever it is run again without mounting the Red Hat Application Stack V 2 1 DVD Refer also to Chapter 4 Using JBoss Application Server below Using yum DVD 5 ...

Page 12: ...6 ...

Page 13: ...your database is optional but recommended Run as root mysqldump all databases p tmp mysqldumpfile sql 2 Stop the daemons sbin service httpd stop To shut down MySQL sbin service mysqld stop To shut down PostgreSQL sbin service postgresql stop 3 Install the software Option 1 To install from RHN which is the preferable option to avoid dependency issues Subscribe to the Red Hat Application Stack child...

Page 14: ... will result in yum exiting with an error whenever it is run again without mounting the Red Hat Application Stack V 2 1 DVD Note You may need to install the following packages to satisfy dependencies before executing the above command if they are not already installed apr devel apr util devel libc client mx pcre devel Note You can also install specific components of the stack via the yum groupinst...

Page 15: ... group The groupremove directive will only remove packages in the group not the dependencies that the package install may have brought in 4 Restore your database For PostgreSQL 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 f...

Page 16: ...ql_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 Chapter 3 Installing Red Hat Application Stack 10 ...

Page 17: ...ystem Settings Server Settings Services Note For security purposes beginning with Red Hat Application Stack V 1 1 authentication for the jmx console web console jmx invoker and http invoker is turned on Additionally no user accounts are active by default so as to prevent default user password based attacks Accounts for the jmx console and the invokers can be set up by modifying JBOSS_HOME server C...

Page 18: ...for which the user jboss has no read access in the deployment directory will cause the server to fail to deploy To create additional JBoss Application Server configurations besides the provided default minimal all and production you must create a new directory for your configuration as follows note the switches given to the cp command export JBOSS_BASE var lib jbossas cd JBOSS_HOME cp pL R server ...

Page 19: ... to have JAVA_HOME set to this same SDK Also some may prefer to use the alternatives selected one instead These users may be affected by this global setting of JAVA_HOME If you still need to set JAVA_HOME for some other reason the alternatives selected SDK is in usr lib jvm java so a export JAVA_HOME usr lib jvm java will do IMPORTANT The entire JBoss Application Server suite runs under a new jbos...

Page 20: ... jbossas my_new_jboss_home_directory To run multiple servers simultaneously you will need to adjust the configuration to avoid port conflicts as described in the JBoss Application Server documentation Refer to Running multiple instances of JBoss Application Server for more information Note Please note that automated updating of copies created using methods above is not supported If you create cust...

Page 21: ...ultiple SysV services that run JBoss Application Server by creating additional service scripts The process basically consists of creating a link with the new service name to the original jbossas init script in etc init d copying the jbossas file in etc sysconfig to one with the new service name the init script and the configuration file names must match making the desired configuration changes mak...

Page 22: ...ve write permissions for the user jboss Note Starting the server this first time may take a little longer due to the file copying There are 2 ways to run additional instances of JBoss Application Server and avoid port conflicts By using different sets of ports By binding to different local IP addresses 5 1 Running multiple instances of JBoss Application Server using different sets of ports Using d...

Page 23: ...oss Application Server binding to different local IP addresses Each JBoss Application Server instance is bound to a particular IP address 1 Create a new file etc init d service name which is a symlink to etc init d jbossas e g ln s etc init d jbossas etc init d jbossas instance2 2 Create a new config file for service name etc sysconfig service name with instance specific values uncommented and upd...

Page 24: ...6 More Information More general documentation for JBoss Application Server is available under usr share doc jbossas 4 2 0 Chapter 4 Using JBoss Application Server 18 ...

Page 25: ...ny sensitive nuclear chemical or biological weapons or missile technology end uses unless authorized by the U S Government by regulation or specific license e Understand and agree that if you are in the United States and export or transfer the Software to eligible end users you will as required by EAR Section 740 17 e submit semi annual reports to the Commerce Department s Bureau of Industry Secur...

Page 26: ...20 ...

Reviews: