background image

Red Hat Application Stack V.1.3 Release Notes

Copyright

©

2006-2008 Red Hat, Inc.

Summary of Contents for APPLICATION STACK 1.3 RELEASE

Page 1: ...Red Hat Application Stack V 1 3 Release Notes 1 3 ISBN N A Publication date ...

Page 2: ...Red Hat Application Stack V 1 3 Release Notes ...

Page 3: ...Red Hat Application Stack V 1 3 Release Notes Copyright 2006 2008 Red Hat Inc ...

Page 4: ...Red Hat Application Stack V 1 3 Release Notes ...

Page 5: ...Using up2date DVD 4 3 Installing Red Hat Application Stack 7 4 Using JBoss AS 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 AS 15 5 1 Running multiple instances of JBoss AS using different sets of ports 16 5 2 Running multiple instances of JBoss AS ...

Page 6: ...vi ...

Page 7: ... JBoss AS 4 2 for running web applications in a standard middleware environment Note that JBoss AS uses an embedded Tomcat and does not require a stand alone Tomcat Before installing and running JBoss AS you will require a working installation of Java 1 5 Currently Red Hat Application Stack is certified with the Sun JVM 1 5 0 update 15 or later and the latest BEA JVM available through RHN Please r...

Page 8: ...2 ...

Page 9: ...nstalled via up2date see channel details below and jpackage utils will be automatically brought in as a dependency 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 4 Extras channel for your Linux variant and architecture The channel names are as follows rhel arch variant 4 extras where arch i386 or x8...

Page 10: ...Preferred Method 1 up2date your RHEL4 installation and install the JVM as described above 2 Subscribe to the Enterprise Application Platform child channel For example jbappplatform 4 i386 as 4 rpm or jbappplatform 4 x86_64 as 4 rpm 3 Install JBoss AS For the Application Server which includes an embedded Tomcat run up2date jbossas Refer also to Chapter 4 Using JBoss AS below 2 2 Using up2date DVD T...

Page 11: ...t in up2date producing warnings whenever you run up2date again without mounting the Red Hat Application Stack V 1 3 DVD Refer also to Chapter 4 Using JBoss AS below If you are upgrading from version 1 1 of Red Hat Application Stack please note that the jbossas ejb3 package has now been obsoleted and it s contents merged into the main jbossas package An up2date jbossas command will upgrade everythi...

Page 12: ...6 ...

Page 13: ...you need to use pg_dump instead of pg_dumpall See http www postgresql org docs 8 1 static largeobjects html and http www postgresql org docs 8 1 static app pg dumpall html For more information see http www postgresql org docs 8 1 static install upgrading html If you are using MySQL Backing up your database is optional but recommended Run as root mysqldump all databases p tmp mysqldumpfile sql 2 St...

Page 14: ...om RPMs on Disk Follow the instructions in Section 2 2 Using up2date DVD to mount the DVD and set up the local RHN channel steps 1 3 Then as root run up2date installall RedHat Application Stack V1 Note If you are upgrading from Stacks V 1 1 and have installed the jbossas ejb3 package before running the above command you need to first remove jbossas ejb3 manually by running as root rpm e jbossas ej...

Page 15: ...ory mv var lib pgsql data var lib pgsql data backup 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 For MySQL Start MySQL sbin service mysqld start Update MySQL mysql_upgrade Restore your data 9 ...

Page 16: ...mysql p tmp mysqldumpfile sql Start the http daemon sbin service httpd start The installation is now complete Chapter 3 Installing Red Hat Application Stack 10 ...

Page 17: ...erver 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 CONFIG conf props...

Page 18: ...er jboss has no read access in the deployment directory will cause the server to fail to deploy To create additional JBoss AS 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 default server myownconfig You c...

Page 19: ...t want 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 AS suite runs under a new jboss system u...

Page 20: ...ead cp pL R var lib 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 AS documentation Refer to Running multiple instances of JBoss AS for more information Note Please note that automated updating of copies created using methods above is not supported If you create custom copies you...

Page 21: ...ss AS 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 making sure port conflicts are avoided a different lo...

Page 22: ...longer due to the file copying There are 2 ways to run additional instances of JBoss AS and avoid port conflicts By using different sets of ports By binding to different local IP addresses 5 1 Running multiple instances of JBoss AS using different sets of ports Using different sets of ports The BindingManager in JBoss AS can be used to dynamically override service configurations e g port numbers J...

Page 23: ...it 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 updated e g cp etc sysconfig jbossas etc sysconfig jbossas instance2 Uncomment and update JBOSSCONF to instance2 Create a new variable JBOSS_IP and set it to another IP address in etc sysconfig jbossas instance2 3...

Page 24: ...18 ...

Page 25: ...nt d Will not use or transfer the software 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 report...

Page 26: ...20 ...

Reviews: