background image

Red Hat Application

Stack 2.4

Release Notes

for Use with Red Hat Application Stack 2.4

Summary of Contents for APPLICATION STACK 2.4 RELEASE

Page 1: ...Red Hat Application Stack 2 4 Release Notes for Use with Red Hat Application Stack 2 4 ...

Page 2: ...Release Notes Red Hat Application Stack 2 4 Release Notes for Use with Red Hat Application Stack 2 4 Edition 1 0 Copyright 2009 Red Hat ...

Page 3: ...tack 5 4 Using JBoss Application Server 9 4 1 Using the Linux service production 9 4 2 Using run sh development 10 4 3 Creating copies of JBOSS_HOME 11 4 4 Using the jbossas commands from any directory 12 4 5 Running multiple instances of JBoss Application Server 12 4 5 1 Running multiple instances of JBoss Application Server using different sets of ports 13 4 5 2 Running multiple instances of JBo...

Page 4: ...iv ...

Page 5: ... i386 and x86_64 Red Hat Application Stack V 2 4 will include either JBoss Enterprise Application Platform 4 2 or JBoss Enterprise Application Platform 4 3 for running web applications in a standard middleware 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 t...

Page 6: ...2 ...

Page 7: ... 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 ibm and java 1 5 0 sun SDKs are available from these channels Make sure you also install the devel subpackages 2 Selecting alternati...

Page 8: ...m RHN 1 Update your Red Hat Enterprise Linux 5 installation and install the JVM as described above 2 Subscribe to the Enterprise 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...

Page 9: ... you are using MySQL Backing up 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 To install from RHN Subscribe to the Red Hat Application Stack child channel e g rhel x86_64 5 appstk 2...

Page 10: ...tpd mysql php and all components related to mysql lapp Installs httpd postgresql php and all components related to postgresql docs Installs documentation for various components When using the groupinstall directive you can specify multiple groups at the same time even if they share packages Analogous to groupinstall you can use the groupremove directive to remove all the packages in a group The gr...

Page 11: ... backup Start the http daemon sbin service httpd start For MySQL Start MySQL sbin service mysqld start 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 12: ...8 ...

Page 13: ...he 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 CONFIG conf props jmx console users properties Accounts for the web console users can be set up by modifying JBOSS_HOME server CONFIG d...

Page 14: ...default server myownconfig You can then change the configuration and request it to be used by setting the JBOSSCONF variable in the file etc sysconfig jbossas Optionally you can just set the JBOSSCONF variable in etc sysconfig jbossas to a non existent subdirectory existing parent with write access by the jboss user or an empty directory with write access by jboss and the init script will create a...

Page 15: ...onal JBoss Application Server configurations besides the provided default production minimal and all you must create a new directory for your configuration as follows note the switches given to the cp 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 c flag to run sh as ...

Page 16: ...ning multiple instances of JBoss Application Server Note Please note that automated updating of instances created using methods below is not supported If you create custom instances you will manually have to port files changes from a new update to that instance The description here is restricted to running multiple instances of the JBoss Application Server Linux service Running multiple instances ...

Page 17: ...SS_HOME for you when the service is first started The current minimal production default and all configurations will be copied Make sure the parent directory in case of a new directory or the directory itself if already existent have 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 inst...

Page 18: ...Running multiple instances of JBoss 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 spe...

Page 19: ...re Information 15 4 6 More Information More general documentation for JBoss Application Server is available under usr share doc jbossas 4 2 0 or usr share doc jbossas 4 3 0 depending on your installation ...

Page 20: ...16 ...

Page 21: ... for use in any 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 I...

Page 22: ...18 ...

Reviews: