Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 3. Upgrading from JBoss Enterprise Application Platform 4.3 to version 5.1 via RPM
Warning
Procedure 3.1. Upgrading JBoss Enterprise Application Platform 4.3 to version 5.1 using RPM
- Back up your environment
- Upgrade the 4.3 install to the latest update level
Note
Upgrading from a 4.2 or 4.3 Tech Preview (TP) or Feature Pack (FP) is not supported. - Unsubscribe the system from the JBoss Enterprise Application Platform 4.3 channel in Red Hat Network
- Subscribe the system to the JBoss Enterprise Application Platform 5.1 channel in Red Hat Network
- Decide which of the optional components to install
- Issue the upgrade command
- Remove remaining 4.3 packages
- Select Java 6 via alternatives
- Update configuration files
Note
Procedure 3.2. Back up your environment
- Regular backups and the ability to restore a system to a state of known configuration are best practice at all times. You should back up your data and configuration and ensure that you are able to restore the system to a known state, before performing this procedure.
Procedure 3.3. Unsubscribe the system from the JBoss Enterprise Application Platform 4.3 channel in RHN
- Refer to the following Red Hat Knowledgebase article for instructions to modify a system's channel subscriptions: "How do I subscribe a system to a sub-channel or a child channel using Red Hat Network (RHN)?".
Procedure 3.4. Subscribe the system to the JBoss Enterprise Application Platform 5.1 channel in Red Hat Network (RHN)
- Refer to the following Red Hat Knowledgebase article for instructions to subscribe a system to a channel: "How do I subscribe a system to a sub-channel or a child channel using Red Hat Network (RHN)?".The channel names are as follows:
Red Hat Network channel names for JBoss Enterprise Application Platform 5
- Red Hat Enterprise Linux 5 32-bit
- jbappplatform-5-i386-server-5-rpm
- Red Hat Enterprise Linux 5 64-bit
- jbappplatform-5-x86_64-server-5-rpm
- Red Hat Enterprise Linux 4 32-bit ES
- jbappplatform-5-i386-es-4-rpm
- Red Hat Enterprise Linux 4 32-bit AS
- jbappplatform-5-i386-as-4-rpm
- Red Hat Enterprise Linux 4 64-bit ES
- jbappplatform-5-x86_64-es-4-rpm
- Red Hat Enterprise Linux 4 64-bit AS
- jbappplatform-5-x86_64-as-4-rpm
JBoss Enterprise Application Platform 4.3 included JBoss WS Native as a web services provider. JBoss Enterprise Application Platform 5.1 includes both JBoss WS Native and JBoss WS CXF as web services providers. When installing or upgrading to JBoss Enterprise Application Platform 5.1, you must select one of the two web services stacks provided. To switch web services stacks, you must reinstall the product.
Procedure 3.5. Issue the upgrade command on Red Hat Enterprise Linux 4
- Issue the following commands as root, substituting your choice for the optional WS_CHOICE:
up2date WS_CHOICE jbossas-messaging resteasy jboss-eap5-native jboss-seam2 up2date -u
up2date WS_CHOICE jbossas-messaging resteasy jboss-eap5-native jboss-seam2 up2date -uCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Procedure 3.6. Issue the upgrade command on Red Hat Enterprise Linux 5
- Issue the following commands as root, substituting your choice for the optional WS_CHOICE:
yum remove classpathx-jaf yum install WS_CHOICE jbossas-messaging resteasy jboss-eap5-native jboss-seam2 yum upgrade --disablerepo=rhel-i386-server-5
yum remove classpathx-jaf yum install WS_CHOICE jbossas-messaging resteasy jboss-eap5-native jboss-seam2 yum upgrade --disablerepo=rhel-i386-server-5Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Warning
Procedure 3.7. Remove remaining 4.3 packages on Red Hat Enterprise Linux 4
- Issue the following command as root:(Note that the command is split across two lines in this document for presentation purposes, but should be entered on a single line)
rpm -e berkeleydb jboss-profiler servletapi6 tomcat5-servlet-2.4-api asm odmg jboss-seam-docs geronimo-j2ee-1.4-apis qdox jacorb ws-commons-policy tanukiwrapper jboss-seam xml-commons-resolver
rpm -e berkeleydb jboss-profiler servletapi6 tomcat5-servlet-2.4-api asm odmg jboss-seam-docs geronimo-j2ee-1.4-apis qdox jacorb ws-commons-policy tanukiwrapper jboss-seam xml-commons-resolverCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Procedure 3.8. Remove remaining 4.3 packages on Red Hat Enterprise Linux 5
- Issue the following command as root:(Note that the command is split across two lines in this document for presentation purposes, but should be entered on a single line)
yum remove bea-stax-api berkeleydb jboss-seam-docs tanukiwrapper asm odmg jacorb bea-stax servletapi6 ws-commons-policy qdox jboss-profiler jboss-seam geronimo-j2ee-1.4-apis
yum remove bea-stax-api berkeleydb jboss-seam-docs tanukiwrapper asm odmg jacorb bea-stax servletapi6 ws-commons-policy qdox jboss-profiler jboss-seam geronimo-j2ee-1.4-apisCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Procedure 3.9. Select Java 6 via alternatives
- Refer to Appendix C, Installing a Java Development Kit on Red Hat Enterprise Linux for information on installing and configuring a JDK for Red Hat Enterprise Linux 4 and 5.
Procedure 3.10. Identify changed configuration files after the RPM upgrade
- Locate and examine all
.rpmnewfiles installed on your system by the upgrade process.find $JBOSS_HOME -name *.rpmnew -ls
find $JBOSS_HOME -name *.rpmnew -lsCopy to Clipboard Copied! Toggle word wrap Toggle overflow